[OpenSIPS-Users] How to test if a message is from myself

Bogdan-Andrei Iancu bogdan at opensips.org
Wed Feb 2 13:37:54 CET 2011


Hi Dave,

do :  if (src_ip==myself) {}

Regards,
Bogdan

Dave Singer wrote:
> Is there any way to check if the source IP/port is one that opensips
> is listening on or one ? something like if ("sip:$si:$sp" == myself) {
> ...bla; bla;}
>
> Thanks
> Dave
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
>   


-- 
Bogdan-Andrei Iancu
OpenSIPS Event - expo, conf, social, bootcamp
2 - 4 February 2011, ITExpo, Miami,  USA
OpenSIPS solutions and "know-how"




More information about the Users mailing list