[OpenSIPS-Devel] [OpenSIPS-News] NEW additions to configuration file routes

Bogdan-Andrei Iancu bogdan at voice-system.ro
Sat Sep 12 22:52:38 CEST 2009


Hi Thomas,

such naming in variables will complicate too much the code (complexity 
and performance) - and personally do not think it is good approach to 
compromise the performance of all cases just to make a corner case 
simpler :)

Regards,
Bogdan

Thomas Gelf wrote:
> "Better"-looking constructs like
>     $dlg("br_" + $T_branch_idx + "_mp")
>
> are not (yet?) possible, but at least as shown above it (should) work.
> Why I'm doing so? This simulates "per-branch-dialog-vars". You are now
> able to fork an INVITE transaction to multiple endpoints with different
> requirements to your routing script (e.g. whether to use mediaproxy or
> not).
>
>
>   




More information about the Devel mailing list