BreadCrumbs: Asterisk Dialplan

Asterisk Dialplan

From Luke Jackson

(Difference between revisions)
Jump to: navigation, search
Revision as of 22:16, 26 September 2007 (edit)
Ljackson (Talk | contribs)

← Previous diff
Revision as of 22:53, 26 September 2007 (edit)
Ljackson (Talk | contribs)
(Call Forward (WiFi Phones))
Next diff →
Line 6: Line 6:
<pre> <pre>
-[app-cf-busy-off-wifi]+[app-cf-busy-off-custom]
-include => app-cf-busy-off-custom+
exten => **91,1,Answer exten => **91,1,Answer
exten => **91,n,Wait(1) exten => **91,n,Wait(1)
Line 23: Line 22:
exten => _**91.,n,Macro(hangupcall,) exten => _**91.,n,Macro(hangupcall,)
-; end of [app-cf-busy-off-wifi]+; end of [app-cf-busy-off-custom]
</pre> </pre>

Revision as of 22:53, 26 September 2007

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-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-custom]
Personal tools