[Asterisk-Users] Should this work?
Angus Comber
angus at iteloffice.com
Mon Jul 25 16:22:04 MST 2005
I tried your way (also sorted out two priority 2's - actually a typo in my emails) - but same problem.
It seems to be my * does not like Zap\1 - if I zap show channels I get
linux*CLI> zap show channels
Chan Extension Context Language MusicOnHold
pseudo default en
1 default en
2 default en
4 default en
5 default en
7 default en
8 default en
10 default en
11 default en
And zap show channel 1 I get:
linux*CLI> zap show channel 1
Channel: 1
File Descriptor: 11
Span: 1
Extension:
Dialing: no
Context: default
Caller ID string:
Destroy: 0
InAlarm: 1
Signalling Type: PRI Signalling
Owner: <None>
Real: <None>
Callwait: <None>
Threeway: <None>
Confno: -1
Propagated Conference: -1
Real in conference: 0
DSP: no
Relax DTMF: no
Dialing/CallwaitCAS: 0/0
Default law: alaw
Fax Handled: no
Pulse phone: no
Echo Cancellation: 128 taps unless TDM bridged, currently OFF
PRI Flags:
PRI Logical Span: Implicit
Actual Hookstate: Onhook
linux*CLI>
Is it I don't call it Zap but something else - as it is ISDN BRI?
Angus
----- Original Message -----
From: Jason Walker
To: Asterisk Users Mailing List - Non-Commercial Discussion
Sent: Monday, July 25, 2005 8:45 PM
Subject: Re: [Asterisk-Users] Should this work?
Have you defined the context "default" in the extensions.conf for outbound dialing in the globals section?
For example, I have my ZAP channels identified as OUTBND1 not ZAP in the global section. This new global identifier is pointed to ZAP/g1
[globals]
OUTBND1=Zap/g1
Instead of ZAP in my dial plan to call out, I use ${OUTBND1}.
Yours:
; for dialing outbound - over ISDN line - this bit does not work
exten => _9XX.,2,Dial(ZAP/g1/${EXTEN},60)
exten => _9XX.,2,Hangup
Mine would look like this
exten => _9XX.,1,Dial(${OUTBND1}/${EXTEN},##)
exten => _9XX.,2,Hangup
This helps me to keep track of inbound T1s and outbound T1s.
Also, you have 2 (2) priorities listed in your example. You can't really do this.
JASON WALKER
----- Original Message -----
From: Angus Comber
To: asterisk-users at lists.digium.com
Sent: Monday, July 25, 2005 8:11 AM
Subject: [Asterisk-Users] Should this work?
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
----------------------------------------------------------------------------
_______________________________________________
Asterisk-Users mailing list
Asterisk-Users at 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
------------------------------------------------------------------------------
_______________________________________________
Asterisk-Users mailing list
Asterisk-Users at 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20050725/c34ff6d4/attachment.htm
More information about the asterisk-users
mailing list