Re: [SR-Users] prevent relaying to myself

2014-03-01 Thread Klaus Darilion
Am 26.02.2014 22:48, schrieb Henry Fernandes: Is there a way to prevent relaying requests to myself in route[RELAY]? To relyable prevent this (eg. the destination IP address (your server IP address) may be hidden behind others domain) you have to check the destination in the branch route. r

Re: [SR-Users] prevent relaying to myself

2014-02-28 Thread Daniel-Constantin Mierla
On 28/02/14 08:49, Daniel-Constantin Mierla wrote: Hello, you have to check if $du or $ru is matching myself, something like: if(($du==$null) { A typo above, it should be != . Daniel if(is_myself("$du")) { # goes to myself } } else { if(is_myself("$ru")) { # goes to myself

Re: [SR-Users] prevent relaying to myself

2014-02-27 Thread Daniel-Constantin Mierla
Hello, you have to check if $du or $ru is matching myself, something like: if(($du==$null) { if(is_myself("$du")) { # goes to myself } } else { if(is_myself("$ru")) { # goes to myself } } I think there is a variable giving next hop address, simplifying the block above in one

[SR-Users] prevent relaying to myself

2014-02-26 Thread Henry Fernandes
Is there a way to prevent relaying requests to myself in route[RELAY]? -H ___ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users