[SR-Users] using myself in equation with from_uri
Dmitri Savolainen
savolainen at erinaco.ru
Sat Jan 23 15:39:39 CET 2016
it is possible to use is_myself("$fd"), but there are some issues:
if you listen on IP like "listen=xxx.xxx.xxx.xxx", $fd have to be reverse
DNS lookup for this IP ; alias
<http://www.kamailio.org/wiki/cookbooks/devel/core#alias> and auto_aliases
<http://www.kamailio.org/wiki/cookbooks/devel/core#auto_aliases> parameters
may be very useful for tuning is_myself domain name behaviour
2016-01-22 19:10 GMT+03:00 Dirk Teurlings - SIGNET B.V. <
dteurlings at signet.nl>:
> On 22-01-16 11:31, Daniel-Constantin Mierla wrote:
> > try with is_myself("sip:$fU at fd").
> Hi Daniel,
>
> Thanks for the quick response. Comparing the from_uri to myself should
> only compare IP or domain name correct? So wouldn't this be enough as a
> domain check?
>
> is_myself("$fd")
>
> Cheers,
> Dirk
>
> _______________________________________________
> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
> sr-users at lists.sip-router.org
> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
>
--
Savolainen Dmitri
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20160123/5775f637/attachment.html>
More information about the sr-users
mailing list