[Spce-user] inbound restrictions
dgrotti at sipwise.com
Mon May 12 04:33:10 EDT 2014
there is no inbound restriction for sip peering (should be the peer to
choose if send or not calls to you).
Anyway, what you should do it to use Inbound Rewrite Rules of your peer
to rewrite your unwanted number into a fake RURI, like "INVALID".
Then you should patch your kamailio in order to reject the call
if($rU == "INVALID")
xlog("L_INFO", "Rejecting INVALID callee - R=$ru ID=$ci\n");
t_reply("484","callee user incomplete/invalid");
You can reply with a different code if you want.
On 05/11/2014 06:52 PM, Iman elbruki wrote:
> Dear Message Board,
> I have added a "Peering Server" but only want to accept CERTAIN
> INBOUND traffic coming from that server's IP address. Can I specify to
> accept inbound traffic from that server's IP address based on the
> DOMAIN that subscriber DID belongs to?
> If so - please let me know how to go about doing so (I have been
> struggling for a white on this)
> if not - what are some of my options?
> Spce-user mailing list
> Spce-user at lists.sipwise.com
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Spce-user