[asterisk-users] Asterisk dial plan conditional on not busy
Jim Dickenson
dickenson at cfmc.com
Fri Mar 6 00:55:11 CST 2009
--
Jim Dickenson
mailto:dickenson at cfmc.com
CfMC
http://www.cfmc.com/
> From: Michael <michael at networkstuff.co.nz>
> Reply-To: <michael at networkstuff.co.nz>, Asterisk Users Mailing List -
> Non-Commercial Discussion <asterisk-users at lists.digium.com>
> Date: Fri, 6 Mar 2009 15:52:20 +1300
> To: Asterisk Users Mailing List - Non-Commercial Discussion
> <asterisk-users at lists.digium.com>
> Subject: [asterisk-users] Asterisk dial plan conditional on not busy
>
> Here is the current dial plan section:
>
> [custom-michael]
> exten => _900,1,Playback(custom/extn-xfer)
> exten => _900,2,SayDigits(${EXTEN})
> exten => _900,3,MixMonitor...........
> exten => _900,4,Dial(SIP/${EXTEN}|${DEFRT})
exten => _900,5,GotoIf($["${DIALSTATUS}" = "BUSY"]?vmail,900,1))
> exten => _900,6,Playback(custom/extn-xfer2)
> exten => _900,7,Goto(custom-michael,901,4)
>
> exten => _901,1,Playback(custom/extn-xfer)
> exten => _901,2,SayDigits(${EXTEN})
> exten => _901,3,MixMonitor..............
> exten => _901,4,Dial(SIP/provider/${CELL1}|${CELLRT})
> exten => _901,5,Goto(vmail|900|1) <-- go to voice mail context
>
> DEFRT = 30 seconds, CELLRT = 25 seconds.
>
> Currently if the first phone is busy, or is not answered within 30 seconds, it
> will jump to the next phone (a cellular phone) and try that for 25 seconds
> before going to voice mail.
>
> What I want it to do is only try the cellular phone if the extension '900' is
> not answered. If busy I want it to go straight to voicemail.
>
> _______________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>
> 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