Asterisk Mailing List
2007-Jan-28 19:06 UTC
[asterisk-users] Trouble outgoing VOIP Provider Calls
I have a weird problem.... Asterisk 1.4 E100P connected to a Panasonic TDA phone system Here is what I get SIP Ext -> Panasonic Extensions No Problems Panasonic Ext -> SIP Extensions No Problems SIP Ext -> VOIP Provider No Problems Panasonic Ext -> VOIP Provider Errors ---------- Working SIP -> VOIP -- Executing [903........@from-sip:1] Dial("SIP/610-097aee60", "SIP/acevoip/03........") in new stack -- Called acevoip/03........ -- SIP/acevoip-097b52c0 is making progress passing it to SIP/610-097aee60 -- SIP/acevoip-097b52c0 is making progress passing it to SIP/610-097aee60 == Spawn extension (from-sip, 903........, 1) exited non-zero on 'SIP/610-097aee60' ---------- Not Working Pana -> VOIP -- Executing [903........@from-e100p:1] Dial("Zap/31-1", "SIP/acevoip/03........") in new stack -- Called acevoip/03........ [Jan 29 11:00:36] WARNING[20642]: chan_sip.c:11731 handle_response_invite: Received response: "Forbidden" from '"Unknown" <sip:073........@voice.mibroadband.com.au>;tag=as3a292a14' -- SIP/acevoip-097b1358 is circuit-busy ---------- Both numbers dialled were exactly the same (9 is the leading number on all calls in the system and is stripped before dialing), I just replaced the numbers with ......... Tested from several different sip phones and Pana handsets, and it is only with outgoing calls to VOIP, incoming that go to a Pana extensions work fine. --- Extensions.conf [dialstring] exten => t,1,Dial(Zap/g1/100,60,tn) exten => i,1,Dial(Zap/g1/100,60,tn) [from-e100p] include => dial-sip include => out-voip [dial-e100p] exten => _1XX,1,System(mkdir /mnt/data/Recording/${CALLERID(num)}) exten => _1XX,2,Set(CALLFILENAME=/mnt/data/Recording/${CALLERID(num)}/${CALLERID( num)}-Called-${STRFTIME(${EPOCH},,%d%m%Y-%H%M%S)}-${EXTEN}) exten => _1XX,3,MixMonitor(${CALLFILENAME}.wav49|v(0)V(0)) exten => _1XX,4,Dial(Zap/g1/${EXTEN},90,r) exten => _91XX,1,System(mkdir /mnt/data/Recording/${CALLERID(num)}) exten => _91XX,2,Set(CALLFILENAME=/mnt/data/Recording/${CALLERID(num)}/${CALLERID (num)}-Called-${STRFTIME(${EPOCH},,%d%m%Y-%H%M%S)}-${EXTEN:1}) exten => _91XX,3,MixMonitor(${CALLFILENAME}.wav49|v(0)V(0)) exten => _91XX,4,Dial(Zap/g1/${EXTEN:1},90,r) exten => _9X.,1,System(mkdir /mnt/data/Recording/${CALLERID(num)}) exten => _9X.,2,Set(CALLFILENAME=/mnt/data/Recording/${CALLERID(num)}/${CALLERID( num)}-Called-${STRFTIME(${EPOCH},,%d%m%Y-%H%M%S)}-${EXTEN:1}) exten => _9X.,3,MixMonitor(${CALLFILENAME}.wav49|v(0)V(0)) exten => _9X.,4,Dial(Zap/g1/${EXTEN},90,r) exten => _9X.,5,Busy exten => 000,1,System(mkdir /mnt/data/Recording/${CALLERID(num)}) exten => 000,2,Set(CALLFILENAME=/mnt/data/Recording/${CALLERID(num)}/${CALLERID(n um)}-Called-${STRFTIME(${EPOCH},,%d%m%Y-%H%M%S)}-${EXTEN}) exten => 000,3,MixMonitor(${CALLFILENAME}.wav49|v(0)V(0)) exten => 000,4,Dial(Zap/g1/000,60,r) exten => 9000,1,System(mkdir /mnt/data/Recording/${CALLERID(num)}) exten => 9000,2,Set(CALLFILENAME=/mnt/data/Recording/${CALLERID(num)}/${CALLERID( num)}-Called-${STRFTIME(${EPOCH},,%d%m%Y-%H%M%S)}-${EXTEN:1}) exten => 9000,3,MixMonitor(${CALLFILENAME}.wav49|v(0)V(0)) exten => 9000,4,Dial(Zap/g1/000,60,r) [out-voip] exten => _902X.,1,Dial(SIP/acevoip/${EXTEN:1}) exten => _903X.,1,Dial(SIP/acevoip/${EXTEN:1}) exten => _905X.,1,Dial(SIP/acevoip/${EXTEN:1}) exten => _906X.,1,Dial(SIP/acevoip/${EXTEN:1}) exten => _908X.,1,Dial(SIP/acevoip/${EXTEN:1}) exten => _954X.,1,Dial(SIP/acevoip/${EXTEN:1}) exten => _955X.,1,Dial(SIP/acevoip/${EXTEN:1}) [from-acevoip] include => dialstring exten => 073.......,1,Answer exten => 073.......,2,Dial(Zap/g1/100,60,tn) exten => _073.....XX,1,Answer exten => _073.....XX,2,System(mkdir /mnt/data/Recording/${SIP_HEADER(TO):12:3}) exten => _073.....XX,3,Set(CALLFILENAME=/mnt/data/Recording/${SIP_HEADER(TO):12:3 }/${SIP_HEADER(TO):12:3}-Received-${STRFTIME(${EPOCH},,%d%m%Y-%H%M%S)}-$ {CALLERID(num)}) exten => _073.....XX,4,MixMonitor(${CALLFILENAME}.wav49|v(0)V(0)) exten => _073.....XX,5,Dial(SIP/${SIP_HEADER(TO):12:3},60,tn) exten => _073.....XX,6,Voicemail(${SIP_HEADER(TO):12:3}u) exten => _073.....XX,7,Hangup exten => _073.....XX,106,Voicemail(${SIP_HEADER(TO):12:3}u) exten => _073.....XX,107,Hangup include => dial-sip include => dial-e100p [from-sip] include => dialstring include => dial-sip include => out-voip include => dial-e100p [dial-sip] exten => 600,1,Dial(Zap/g1/100,60,tr) exten => 9600,1,Dial(Zap/g1/100,60,tr) exten => _6XX,1,SetMusicOnHold(random) exten => _6XX,2,System(mkdir /mnt/data/Recording/${EXTEN}) exten => _6XX,3,Set(CALLFILENAME=/mnt/data/Recording/${EXTEN}/${EXTEN}-Received-$ {STRFTIME(${EPOCH},,%d%m%Y-%H%M%S)}-${CALLERID(num)}.wav49) exten => _6XX,4,MixMonitor(${CALLFILENAME}|v(0)V(0)) exten => _6XX,5,Dial(SIP/${EXTEN},45,Ttr) exten => _6XX,6,Voicemail(u${EXTEN}) exten => _6XX,7,Hangup exten => _6XX,106,Voicemail(b${EXTEN}) exten => _6XX,107,Hangup exten => _96XX,1,SetMusicOnHold(random) exten => _96XX,2,System(mkdir /mnt/data/Recording/${EXTEN:1}) exten => _96XX,3,Set(CALLFILENAME=/mnt/data/Recording/${EXTEN:1}/${EXTEN:1}-Recei ved-${STRFTIME(${EPOCH},,%d%m%Y-%H%M%S)}-${CALLERID(num)}.wav49) exten => _96XX,4,MixMonitor(${CALLFILENAME}|v(0)V(0)) exten => _96XX,5,Dial(SIP/${EXTEN:1},45,Ttr) exten => _96XX,6,Voicemail(u${EXTEN:1}) exten => _96XX,7,Hangup exten => _96XX,106,Voicemail(b${EXTEN:1}) exten => _96XX,107,Hangup --- Sip.conf [general] port = 5060 bindaddr = 0.0.0.0 videosupport=yes context = from-sip disallow = all allow = ilbc allow = ulaw allow = alaw nat=yes srvlookup=no externip=YYY.YY.YY.YY localnet=192.168.1.0/255.255.0.0 subscribecontext = sip maxexpirey=3600 defaultexpirey=600 ; Main VOIP Account Register and Secondary 100 Number block Registration register => 073.......:<password>@byo.engin.com.au/073....... register => 073.......:<password>@byo.engin.com.au/073....... [acevoip] context=from-acevoip type=friend auth=md5 canreinvite=no dtmfmode=rfc2833 fromdomain=voice.mibroadband.com.au fromuser=073....... host=byo.engin.com.au insecure=invite musiconhold=framed nat=yes port=5060 qualify=no realm=mobileinnovations.com.au canreinvite=yes secret=<password> username=073....... annexb=no disallow=all allow=g729 [610] type=friend secret=<password> host=dynamic callerid="James - Office" <610> defaultip=192.168.1.230 disallow=all allow=g729 mailbox=610@device port=5060 dtmfmode=auto canreinvite=no call-limit=1 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20070128/e41758b8/attachment.htm
Reasonably Related Threads
- Help - Received response: "Forbidden" from'"Unknown"
- Help - Received response: "Forbidden" from '"Unknown"
- Asterisk slow transferring calls
- DO NOT REPLY [Bug 5554] New: File has vanished for files with foreign/unicode characters
- macro error "exited non-zero"