[Asterisk-Users] Dial command
Ronald Wiplinger
ronald at elmit.com
Wed Mar 8 15:26:16 MST 2006
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},30,tr) ;
ring phone_601, 621 & 603 for 30 seconds
exten => s,8,Dial(${PHONE_222},30,tr) ; ring phone_222
More information about the asterisk-users
mailing list