[Asterisk-Users] how to dial extension with menu

Jon Gabrielson jon at directfreight.com
Wed May 25 07:20:40 MST 2005


Try changing wait(2) to background(silence/9)
See if that helps, as you can't accept digits during a wait.
Also, check out the the waitexten command.


Hope this helps,


Jon.



On Wednesday 25 May 2005 05:14 am, Kamran Ahmad wrote:
> hello
>
> like if 6000 is the main exchange number. any one dial
> to 6000 will be asked for pressing his desired
> extension then he can press his desired extension then
> his number is diled
>
>
> exten=>6000,1,Background(enterdesiredexten)
> exten=>6000,2,Wait(2)
>
>
> exten=>2000,1,Dial(SIP/${EXTEN})
> exten=>3000,1,Dial(SIP/${EXTEN})
>
>
>
> __________________________________
> Discover Yahoo!
> Stay in touch with email, IM, photo sharing and more. Check it out!
> http://discover.yahoo.com/stayintouch.html
> _______________________________________________
> Asterisk-Users mailing list
> Asterisk-Users at lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-users
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-users



More information about the asterisk-users mailing list