[asterisk-users] dialplan / problem with extension-length > 1

Yuan LIU yliu11 at hotmail.com
Wed Apr 25 22:07:39 MST 2007


>From: "Steve Davies" <davies147 at gmail.com>
>Date: Wed, 25 Apr 2007 15:58:25 +0100
>
>On 4/25/07, Barton Fisher <bhfisher at icpage.com> wrote:
>>Michael Kamleitner wrote:

[good stuff sniffed]

>A very simple workaround to achieve what you want might be to replace
>  WaitExten(5)
>with
>  Background(silence/5)
>
>I use this all over the place to great success as it prevents the need
>for any overly-clever processing of the result of WaitExten.
>
>Cheers,
>Steve

A question here.  I usually only use timeout to wait for any input, e.g.,

exten => s,1,Answer
exten => _ZX,1,Dial(Zap/g2/${EXTEN})
exten => t,1,Hangup
exten => i,1,Hangup

Am I missing some functionality from WaitExten if I do not plan to do 
anything special after timeout?

Yuan Liu




More information about the asterisk-users mailing list