Summary: | ASTERISK-19360: When using DialPlan in RealTime, TIMEOUT(response) does not work | ||
Reporter: | Alexandre Keller (alexandrekeller) | Labels: | |
Date Opened: | 2012-02-14 12:40:15.000-0600 | Date Closed: | 2017-08-23 14:02:27 |
Priority: | Minor | Regression? | |
Status: | Closed/Complete | Components: | Functions/func_timeout PBX/pbx_realtime |
Versions: | 1.8.9.2 | Frequency of Occurrence | |
Related Issues: | |||
Environment: | Linux Debian Squeeze | Attachments: | ( 0) myDebugLog |
Description: | I've implemented my IVRs on Realtime, but, Asterisk is not respecting the time set on Set(TIMEOUT(response)=2), it always executes t exten after 10 seconds, which is its default value. | ||
Comments: | By: Matt Jordan (mjordan) 2012-02-20 11:02:51.999-0600 We require a complete debug log to help triage the issue. This document will provide instructions on how to collect debugging logs from an Asterisk machine for the purpose of helping bug marshals troubleshoot an issue: https://wiki.asterisk.org/wiki/display/AST/Collecting+Debug+Information By: Alexandre Keller (alexandrekeller) 2012-02-23 04:29:46.689-0600 This is the debug log requested. I'm also attaching my MySQL records, which are executed on my IVR: {noformat} mysql> select context,exten,priority,app,appdata from ast_extensions where context = 'ura'; +---------+-------+----------+------------+------------------------------------------------+ | context | exten | priority | app | appdata | +---------+-------+----------+------------+------------------------------------------------+ | ura | 1 | 1 | Goto | podefilas,991,1 | | ura | 2 | 1 | Goto | podefilas,992,1 | | ura | 3 | 1 | Goto | podefilas,993,1 | | ura | 4 | 1 | Goto | podefilas,994,1 | | ura | i | 1 | Set | TENTATIVAS=$[${TENTATIVAS}+1] | | ura | i | 2 | PlayBack | invalid | | ura | i | 3 | GotoIf | $[${TENTATIVAS} <= 2]?s,5 | | ura | i | 4 | AELSub | desliga | | ura | s | 1 | Answer | | | ura | s | 2 | Set | TENTATIVAS=1 | | ura | s | 3 | Set | TIMEOUT(digit=0) | | ura | s | 4 | Set | TIMEOUT(response=2) | | ura | s | 5 | Wait | 1 | | ura | s | 6 | ExecIfTime | 00:00-11:59,*,*,*?PlayBack(bomdia) | | ura | s | 7 | ExecIfTime | 12:00-17:59,*,*,*?PlayBack(boatarde) | | ura | s | 8 | ExecIfTime | 18:00-23:59,*,*,*?PlayBack(boanoite) | | ura | s | 9 | Wait | 1 | | ura | s | 10 | ExecIfTime | 00:00-23:59,sat-sun,*,*?PlayBack(ipbx/horario) | | ura | s | 11 | ExecIfTime | 00:00-23:59,sat-sun,*,*?AELSub(desliga) | | ura | s | 12 | BackGround | ipbx/a | +---------+-------+----------+------------+------------------------------------------------+ {noformat} By: Matt Jordan (mjordan) 2012-03-23 11:05:12.785-0500 Please note that you have to use the "Send Back" button in order to send this back into Triage - otherwise your issue remains in "Waiting For Feedback" and we don't always see it :-) I've gone ahead and acknowledged this issue. This appears to be a bug in pbx_realtime, which is an extended support modules. As such, development support for it comes primarily from the Asterisk Open Source developer community. Response times may reflect that. https://wiki.asterisk.org/wiki/display/AST/Asterisk+Module+Support+States By: Alexandre Keller (alexandrekeller) 2012-03-24 07:15:37.279-0500 Thanks Matt, I didn't know about the "Send Back" button. :D Any hints how may I proceed now, or just wait!? Thanks in advance By: Sean Bright (seanbright) 2017-08-23 14:02:27.323-0500 Your {{Set}} syntax is invalid: {noformat} TIMEOUT(response=2) {noformat} Should be: {noformat} TIMEOUT(response)=2 {noformat} |