Hi-

I am attempting to setup Asterisk for the first time, and I think I am about 99% there. I am using vonage softphone, and want to use asterisk to redirect incoming calls to my cell phone primarily, and maybe other remote lines.

Right now, I am able to register with vonage, and trap incoming calls. The only issue I have is that I don't think my syntax in extensions.conf is correct to dial out to my cell:

XXXXXXXXXX --> my vonage softphone number
YYYYYYYYYY-> my cell phone number


sip.conf:
[sphone.vopr.vonage.net]
username=1XXXXXXXXXX
port=5060
nat=yes
type=friend
secret=XXXXX
host=sphone.vopr.vonage.net
fromuser=1XXXXXXXXXX
fromdomain=sphone.vopr.vonage.net
dtmfmode=rfc2833
auth=md5
canreinvite=no
context=out
;
[vonage-in]
username=1XXXXXXXXXX
type=friend
port=5060
nat=yes
secret=21V9bkQ5MR
host=sphone.vopr.vonage.net
insecure=very
fromuser=1XXXXXXXXXX
fromdomain=sphone.vopr.vonage.net
context=in
canreinvite=no
auth=md5

extensions.conf
[in]
;exten => s,1,Dial(SIP/1YYYYYYYYYY,25,rt)
;exten => s,2,Ringing()
;exten => s,3,Wait(60)
exten => _1XXXXXXXXXX,1,dial(sip/1YYYYYYYYYY,20,r)

[out]
exten => _1NXXNXXXXXX,1,Dial(SIP/[EMAIL PROTECTED],25,rt)

Right now, when I get an incoming, this is the message I get:

From: "ZZZ-ZZZ-ZZZZ" <sip:[EMAIL PROTECTED]:5061;user=phone>;tag=1939305037
To: <sip:[EMAIL PROTECTED]:5061;user=phone>
Call-ID: [EMAIL PROTECTED]
CSeq: 2 INVITE
User-Agent: Asterisk PBX
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER
Contact: <sip:[EMAIL PROTECTED]>
Content-Length: 0

to 216.115.25.198:5060
-- Executing Dial("SIP/1XXXXXXXXXX-6e16", "sip/1YYYYYYYYYY|20|r") in new stack Oct 23 00:58:20 WARNING[6933]: chan_sip.c:1401 create_addr: No such host: 1YYYYYYYYYY
Destroying call '[EMAIL PROTECTED]'
Oct 23 00:58:20 NOTICE[6933]: app_dial.c:764 dial_exec: Unable to create channel of type 'sip'
 == Everyone is busy/congested at this time
Oct 23 00:58:30 WARNING[6933]: pbx.c:1948 ast_pbx_run: Timeout, but no rule 't' in context 'in'

Thanks-
Jay


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

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

Reply via email to