2009/6/9 Jeff Pyle <[email protected]>:
> Any thoughts on how one might load the c= IP into an AVP, or something
> similar?  I'd love to do exactly what you say, use the c= line to determine
> whether a mediaproxy should be used or not, but I don't see a way to load it
> into a variable from the SDP.

For this you can use nat_uac_test(8) (nathelper module) so SDP is
searched for occurrence of RFC1918 addresses, and in that case returns
"true".
No need to get the SDP media IP (also note that a SDP can contain
various media addresses).




-- 
Iñaki Baz Castillo
<[email protected]>

_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Reply via email to