[Serdev] Script processing of multiple branches on forking

Jiri Kuthan jiri at iptel.org
Wed Aug 18 17:37:18 UTC 2004


At 12:06 PM 8/18/2004, Richard wrote:
>Hi,
>
>It was a documented limitation of ser script that only
>the first branch is processed in the script. It
>probably still is.
>
>If that can't be changed, (probably for a good
>reason), is it possible to somehow find out if there
>is more than 1 branch in the call? 

Not really.

>The scenario is
>like this, two branches are forked in a call, one is
>to an IP phone behind NAT and one is not. If the
>script decides that the call is behind NAT, then
>rtpproxy/mediaproxy is called, otherwise not. So
>depending on which branch is processed, we may or may
>not get two way voice. In this case, to be safe I'd
>like to use rtp/mediaproxy anyway when more than 1
>branch in the call.

I _guess_ that's the case -- if any of the branches is
natted, rtp proxy will be used. The problem is then
opposite -- you may end up using the rtp proxy when
unnecessary.


>Is there a variable or function available to get this
>information?

It is not. 

-jiri 




More information about the Serdev mailing list