Hi Richard,
for NAT traversal, will be more logic to have the media going directly
only if *all* branches have same IP with the src IP - you do not know
which branch will succeed and you can enable/disable RTP relay for all
or for none.
avp_printf() is able to print all branch URIs in a single AVP, but not
sure if this will help you.
regards,
bogdan
Richard Z wrote:
The application of this is for checking if any of the
branches ip
address same as the source ip,
http://www.voice-system.ro/docs/avpops/ar01s08.html#ex_org_dst
If all of them are the same as src_ip, I can have the media going
directly between UAs.
Bogdan, is avp_print capable of implementing this?
Thanks,
Richard
On 8/18/05, Daniel-Constantin Mierla <daniel(a)voice-system.ro> wrote:
If it helps, the first branch and the comma
separated list of all
branches can be written in an AVP using the pseudo-variables $br and $bR
with avp_printf() -
http://www.voice-system.ro/docs/avpops/ar01s06.html#avp_printf .
Daniel
On 08/19/05 11:13, Bogdan-Andrei Iancu wrote:
Hi Richard,
only the RURI will be written into AVP - the branches will be ignored.
Do you see a case for this? because it can be implemented quite easy.....
regards,
bogdan
Richard Z wrote:
Hi,
If there are multiple branches, will
avp_write("$ruri/username","i:123") generate multiple avps with each
for one branch? Or it only grabs the first one?
Thanks,
Richard
_______________________________________________
Users mailing list
Users(a)openser.org
http://openser.org/cgi-bin/mailman/listinfo/users
_______________________________________________
Users mailing list
Users(a)openser.org
http://openser.org/cgi-bin/mailman/listinfo/users