----- Original Message -----
From: "Danny Nicholas" <[email protected]>
To: "'Asterisk Users Mailing List - Non-Commercial Discussion'"
<[email protected]>
Sent: Wednesday, February 09, 2011 21:38
Subject: Re: [asterisk-users] Defining what an extension should do after
theDial() command returns busy.
-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of Ernie Dunbar
Sent: Wednesday, February 09, 2011 1:31 PM
To: [email protected]
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
--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
You can use the g option from cmd dial to keep going and check there if the
call ws answered or not.
--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users