<html><body><div style="color:#000; background-color:#fff; font-family:times new roman, new york, times, serif;font-size:12pt"><div>Thank you Daniel.</div><div><br></div> <div style="font-family: 'times new roman', 'new york', times, serif; font-size: 12pt;"> <div style="font-family: 'times new roman', 'new york', times, serif; font-size: 12pt;"> <div dir="ltr"> <hr size="1"> <font size="2" face="Arial"> <b><span style="font-weight:bold;">From:</span></b> Daniel-Constantin Mierla <miconda@gmail.com><br> <b><span style="font-weight: bold;">To:</span></b> arun Jayaprakash <jayaprakasharun@yahoo.com>; Kamailio (SER) - Users Mailing List <sr-users@lists.sip-router.org> <br> <b><span style="font-weight: bold;">Sent:</span></b> Wednesday, September 4, 2013 5:06 AM<br> <b><span style="font-weight: bold;">Subject:</span></b> Re: [SR-Users] Call Baring<br> </font> </div> <div class="y_msg_container"><br><div id="yiv7869433142">
<div>
Hello,<br>
<br>
<div class="yiv7869433142moz-cite-prefix">On 8/27/13 12:04 AM, arun Jayaprakash
wrote:<br>
</div>
<blockquote type="cite">
<div style="color: rgb(0, 0, 0); background-color: rgb(255, 255, 255); font-family: 'times new roman', 'new york', times, serif; font-size: 12pt;">
<div>Hello, with outgoing white list/black list I am able to put
a prefix in the user preference table to block certain out
going calls. In the same way is it possible to block incoming
calls depending on certain prefixes ( like 1-800)? <br>
</div>
</div>
</blockquote>
yes, just check to match against from-uri attributes (e.g., $fU or
$fu) instead of request uri. Also, the records have to be loaded for
r-uri user this time.<br>
<br>
Cheers,<br>
Daniel<br>
<pre class="yiv7869433142moz-signature">--
Daniel-Constantin Mierla - <a rel="nofollow" class="yiv7869433142moz-txt-link-freetext" target="_blank" href="http://www.asipto.com/">http://www.asipto.com</a>
<a rel="nofollow" class="yiv7869433142moz-txt-link-freetext" target="_blank" href="http://twitter.com/#!/miconda">http://twitter.com/#!/miconda</a> - <a rel="nofollow" class="yiv7869433142moz-txt-link-freetext" target="_blank" href="http://www.linkedin.com/in/miconda">http://www.linkedin.com/in/miconda</a>
Kamailio Advanced Trainings - Berlin, Oct 21-24; Miami, Nov 11-13, 2013
- more details about Kamailio trainings at <a rel="nofollow" class="yiv7869433142moz-txt-link-freetext" target="_blank" href="http://www.asipto.com/">http://www.asipto.com</a> -
</pre>
</div>
</div><br><br></div> </div> </div> </div></body></html>