[asterisk-users] Wait to numbers

Josu Lazkano jlazkano at somesi.com
Wed Jun 27 06:46:42 CDT 2007


Hello everybody.

I have a problem with my dialplan. That my extensions.conf:

[incoming]
exten => 943712666,1,Wait(2)
exten => 943712666,2,Answer()
exten => 943712666,3,Background(/home/lazkano/welcom)
exten => 943712666,4,Wait(1)
exten => 943712666,5,Background(/home/lazkano/extension)
exten => 943712666,6,Wait(4)
exten => 943712666,7,Dial(SIP/104|30|tm)
exten => 943712666,8,Hangup()

exten => 101,1,Dial(SIP/101|30|tm)
exten => 102,1,Dial(SIP/102|30|tm)
exten => 103,1,Dial(SIP/103|30|tm)
exten => 104,1,Dial(SIP/104|30|tm)

When someone call to the office the a recorded voice tell welcom, them an
other record says "if you know the extension, press it" and wait 4 seconds.

The problem is that in "exten => 943712666,6,Wait(4)" it doesn't take any
naumber you must enter the extension in the "exten =>
943712666,5,Background(/home/lazkano/extension)".

There is an other command to wait 4 seconds and wait for numbers?


Thanks for all.

Enjoy your day.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20070627/85d8b167/attachment.htm 


More information about the asterisk-users mailing list