[Users] Use of append_branch
Bogdan-Andrei Iancu
bogdan at voice-system.ro
Wed Dec 14 16:40:06 CET 2005
Hi Doug,
if you call append_branch() with no param, the RURI will be pushed as
new branch. So, you can try to modify the RURI as you like and then push
it as branch.
If you need to backup the RURI during the operation, use an AVP to
backup into it.
regards,
bogdan
Douglas Garstang wrote:
>How can I call append branch and use a variable name in the user port (ie the user for which this message is addressed) of the URI?
>
>_ALL_ the examples have something like:
>
>append_branch("sip:nonsense at 192.168.2.16:5064");
>
>which is completely useless. I need to call append_branch and have the user portion of the uri inserted.
>Something like:
>
>append_branch("sip:$to_user at 192.168.2.16:5064");
>
>How can I do this?
>
>Doug.
>
>_______________________________________________
>Users mailing list
>Users at openser.org
>http://openser.org/cgi-bin/mailman/listinfo/users
>
>
>
More information about the sr-users
mailing list