Re: [Asterisk-Users] WaitExten substitute

2004-06-19 Thread Adam Goryachev
On Sat, 2004-06-19 at 14:10, Randy Bush wrote:
 i am using the freebsd port, which seems to not yet have WaitExten(),
 which i kinda want to use thusly
 
 [ext-666]
 exten = _.,1,SetVar(areacode=666)
 exten = _.,2,Background(zz-in-who)  ; give them list of extns
 exten = _.,3,WaitExten(10)  ; let them enter extn to call
 include = extensions
 include = applications
 include = speeddials
 exten = i,1,HangUp
 exten = t,1,HangUp

I never heard of the app WaitExten but you could do the following:
exten = _.,1,DigitTimeout,5
exten = _.,2,ResponseTimeout,10
exten = _.,3,SetVar(areacode=666)
exten = _.,4,Background(zz-in-who)
include = extensions
include = applications
include = speeddials
exten = i,1,PlayBack(Invalid-Ext)
exten = i,2,HangUp
exten = t,1,PlayBack(NoExtensionEntered)
exten = t,2,Hangup

 how do i hack this?

Don't, I suggest you read the handbook, the wiki, and/or the archives.

Regards,
Adam


___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


[Asterisk-Users] WaitExten substitute

2004-06-18 Thread Randy Bush
i am using the freebsd port, which seems to not yet have WaitExten(),
which i kinda want to use thusly

[ext-666]
exten = _.,1,SetVar(areacode=666)
exten = _.,2,Background(zz-in-who)  ; give them list of extns
exten = _.,3,WaitExten(10)  ; let them enter extn to call
include = extensions
include = applications
include = speeddials
exten = i,1,HangUp
exten = t,1,HangUp

how do i hack this?

randy

___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users