[Asterisk-Users] How can I dial (0 + telephone number)

Boater boater at SingerCo.com
Tue May 18 09:47:01 MST 2004


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.
 
[zap_outgoing]
;LOCAL CALLING START
exten => _XXXXXX.,1,Dial(Zap/1/9${EXTEN}#,20,r)
exten => _XXXXXX.,2,Hangup
;LOCAL CALLING END
 
;L/D CALLING START
;ALLOWS L/D WHEN A '1' IS NOT DIALED
exten => _NXXNXXXXXX,1,Dial(Zap/1/9${EXTEN}#,20,r)
exten => _NXXNXXXXXX,2,Hangup
;ALLOWS L/D WHEN A '1' IS DIALED
exten => _1NXXNXXXXXX,1,Dial(Zap/1/9${EXTEN:1},20,r)
exten => _1NXXNXXXXXX,2,Hangup
;L/D CALLING END
 
;SPECIAL CALLING START
exten => _911,1,Dial(Zap/1/9${EXTEN}#,20,r)
exten => _911,2,Hangup
exten => _411,1,Dial(Zap/1/9${EXTEN}#,20,r)
exten => _411,2,Hangup
;SPECIAL CALLING END


-----Original Message-----
From: Alberto Sato [mailto:amsato2004 at yahoo.com]
Sent: Tuesday, May 18, 2004 11:02 AM
To: asterisk-users at lists.digium.com
Subject: [Asterisk-Users] How can I dial (0 + telephone number)


I connect Asterisk to my analog PBX using X100P. In my analog PBX, I need to dial 0 (zero) to pick up the line.
 
How can I use Dial command to dial (0 + telephone number) directly?
 
 
I used
 
exten => 10,1,Answer()
exten => 10,2,Dial(Zap/1/0)
exten => 10,3,Hangup
 
It works, but I need to dial 10 and after the ring tone, the telephone number
 
 
How can I do?



  _____  

Do you Yahoo!?
SBC  <http://pa.yahoo.com/*http://us.rd.yahoo.com/evt=24311/*http://promo.yahoo.com/sbc/> Yahoo! - Internet access at a great low price.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20040518/091b8b9b/attachment.htm


More information about the asterisk-users mailing list