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(a)signet.nl>gt;:
On 22-01-16 11:31, Daniel-Constantin Mierla wrote:
try with is_myself("sip:$fU@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(a)lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
--
Savolainen Dmitri