<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2900.2627" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>I tried your way (also sorted out two priority 2's
- actually a typo in my emails) - but same problem.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>It seems to be my * does not like Zap\1 - if I zap
show channels I get</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>linux*CLI> zap show channels<BR>
Chan Extension Context
Language
MusicOnHold<BR> pseudo
default
en<BR>
1
default
en<BR>
2
default
en<BR>
4
default
en<BR>
5
default
en<BR>
7
default
en<BR>
8
default
en<BR>
10
default
en<BR>
11
default en</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>And zap show channel 1 I get:</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>linux*CLI> zap show channel 1<BR>Channel:
1<BR>File Descriptor: 11<BR>Span: 1<BR>Extension:<BR>Dialing: no<BR>Context:
default<BR>Caller ID string:<BR>Destroy: 0<BR>InAlarm: 1<BR>Signalling Type: PRI
Signalling<BR>Owner: <None><BR>Real: <None><BR>Callwait:
<None><BR>Threeway: <None><BR>Confno: -1<BR>Propagated Conference:
-1<BR>Real in conference: 0<BR>DSP: no<BR>Relax DTMF: no<BR>Dialing/CallwaitCAS:
0/0<BR>Default law: alaw<BR>Fax Handled: no<BR>Pulse phone: no<BR>Echo
Cancellation: 128 taps unless TDM bridged, currently OFF<BR>PRI Flags:<BR>PRI
Logical Span: Implicit<BR>Actual Hookstate:
Onhook<BR>linux*CLI><BR></FONT></DIV>
<DIV><FONT face=Arial size=2>Is it I don't call it Zap but something else - as
it is ISDN BRI?</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Angus</FONT></DIV>
<DIV><FONT face=Arial size=2> </DIV></FONT>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<BLOCKQUOTE
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
<DIV
style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B>
<A title=desktophero@gmail.com href="mailto:desktophero@gmail.com">Jason
Walker</A> </DIV>
<DIV style="FONT: 10pt arial"><B>To:</B> <A
title=asterisk-users@lists.digium.com
href="mailto:asterisk-users@lists.digium.com">Asterisk Users Mailing List -
Non-Commercial Discussion</A> </DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Monday, July 25, 2005 8:45 PM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> Re: [Asterisk-Users] Should this
work?</DIV>
<DIV><BR></DIV>
<DIV><FONT face=Arial size=2>Have you defined the context "default" in the
extensions.conf for outbound dialing in the globals section?</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>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</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>[globals]</FONT></DIV>
<DIV><FONT face=Arial size=2>OUTBND1=Zap/g1</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Instead of ZAP in my dial plan to call out, I use
${OUTBND1}.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial
size=2><STRONG><U><EM>Yours:</EM></U></STRONG></FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV>
<DIV><FONT face=Arial size=2>; for dialing outbound - over ISDN line - this
bit does not work</FONT></DIV>
<DIV><FONT face=Arial size=2>exten =>
_9XX.,2,Dial(ZAP/g1/${EXTEN},60)</FONT></DIV>
<DIV><FONT face=Arial size=2>exten => _9XX.,2,Hangup</FONT></DIV></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2><STRONG><EM><U>Mine would look like
this</U></EM></STRONG></FONT></DIV>
<DIV><FONT face=Arial size=2>exten =>
_9XX.,1,Dial(${OUTBND1}/${EXTEN},##)</FONT></DIV>
<DIV><FONT face=Arial size=2>exten => _9XX.,2,Hangup</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>This helps me to keep track of inbound T1s and
outbound T1s.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Also, you have 2 (2) priorities listed in your
example. You can't really do this.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV>JASON WALKER</DIV>
<BLOCKQUOTE
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
<DIV
style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B>
<A title=angus@iteloffice.com href="mailto:angus@iteloffice.com">Angus
Comber</A> </DIV>
<DIV style="FONT: 10pt arial"><B>To:</B> <A
title=asterisk-users@lists.digium.com
href="mailto:asterisk-users@lists.digium.com">asterisk-users@lists.digium.com</A>
</DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Monday, July 25, 2005 8:11
AM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> [Asterisk-Users] Should this
work?</DIV>
<DIV><BR></DIV>
<DIV><FONT face=Arial size=2>Hello</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>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.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>In my zapata.conf I have
(abbreviated):</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>[channels]</FONT></DIV>
<DIV><FONT face=Arial size=2>switchtype=euroisdn</FONT></DIV>
<DIV><FONT face=Arial size=2>signalling = bri_cpe</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>context=default</FONT></DIV>
<DIV><FONT face=Arial size=2>group=1</FONT></DIV>
<DIV><FONT face=Arial size=2>channel => 1-2</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>;plus group 2 - 4</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>zaptel.conf:</FONT></DIV>
<DIV><FONT face=Arial size=2>loadzone=uk<BR>defaultzone=uk<BR># qozap span
definitions<BR># most of the values should be bogus because we are not
really
zaptel<BR>span=1,1,3,ccs,ami<BR>span=2,0,3,ccs,ami<BR>span=3,0,3,ccs,ami<BR>span=4,0,3,ccs,ami</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial
size=2>bchan=1,2<BR>dchan=3<BR>bchan=4,5<BR>dchan=6<BR>bchan=7,8<BR>dchan=9<BR>bchan=10,11<BR>dchan=12</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Then in extensions.conf I have:</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>[default]</FONT></DIV>
<DIV><FONT face=Arial size=2>; this below for internal extensions - works
OK</FONT></DIV>
<DIV><FONT face=Arial size=2>exten =>
_2XX,1,Dial(SIP/${EXTEN},20,Ttm)</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>; for dialing outbound - over ISDN line - this
bit does not work</FONT></DIV>
<DIV><FONT face=Arial size=2>exten =>
_9XX.,2,Dial(ZAP/g1/${EXTEN},60)</FONT></DIV>
<DIV><FONT face=Arial size=2>exten => _9XX.,2,Hangup</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Error I get is:</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2> -- Executing
Dial("SIP/200-e433", "ZAP/g1/902088787367|60") in new stack<BR>Jul 25
11:56:33 NOTICE[6723]: app_dial.c:777 dial_exec: Unable to create channel of
type 'ZAP'<BR> == Everyone is busy/congested at this
time<BR> -- Executing Hangup("SIP/200-e433", "") in new
stack<BR> == Spawn extension (default, 902088787367, 2) exited
non-zero on 'SIP/200-e433'</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>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.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>What have I not done right?</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Angus</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<P>
<HR>
<P></P>_______________________________________________<BR>Asterisk-Users
mailing
list<BR>Asterisk-Users@lists.digium.com<BR>http://lists.digium.com/mailman/listinfo/asterisk-users<BR>To
UNSUBSCRIBE or update options visit:<BR>
http://lists.digium.com/mailman/listinfo/asterisk-users</BLOCKQUOTE>
<P>
<HR>
<P></P>_______________________________________________<BR>Asterisk-Users
mailing
list<BR>Asterisk-Users@lists.digium.com<BR>http://lists.digium.com/mailman/listinfo/asterisk-users<BR>To
UNSUBSCRIBE or update options visit:<BR>
http://lists.digium.com/mailman/listinfo/asterisk-users</BLOCKQUOTE></BODY></HTML>