[Asterisk-Users] Incoming Asterisk SIP DID Calls
ITN Info - 11-3898-0112
itn at itn.com.br
Wed Mar 29 16:34:03 MST 2006
Hello All,
I am using incoming DIDs for the first time. I ll very happy if someone
can help me on that serttings ... I need to know how to answer calls
from IP 200.123.123.1 with credentials abc123456:123456 and I d like to
address to extention 29650 incoming calls from that number which is
1140636249.
Also for out going calls I d like to use my own context as I use now. So
I need to know how to add this incoming calls to extention 29650 keeping
the existing out going dial plan
Sip.conf
register => abc123456:123456 at 200.123.123.1
[in-did]
type=friend
username=abc123456
fromuser=abc123456
secret=123456
host=200.123.123.1
fromdomain=200.123.123.1
context=from-mysipprovider
port =5060
dtmfmode=rfc2833
disallow=all
allow=g729
allow=g723
allow=ulaw
Extensions.conf
[from-mysipprovider]
exten => 29650,1,Answer ; 29650 is the contact extension set on pap2
exten => 29650,2,Hangup
Newton
More information about the asterisk-users
mailing list