<!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 changed to:</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV>
<DIV><FONT face=Arial size=2>exten =&gt; 
_X.,1,Dial(ZAP/1/${EXTEN},60)</FONT></DIV>
<DIV><FONT face=Arial size=2>exten =&gt; _X.,2,Hangup</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>But still didn't work.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>even though could see channel with zap show 
channels - saw a channel 1</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Angus</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</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><FONT face=Arial size=2></FONT><FONT face=Arial size=2></FONT><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>&nbsp;</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>&nbsp;</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>&nbsp;</DIV>
  <DIV><FONT face=Arial size=2></FONT>&nbsp;</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>&nbsp;</DIV>
  <DIV><FONT face=Arial 
  size=2><STRONG><U><EM>Yours:</EM></U></STRONG></FONT></DIV>
  <DIV><FONT face=Arial size=2></FONT>&nbsp;</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 =&gt; 
  _9XX.,2,Dial(ZAP/g1/${EXTEN},60)</FONT></DIV>
  <DIV><FONT face=Arial size=2>exten =&gt; _9XX.,2,Hangup</FONT></DIV></DIV>
  <DIV><FONT face=Arial size=2></FONT>&nbsp;</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 =&gt; 
  _9XX.,1,Dial(${OUTBND1}/${EXTEN},##)</FONT></DIV>
  <DIV><FONT face=Arial size=2>exten =&gt; _9XX.,2,Hangup</FONT></DIV>
  <DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
  <DIV><FONT face=Arial size=2></FONT>&nbsp;</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>&nbsp;</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>&nbsp;</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>&nbsp;</DIV>
    <DIV><FONT face=Arial size=2>I am using a Junghans quadBRI ISDN card and it 
    is loaded and working.&nbsp; In Asterisk if I connect to ISDN line it is 
    detected and tells me so.</FONT></DIV>
    <DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
    <DIV><FONT face=Arial size=2>In my zapata.conf I have 
    (abbreviated):</FONT></DIV>
    <DIV><FONT face=Arial size=2></FONT>&nbsp;</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>&nbsp;</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 =&gt; 1-2</FONT></DIV>
    <DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
    <DIV><FONT face=Arial size=2>;plus group 2 - 4</FONT></DIV>
    <DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
    <DIV><FONT face=Arial size=2></FONT>&nbsp;</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>&nbsp;</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>&nbsp;</DIV>
    <DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
    <DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
    <DIV><FONT face=Arial size=2>Then in extensions.conf I have:</FONT></DIV>
    <DIV><FONT face=Arial size=2></FONT>&nbsp;</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 =&gt; 
    _2XX,1,Dial(SIP/${EXTEN},20,Ttm)</FONT></DIV>
    <DIV><FONT face=Arial size=2></FONT>&nbsp;</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 =&gt; 
    _9XX.,2,Dial(ZAP/g1/${EXTEN},60)</FONT></DIV>
    <DIV><FONT face=Arial size=2>exten =&gt; _9XX.,2,Hangup</FONT></DIV>
    <DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
    <DIV><FONT face=Arial size=2>Error I get is:</FONT></DIV>
    <DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
    <DIV><FONT face=Arial size=2>&nbsp;&nbsp;&nbsp; -- 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>&nbsp; == Everyone is busy/congested at this 
    time<BR>&nbsp;&nbsp;&nbsp; -- Executing Hangup("SIP/200-e433", "") in new 
    stack<BR>&nbsp; == Spawn extension (default, 902088787367, 2) exited 
    non-zero on 'SIP/200-e433'</FONT></DIV>
    <DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
    <DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
    <DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
    <DIV><FONT face=Arial size=2>I am dialing with sip phones.&nbsp; 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>&nbsp;</DIV>
    <DIV><FONT face=Arial size=2>What have I not done right?</FONT></DIV>
    <DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
    <DIV><FONT face=Arial size=2>Angus</FONT></DIV>
    <DIV><FONT face=Arial size=2></FONT>&nbsp;</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>&nbsp;&nbsp; 
    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>&nbsp;&nbsp; 
  http://lists.digium.com/mailman/listinfo/asterisk-users</BLOCKQUOTE></BODY></HTML>