Hi.

In my script OpenSIPS.cfg sometimes I do need to call "set_advertised_address" 
and sometimes I don't.


Basically, I want to call this function only for messages between caller and 
callee that is registered from different networks. Ex: caller is in the same 
network (LAN) as the sip proxy and the callee is somewhere on Internet.


So, how to know that, during a dialog, caller and callee are in 2 different 
networks?


When they are in different networks, I want to call set_advertised_address for 
SIP OK and SIP BYE messages.


Any hint will be very helpful!


Thanks a lot.



RODRIGO PIMENTA CARVALHO
Inatel Competence Center
Software
Ph: +55 35 3471 9200 RAMAL 979
_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Reply via email to