[Asterisk-Users] Jump to extension from voice menu

2004-02-11 Thread bam
Is there a way to allow a caller to enter an extension number that is more 
than one digit long in a voice menu?

I want to have a menu that allows something like If you know the extension 
number of the person please enter it otherwise 1 for sales, 2 for...etc

many thanks in advance,

Brian.

___
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


RE: [Asterisk-Users] Jump to extension from voice menu

2004-02-11 Thread David J Carter
If you add

include = context-of-normal-extensions

at the beginning of you MENU section then this should work.

[mainmenu]
;
;main menu context with submenu
;
exten = s,1,Answer
include = default
;exten = s,2,SayDigits(${CALLERID})
exten = s,3,Background(hello_and_thank_you)
exten = s,4,Wait,t,2
exten = s,5,Goto(options,s,1)


Dave

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of bam
Sent: 11 February 2004 09:35
To: [EMAIL PROTECTED]
Subject: [Asterisk-Users] Jump to extension from voice menu


Is there a way to allow a caller to enter an extension number that is more
than one digit long in a voice menu?

I want to have a menu that allows something like If you know the extension
number of the person please enter it otherwise 1 for sales, 2 for...etc

many thanks in advance,

Brian.


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


Re: [Asterisk-Users] Jump to extension from voice menu

2004-02-11 Thread WipeOut
bam wrote:

Is there a way to allow a caller to enter an extension number that is 
more than one digit long in a voice menu?

I want to have a menu that allows something like If you know the 
extension number of the person please enter it otherwise 1 for sales, 
2 for...etc

many thanks in advance,

Brian.


Yes..

Take a look at the DigitTimeout and ResponseTimeout applications..

 -= Info about application 'DigitTimeout' =-


[Synopsis]:
Set maximum timeout between digits


[Description]:
 DigitTimeout(seconds): Set the  maximum  amount of time permitted between
digits when the user is typing in an extension.  When this timeout expires,
after the user has started to  type  in an extension, the extension will be
considered  complete, and  will be interpreted.  Note that if an  extension
typed in is valid, it will not have to timeout to be tested,  so  typically
at  the  expiry of  this timeout, the  extension will be considered invalid
(and  thus  control  would be passed to the 'i' extension, or if it doesn't
exist the call would be terminated).  Always returns 0.


 -= Info about application 'ResponseTimeout' =-


[Synopsis]:
Set maximum timeout awaiting response


[Description]:
 ResponseTimeout(seconds): Set the maximum amount of time permitted after
falling through a series of priorities for a channel in which the user may
begin typing an extension.  If the user does not type an extension in this
amount of time, control will pass to the 't' extension if  it  exists, and
if not the call would be terminated.  Always returns 0.


___
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