[asterisk-users] IVR Direct Dial Extension

Sherwood McGowan sherwood.mcgowan at gmail.com
Mon Jul 28 17:36:52 CDT 2008


Nhadie wrote:
> Hi,
>
> How can i enable the "if you know your parties extensions please dial it 
> now" function? what do i need to add below?
>
> [ivr-1]
> exten => s,1,Answer
> exten => s,n,Wait(1)
> exten => s,n(begin),Set(TIMEOUT(digit)=3)
> exten => s,n,Set(TIMEOUT(response)=10)
> exten => s,n,Background(custom/myivr)
> exten => s,n,WaitExten(,)
> exten => hang,1,Playback(vm-goodbye)
> exten => hang,n,Hangup
> exten => 0,n,Goto(ivr-2,s,1)
> exten => 1,n,Goto(ivr-3,s,1)
> exten => 2,n,Goto(ivr-3,s,1)
> exten => t,n,Goto(operator-ext,100,1)
>
> regards,
> nhadie
>
> _______________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>
> AstriCon 2008 - September 22 - 25 Phoenix, Arizona
> Register Now: http://www.astricon.net
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-users
>   
You need to add a pattern that matches your extension's setup (3 digit 
extensions get _XXX, etc...) and then call a macro or subroutine that 
will perform the standard extension dialing:

EXAMPLE:
exten => _XXX,1,Macro(std-exten,${EXTEN})

-- 
Sherwood McGowan
VoIP / Telecom Solutions
sherwood.mcgowan at gmail.com




More information about the asterisk-users mailing list