BreadCrumbs: Asterisk Dialplan
Asterisk Dialplan
From Luke Jackson
Revision as of 22:16, 26 September 2007; Ljackson (Talk | contribs)
(diff) ←Older revision | Current revision | Newer revision→ (diff)
(diff) ←Older revision | Current revision | Newer revision→ (diff)
Applications
Call Forward (WiFi Phones)
Because WiFi phones interperate the inital star as a local command it is not possible to enable features such as call-waiting and call-forwarding from such a devices. Therefore I added this application to the dialplan which simply listens on "double-star" $VARIABLE. Thus a wifi phone user may dial **91 and their cf-busy-forward would be canceled.
[app-cf-busy-off-wifi] include => app-cf-busy-off-custom exten => **91,1,Answer exten => **91,n,Wait(1) exten => **91,n,Macro(user-callerid,) exten => **91,n,dbDel(CFB/${CALLERID(number)}) exten => **91,n,Playback(call-fwd-on-busy&de-activated) exten => **91,n,Macro(hangupcall,) exten => _**91.,1,Answer exten => _**91.,n,Wait(1) exten => _**91.,n,Set(fromext=${EXTEN:3}) exten => _**91.,n,dbDel(CFB/${fromext}) exten => _**91.,n,Playback(call-fwd-on-busy&for&extension) exten => _**91.,n,SayDigits(${fromext}) exten => _**91.,n,Playback(cancelled) exten => _**91.,n,Macro(hangupcall,) ; end of [app-cf-busy-off-wifi]