<!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.2800.1400" name=GENERATOR></HEAD>
<BODY>
<DIV><SPAN class=546014816-18052004><FONT face=Arial color=#0000ff size=2>This
is what I use. I too get dial tone to my fxo from another pbx which requires a
'9' so when you look at my config, remember that I dial a 9 to get
out.</FONT></SPAN></DIV>
<DIV><SPAN class=546014816-18052004><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=546014816-18052004><FONT face=Arial color=#0000ff
size=2>[zap_outgoing]<BR>;LOCAL CALLING START<BR>exten =>
_XXXXXX.,1,Dial(Zap/1/9${EXTEN}#,20,r)<BR>exten =>
_XXXXXX.,2,Hangup<BR>;LOCAL CALLING END</FONT></SPAN></DIV>
<DIV> </DIV>
<DIV><SPAN class=546014816-18052004><FONT face=Arial color=#0000ff size=2>;L/D
CALLING START<BR>;ALLOWS L/D WHEN A '1' IS NOT DIALED<BR>exten =>
_NXXNXXXXXX,1,Dial(Zap/1/9${EXTEN}#,20,r)<BR>exten =>
_NXXNXXXXXX,2,Hangup<BR>;ALLOWS L/D WHEN A '1' IS DIALED<BR>exten =>
_1NXXNXXXXXX,1,Dial(Zap/1/9${EXTEN:1},20,r)<BR>exten =>
_1NXXNXXXXXX,2,Hangup<BR>;L/D CALLING END</FONT></SPAN></DIV>
<DIV> </DIV>
<DIV><SPAN class=546014816-18052004><FONT face=Arial color=#0000ff
size=2>;SPECIAL CALLING START<BR>exten =>
_911,1,Dial(Zap/1/9${EXTEN}#,20,r)<BR>exten => _911,2,Hangup<BR>exten =>
_411,1,Dial(Zap/1/9${EXTEN}#,20,r)<BR>exten => _411,2,Hangup<BR>;SPECIAL
CALLING END<BR></FONT></SPAN></DIV>
<BLOCKQUOTE>
<DIV class=OutlookMessageHeader dir=ltr align=left><FONT face=Tahoma
size=2>-----Original Message-----<BR><B>From:</B> Alberto Sato
[mailto:amsato2004@yahoo.com]<BR><B>Sent:</B> Tuesday, May 18, 2004 11:02
AM<BR><B>To:</B> asterisk-users@lists.digium.com<BR><B>Subject:</B>
[Asterisk-Users] How can I dial (0 + telephone number)<BR><BR></FONT></DIV>
<DIV>I connect Asterisk to my analog PBX using X100P. In my analog PBX, I need
to dial 0 (zero) to pick up the line.</DIV>
<DIV> </DIV>
<DIV>How can I use Dial command to dial (0 + telephone number) directly?</DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV>I used</DIV>
<DIV> </DIV>
<DIV>exten => 10,1,Answer()</DIV>
<DIV>exten => 10,2,Dial(Zap/1/0)</DIV>
<DIV>exten => 10,3,Hangup</DIV>
<DIV> </DIV>
<DIV>It works, but I need to dial 10 and after the ring tone, the telephone
number</DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV>How can I do?</DIV>
<P>
<HR SIZE=1>
<FONT face=arial size=-1>Do you Yahoo!?<BR><A
href="http://pa.yahoo.com/*http://us.rd.yahoo.com/evt=24311/*http://promo.yahoo.com/sbc/">SBC
Yahoo!</A> - Internet access at a great low
price.</FONT></BLOCKQUOTE></BODY></HTML>