<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">Hi,<br>
there is no inbound restriction for sip peering (should be the
peer to choose if send or not calls to you).<br>
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".<br>
Then you should patch your kamailio in order to reject the call
properly, ex:<br>
<br>
if($rU == "INVALID")<br>
{<br>
xlog("L_INFO", "Rejecting INVALID callee - R=$ru ID=$ci\n");<br>
route(ROUTE_ACC_FAILURE);<br>
t_reply("484","callee user incomplete/invalid");<br>
exit;<br>
}<br>
<br>
<br>
You can reply with a different code if you want.<br>
<br>
Daniel<br>
<br>
<br>
<br>
<br>
On 05/11/2014 06:52 PM, Iman elbruki wrote:<br>
</div>
<blockquote
cite="mid:1399827126.40537.YahooMailNeo@web160302.mail.bf1.yahoo.com"
type="cite">
<div style="color:#000; background-color:#fff;
font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial,
Lucida Grande, sans-serif;font-size:12pt">
<div>Dear Message Board,</div>
<div style="color: rgb(0, 0, 0); font-size: 16px; font-family:
HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida
Grande', sans-serif; background-color: transparent;
font-style: normal;">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?</div>
<div><br>
</div>
<div style="color: rgb(0, 0, 0); font-size: 16px; font-family:
HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida
Grande', sans-serif; background-color: transparent;
font-style: normal;">If so - please let me know how to go
about doing so (I have been struggling for a white on this)</div>
<div style="color: rgb(0, 0, 0); font-size: 16px; font-family:
HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida
Grande', sans-serif; background-color: transparent;
font-style: normal;"><br>
</div>
<div style="color: rgb(0, 0, 0); font-size: 16px; font-family:
HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida
Grande', sans-serif; background-color: transparent;
font-style: normal;">if not - what are some of my options?</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Spce-user mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Spce-user@lists.sipwise.com">Spce-user@lists.sipwise.com</a>
<a class="moz-txt-link-freetext" href="http://lists.sipwise.com/listinfo/spce-user">http://lists.sipwise.com/listinfo/spce-user</a>
</pre>
</blockquote>
<br>
</body>
</html>