Hi Richard,
Richard Z wrote:
Hi Bogdan,
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.
That's right. If all addresses are in a list of avps, i can use avp_check to check 'ne' to verify.
one more thing - you should check dst_uri and not RURI - RURI may be the private addr when the dst_uri is the public IP.
avp_printf() is able to print all branch URIs in a single AVP, but not sure if this will help you.
Not really. If it is not too hard to extend avp_write(), can you please add it?
It's doable, but I cannot make any time promises since I already have a quite long list with pending stuff to do - but with first occasion, I will go for it....
regards, bogdan