Tuesday, May 4, 2010

Asterisk Configuration for SPA3102- Incoming Calls

Two files needed to be modified for the PSTN-to-Asterisk connection.

I added the user "pstn" to /etc/asterisk/sip.conf
[pstn]
type=friend
host=dynamic
secret=*******
dtmfmode=rfc2833
context=pstn
insecure=very
nat=yes
qualify=yes
To forward an incoming call to my Asterisk extension, I created a new "pstn" context in /etc/asterisk/extensions.conf
[pstn]
exten => 1000,1,Dial(SIP/1000)

No comments:

Post a Comment