Ernie Dunbar
2011-Feb-09 19:30 UTC
[asterisk-users] Defining what an extension should do after the Dial() command returns busy.
We have a customer who wants to forward an extension to their cell phone, if and only if that extension is "unavailable", or when the Dial() command times out. However, should the Dial() command return "busy" it should go to voicemail instead. As far as I know, the dialplan doesn't support this. Certainly not natively or in any particularly easy or obvious way, and I can't find anything on voip-info.org to suggest that there is.
Danny Nicholas
2011-Feb-09 19:38 UTC
[asterisk-users] Defining what an extension should do after the Dial() command returns busy.
-----Original Message----- From: asterisk-users-bounces at lists.digium.com [mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Ernie Dunbar Sent: Wednesday, February 09, 2011 1:31 PM To: asterisk-users at lists.digium.com Subject: [asterisk-users] Defining what an extension should do after the Dial() command returns busy. We have a customer who wants to forward an extension to their cell phone, if and only if that extension is "unavailable", or when the Dial() command times out. However, should the Dial() command return "busy" it should go to voicemail instead. As far as I know, the dialplan doesn't support this. Certainly not natively or in any particularly easy or obvious way, and I can't find anything on voip-info.org to suggest that there is. Perhaps your "googling" skills need some management - look for S-BUSY, S-NOANSWER. Here's a snippet that might do what they want - exten => s,1,Dial(DAHDI/1/5551212,30) - exten => s,n-BUSY,voicemail(blah) - exten => s,n-UNAVAILABLE,Dial(DAHDI/1/5552323,30) - exten => t,1,Dial(DAHDI/1/5552323,30) Cell