Summary: | ASTERISK-18199: [regression] LIMIT_CONNECT_FILE does not get played to caller when using dial() app | ||||||||
Reporter: | robert tang (rtang) | Labels: | |||||||
Date Opened: | 2011-07-27 13:10:58 | Date Closed: | 2011-09-12 10:56:41 | ||||||
Priority: | Major | Regression? | |||||||
Status: | Closed/Complete | Components: | Applications/app_dial | ||||||
Versions: | 1.8.5.0 | Frequency of Occurrence | Constant | ||||||
Related Issues: |
| ||||||||
Environment: | Attachments: | ( 0) issue-18199.patch | |||||||
Description: | I was migrating my php AGI script from asterisk 1.6.2.15 to 1.8.5 and everything seemed to be working except when using the dial(,,L(x:y)) app to play a message once the call is ANSWERED. It appears that asterisk is not honoring the channel variable "LIMIT_CONNECT_FILE" as it did in version 1.6.2.15. I also check the other variable "LIMIT_WARNING_FILE" and this on does get played back when 'y' time is remaining. -- AGI Script Executing Application: (Dial) Options: (SIP/provider1/xxxxxxxxxxx,45,rL(60000:30000)) > Limit Data for this call: > timelimit = 60000 ms (60.000 s) > play_warning = 30000 ms (30.000 s) > play_to_caller = yes > play_to_callee = no > warning_freq = 0 ms (0.000 s) > start_sound = mysounds/misc/B-31 > warning_sound = mysounds/misc/B-32 > end_sound = | ||||||||
Comments: | By: robert tang (rtang) 2011-08-03 20:50:33.041-0500 Is anyone looking into this issue? By: Michael L. Young (elguero) 2011-08-05 23:27:36.749-0500 Looks like r187211 is the culprit of this bug. Please try the attached patch. I tested this on my dev machine and confirmed that the start sound is being played. Also, I tested the LIMIT_WARNING_FILE variable is being played at the appropriate time and at appropriate intervals. By: robert tang (rtang) 2011-08-06 19:12:42.493-0500 I tested the attached patch and I confirm that it fixed the LIMIT_CONNECT_FILE bug, thank you. |