[Asterisk-Users] Dial command

Alexander Lopez Alex.Lopez at OpSys.com
Wed Mar 8 20:13:00 MST 2006


Exten => 222,1,Dial(SIP/polycom601||20)
Exten => 222,2,Dail(Zap/2/ww09123456789#

> -----Original Message-----
> From: asterisk-users-bounces at lists.digium.com 
> [mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of 
> Ronald Wiplinger
> Sent: Wednesday, March 08, 2006 5:26 PM
> To: Asterisk Users Mailing List - Non-Commercial Discussion
> Subject: [Asterisk-Users] Dial command
> 
> I have an ZAP extension number 222 which is connected instead 
> to a phone to a FXS/FXO converter and from there to a CDMA gateway.
> 
> To dial my mobile phone I use:
> 
> 222 (wait 2 seconds) 09123456789
> 
> I cannot figure out how to write this into the dialplan as a 
> default number!
> 
> 222 as above I will use for dialing any other number, but I 
> want to add this phone as an extension which rings if 601 is 
> not picking up within 20 seconds.
> 
> How to write this?
> 
> 
> Some parts of my existing dial plan:
> [Globals]
> PHONE_222=ZAP/2r1                ; transfer to mobile phone     <===
> hier I want to add the mobile phone number
> 
> [incoming]
> ...
> exten =>
> s,7,Dial(${PHONE_601}&${PHONE_621}&${PHONE_603}&${PHONE_610},3
> 0,tr)  ; ring phone_601, 621 & 603 for 30 seconds exten => 
> s,8,Dial(${PHONE_222},30,tr)  ; ring phone_222
> 
> _______________________________________________
> --Bandwidth and Colocation provided by Easynews.com --
> 
> Asterisk-Users mailing list
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-users
> 



More information about the asterisk-users mailing list