<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Hello,<br>
    <br>
    <div class="moz-cite-prefix">On 7/6/13 5:12 PM, arun Jayaprakash
      wrote:<br>
    </div>
    <blockquote
      cite="mid:1373123537.25411.YahooMailNeo@web125305.mail.ne1.yahoo.com"
      type="cite">
      <div style="color:#000; background-color:#fff; 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="moz-signature" cols="72">-- 
Daniel-Constantin Mierla - <a class="moz-txt-link-freetext" href="http://www.asipto.com">http://www.asipto.com</a>
<a class="moz-txt-link-freetext" href="http://twitter.com/#!/miconda">http://twitter.com/#!/miconda</a> - <a class="moz-txt-link-freetext" href="http://www.linkedin.com/in/miconda">http://www.linkedin.com/in/miconda</a>
</pre>
  </body>
</html>