[OpenSER-Users] can a branch route block be called from another branch route block?

Bogdan-Andrei Iancu bogdan at voice-system.ro
Thu Aug 30 17:06:48 CEST 2007


Hi Juha,

 From script you cannot directly call a branch route - this type of 
routes are only invoked internally, by the TM module.

Probably you are trying to re-use some script by having a simple route 
called from multiple branch routes - yes, that's possible.

Regards,
Bogdan

Juha Heinanen wrote:
> lets say that two branch route blocks have a common piece of code.  can
> duplicating of this code be avoided by including the common code in a
> third branch route block, which is then called from the other two branch
> route blocks or is there some other means to avoid the duplication?
>
> i tried to find this out from the core cookbook, but the issue was not
> discussed.
>
> -- juha
>
> _______________________________________________
> Users mailing list
> Users at openser.org
> http://openser.org/cgi-bin/mailman/listinfo/users
>
>   





More information about the Users mailing list