[Asterisk-Users] Zap Dial Problem ---- Erroneous dash
Brian Hill
bhill at virtualrad.net
Thu Jun 17 17:45:59 MST 2004
Hello. I'm trying to upgrade my asterisk installation to most current CVS
version. Currently I am running CVS-03/24/04-07:26:16 and dialing out
works fine.
When I install the latest CVS, outbound dialing fails, but inbound and
internal calls work just fine.
== Spawn extension (it, 9651246****, 2) exited non-zero on 'SIP/8202-d359'
-- Executing Hangup("SIP/8202-d359", "") in new stack
== Spawn extension (it, h, 1) exited non-zero on 'SIP/8202-d359'
-- Executing SetCIDNum("SIP/6001-b0be", "9523*2****|a") in new stack
-- Executing Dial("SIP/6001-b0be", "Zap/g1/1800767****") in new stack
-- Called g1/1800767****
-- Zap/-2-1 answered SIP/6001-b0be
This problem seems to be " Zap/-2-1 ", but why is this happening?
Normally this would be referenced as " Zap/2-1 ". Well, it is under
CVS-03/24/04-07:26:16 anyways.
HELP!
Here is my zapata.conf for our PRI
[channels]
language=en
context=did
usecallerid=yes
hidecallerid=no
callwaiting=yes
;restrictcid=no
usecallingpres=yes
callwaitingcallerid=yes
threewaycalling=yes
transfer=yes
cancallforward=yes
callreturn=yes
echocancel=128
echocancelwhenbridged=yes
echotraining=yes
rxgain=10.5
txgain=-4.5
callgroup=1
pickupgroup=1
immediate=no
;busydetect=yes
;busycount=8
callprogress=yes
musiconhold=default
;jitterbuffers=4
overlapdial=yes
;
switchtype=national
signalling=pri_cpe
group=1
channel => 1-23
Here is the part of my dialplan responsible for the outbound calls
[localcalls]
; For local calls
ignorepat => 9
exten => _9XXXXXXX.,1,SetCIDNum(9523*2****|a)
exten => _9XXXXXXX.,2,Dial(Zap/g1/${EXTEN:1})
exten => _9XXXXXXX.,3,Congestion
exten => _9XXXXXXX.,103,Congestion
exten => _9XXXXXXX.,104,Hangup
exten => _9XXXXXXXXXX.,1,SetCIDNum(9523*2****|a)
exten => _9XXXXXXXXXX.,2,Dial(Zap/g1/${EXTEN:1})
exten => _9XXXXXXXXXX.,3,Congestion
exten => _9XXXXXXXXXX.,103,Congestion
exten => _9XXXXXXXXXX.,104,Hangup
exten => _91XXXXXXXXXX.,1,SetCIDNum(9523*2****|a)
exten => _91XXXXXXXXXX.,2,Dial(Zap/g1/${EXTEN:1})
exten => _91XXXXXXXXXX.,3,Congestion
exten => _91XXXXXXXXXX.,103,Congestion
exten => _91XXXXXXXXXX.,104,Hangup
exten => h,1,Hangup
Thank you,
Brian
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20040617/a797b3dd/attachment.htm
More information about the asterisk-users
mailing list