[asterisk-users] Wait to numbers

2007-06-27 Thread Josu Lazkano

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.
___
--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

Re: [asterisk-users] Wait to numbers

2007-06-27 Thread Jared Smith
On 6/27/07, Josu Lazkano [EMAIL PROTECTED] wrote:
  There is an other command to wait 4 seconds and wait for numbers?

Use the WaitExten() application instead of Wait().

-Jared

___
--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


Re: [asterisk-users] Wait to numbers

2007-06-27 Thread Josu Lazkano

Thankyou Jared, that it! it works!

2007/6/27, Jared Smith [EMAIL PROTECTED]:


On 6/27/07, Josu Lazkano [EMAIL PROTECTED] wrote:
  There is an other command to wait 4 seconds and wait for numbers?

Use the WaitExten() application instead of Wait().

-Jared

___
--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

___
--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