<html><body><div style="color:#000; background-color:#fff; font-family:times new roman, new york, times, serif;font-size:12pt"><div><span>Thank you. I will take a look at it.</span></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> Thursday, July 11, 2013 6:03 AM<br> <b><span style="font-weight: bold;">Subject:</span></b> Re: [SR-Users] configuring an incoming PSTN line...<br> </font> </div> <div
class="y_msg_container"><br><div id="yiv6555786524">
<div>
Hello,<br>
<br>
<div class="yiv6555786524moz-cite-prefix">On 7/6/13 5:12 PM, 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, </div>
<div><br>
</div>
<div style="color: rgb(0, 0, 0); font-size: 16px; font-family: 'times new roman', 'new york', times, serif; background-color: transparent; font-style: normal;">can someone please give me
some pointers as to how to configure the proxy server to
receive incoming calls from a PSTN line. I had not problem
setting up extensions and making outgoing PSTN calls. I am not
able to find any documents ( or I am not looking in the right
place ) as to how to configure the system to receive incoming
PSTN calls. The DID number I have from my provider gives me
the 10 digit DID number and the IP address of their server.
Thank you for the help.</div>
</div>
</blockquote>
I guess you need to allow traffic from the provider without
username/password authentication. For that you can use permissions
module. In default config file, see WITH_IPAUTH conditions and add
the ip in the 'address' table with grp=1. Or you can just add in the
route[AUTH] a condition like if(src_ip==...) return;<br>
<br>
Then you need to map the did to a user, alias_db module can be used
for that. It is also in the default config file, see the top
comments about how to enable it, then add the record in dbaliases
table.<br>
<br>
Cheers,<br>
Daniel<br>
<pre class="yiv6555786524moz-signature">--
Daniel-Constantin Mierla - <a rel="nofollow" class="yiv6555786524moz-txt-link-freetext" target="_blank" href="http://www.asipto.com/">http://www.asipto.com</a>
<a rel="nofollow" class="yiv6555786524moz-txt-link-freetext" target="_blank" href="http://twitter.com/#!/miconda">http://twitter.com/#!/miconda</a> - <a rel="nofollow" class="yiv6555786524moz-txt-link-freetext" target="_blank" href="http://www.linkedin.com/in/miconda">http://www.linkedin.com/in/miconda</a>
</pre>
</div>
</div><br><br></div> </div> </div> </div></body></html>