[SR-Users] configuring an incoming PSTN line...

Daniel-Constantin Mierla miconda at gmail.com
Thu Jul 11 13:03:57 CEST 2013


Hello,

On 7/6/13 5:12 PM, arun Jayaprakash wrote:
> Hello,
>
> 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.
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;

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.

Cheers,
Daniel

-- 
Daniel-Constantin Mierla - http://www.asipto.com
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20130711/d19f726e/attachment.html>


More information about the sr-users mailing list