Iñaki,

I mixed two different purposes here.  The first is NAT detection, obviously.
But I also wish to mediaproxy non-NAT hosts if their connection IP is on my
ISP network.  In this case none of the addresses are RFC1918.


- Jeff



On 6/9/09 8:48 AM, "Iñaki Baz Castillo" <[email protected]> wrote:

> 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]>

_______________________________________________
User
> s mailing 
> list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listin
> fo/users



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

Reply via email to