[Asterisk-Users] Should this work?
Angus Comber
angus at iteloffice.com
Mon Jul 25 08:11:31 MST 2005
Hello
I am using a Junghans quadBRI ISDN card and it is loaded and working. In Asterisk if I connect to ISDN line it is detected and tells me so.
In my zapata.conf I have (abbreviated):
[channels]
switchtype=euroisdn
signalling = bri_cpe
context=default
group=1
channel => 1-2
;plus group 2 - 4
zaptel.conf:
loadzone=uk
defaultzone=uk
# qozap span definitions
# most of the values should be bogus because we are not really zaptel
span=1,1,3,ccs,ami
span=2,0,3,ccs,ami
span=3,0,3,ccs,ami
span=4,0,3,ccs,ami
bchan=1,2
dchan=3
bchan=4,5
dchan=6
bchan=7,8
dchan=9
bchan=10,11
dchan=12
Then in extensions.conf I have:
[default]
; this below for internal extensions - works OK
exten => _2XX,1,Dial(SIP/${EXTEN},20,Ttm)
; for dialing outbound - over ISDN line - this bit does not work
exten => _9XX.,2,Dial(ZAP/g1/${EXTEN},60)
exten => _9XX.,2,Hangup
Error I get is:
-- Executing Dial("SIP/200-e433", "ZAP/g1/902088787367|60") in new stack
Jul 25 11:56:33 NOTICE[6723]: app_dial.c:777 dial_exec: Unable to create channel of type 'ZAP'
== Everyone is busy/congested at this time
-- Executing Hangup("SIP/200-e433", "") in new stack
== Spawn extension (default, 902088787367, 2) exited non-zero on 'SIP/200-e433'
I am dialing with sip phones. They work if dialing extensions internally but not if try to dial outside - eg dial 9 followed by number.
What have I not done right?
Angus
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20050725/f2e9357a/attachment.htm
More information about the asterisk-users
mailing list