Hi,

Try this on your extensions.conf


[from-mysipprovider]

exten => 1140636249,1,Dial(SIP/29650)
exten => 1140636249,2,Hangup





At 07:34 AM 3/30/2006, you wrote:

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:[EMAIL PROTECTED]

[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


_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --

Asterisk-Users mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to