[asterisk-users] Defining what an extension should do after the Dial() command returns busy.

Ernie Dunbar maillist at lightspeed.ca
Wed Feb 9 14:07:21 CST 2011


It's nice to know that you've tried this and are presenting me with a
proven solution.

FYI, this doesn't work. Neither do any of the following variations:

exten => 27,1,Dial(SCCP/foo,10)
exten => 27,n-BUSY,Voicemail(27)
exten => 27,n-NOANSWER,Dial(DAHDI/g1/5551234)
exten => 27,n,Hangup()

or

exten => 27,1,Goto(ernie,s,1)

[ernie]
exten => s,1,Dial(SCCP/lightspeed7,10)
exten => s,n-BUSY,Voicemail(27)
exten => s,n-NOANSWER,Dial(DAHDI/g1/7788391675)
exten => s,n,Hangup()

or

exten => 27,1,Goto(ernie,s,1)

[ernie]
exten => s,1,Dial(SCCP/lightspeed7,10)
exten => s-BUSY,Voicemail(27)
exten => s-NOANSWER,Dial(DAHDI/g1/7788391675)
exten => s,n,Hangup()

> -----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
>
>
>
> --
> _____________________________________________________________________
> -- 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
>





More information about the asterisk-users mailing list