login | register
Wed 01 of Aug, 2007 [09:52 UTC]

voip-info.org

Search with Google
Search this site with Google. Results may not include recent changes.

Web www.voip-info.org
Shoutbox
  • Aykut, Wed 01 of Aug, 2007 [07:53 UTC]: Hi all, does anybody know about Thomson ST2030 SIP phone. I have upgraded it to latest version (1.56) but "Hold" and "Conf" features are not working after the upgrade ?? Do you know any solution or do you have Ver. 1.52 ?? Where can I find it?
  • Edward J Brown, Tue 31 of Jul, 2007 [23:33 UTC]: Has anybody experienced Choppy voice quality when using a Linksys SPA942 in an Asterisk Conference bridge? It works fine with my polycom and Cisco, but sucks with my Linksys.
  • www.astawerks.com, Fri 27 of Jul, 2007 [18:00 UTC]: does anyone use asterisk on top of clark connect? does it work good?
  • simon, Fri 27 of Jul, 2007 [14:16 UTC]: Hi All, Has anyone here managed to get the Cisco79x1 to successfully fail over to the backup proxy. I have 2 asterisk servers , handsets all register and function, except that backup proxy function doesn't work. Any working example would be very apprecia
  • Matthew Richmond, Thu 26 of Jul, 2007 [03:40 UTC]: using the page() application to page across our building...often the meetme conferences don't disconnect after the caller hangs up. Anyone else having this problem. (using Polycom phones)
  • Matthew Richmond, Wed 25 of Jul, 2007 [02:58 UTC]: thanks Nicholas Blasgen! I haven't worked with AGI before, but there's always a first! Thanks again!
  • Nicholas Blasgen, Tue 24 of Jul, 2007 [19:18 UTC]: Matthew Richmond, AGI will handle all that for you.
  • sam, Mon 23 of Jul, 2007 [16:39 UTC]: need help - certain voicemail extension will stop working and recording voicemail on asterisk - anyone know why and how to fix it? Thanks
  • john haji, Mon 23 of Jul, 2007 [14:55 UTC]: free calls to pakistan
  • bong, Sat 21 of Jul, 2007 [19:09 UTC]: hi good day to all can anyone help me how to configured the nortel sip to the signaling server and how to activate in mobile w/ sip compatible without mcs
Server Stats
  • Execution time: 0.19s
  • Memory usage: 2.19MB
  • Database queries: 29
  • GZIP: Disabled
  • Server load: 2.85

Asterisk func timeout

Synopsis:

 Gets or sets timeouts on the channel.

Description:

 TIMEOUT(timeouttype)
 
Gets or sets various channel timeouts. The timeouts that can be
manipulated are:

absolute: The absolute maximum amount of time permitted for a call. A
          setting of 0 disables the timeout.

digit: 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).  The default timeout is 5 seconds.

response: 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 begin typing 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. Once the user begins to type an extension Asterisk
          will wait for digit timeout to be reached and response timeout has
          no effect. The default timeout is 10 seconds.

Notes

  • This function may be both read from and written to.
  • If dialplan execution runs out of priorities to execute and autofallthrough (introduced in Asterisk 1.2) is 'yes' (the default in Asterisk 1.4), then you must call WaitExten() when you want to allow the user to enter a new extension, otherwise Asterisk will terminate the call. If you set autofallthrough to 'no', then Asterisk will wait for the user to dial a new extension and the wait time will be controlled by these timeouts.


Used By


TIMEOUT(digit) and TIMEOUT(response) are consulted by the following dialplan commands (applications):

  • DISA()
  • Read() — timeout parameter will override TIMEOUT(response) and TIMEOUT(digit), if soundfile is played, only TIMEOUT(response) is used
  • WaitExten() — timeout parameter will override TIMEOUT(response)

TIMEOUT(digit) and TIMEOUT(response) are consulted by the following AGI commands:

  • get option (uses only TIMEOUT(digit) and only if the timeout parameter is 0)

Return value

Returns the length of the given timeout in seconds.

Examples


 exten => s,1,Set(foo=${TIMEOUT(digit)})

 exten => s,1,Set(TIMEOUT(absolute)=5)

See also


Created by Steve Murphy, Last modification by Luxvero on Mon 11 of Jun, 2007 [17:23 UTC]

Comments Filter

Response timeout, uncertain behavior?

by Luxvero on Monday 11 of June, 2007 [17:29:56 UTC]
I have read missmatching information about "response timeout", some say it is the TOTAL time Asterisks waits, but at least in v1.2.14 that is not the case, if digit=5 and response=2, Asterisk will timeout if you don't do anything in 2 seconds, but if you press 1 key it will wait for 5 seconds, surpassing the 2 seconds for resp. timeout.

Please update this page with new information, just login and click on the "Edit" or "Add Comment" button above. Get a free login here: Register Thanks! - support@voip-info.org

Page Changes | Comments

Sponsored by:

Terms of Service Privacy Policy
© 2003-2007 Arte Marketing, Inc.

Powered by bitweaver