Summary: | ASTERISK-14591: Monitor not working, terminates dialplan | ||
Reporter: | Mitch Sharp (bluecrow76) | Labels: | |
Date Opened: | 2009-08-03 18:39:53 | Date Closed: | 2009-10-20 09:03:27 |
Priority: | Major | Regression? | Yes |
Status: | Closed/Complete | Components: | Resources/res_monitor |
Versions: | Frequency of Occurrence | ||
Related Issues: | |||
Environment: | Attachments: | ( 0) 1.6.2.0-rc2-monitor.txt ( 1) asterisk-1.6.2.0-beta2-beta4-res_monitor-diff.txt ( 2) asterisk-1.6.2.0-beta4-res_monitor.txt | |
Description: | I noticed this on 1.6.2.0-beta3 as well but didn't have the time to look at it then and reverted back to 1.6.2.0-beta2. When Monitor() is called with a single argument such as Monitor(wav), the app exits with -1 and the dial plan terminates. This occurs with any set of arguments that have been working in production and that have been tested to work properly in 1.6.2.0-beta2. When Monitor() is called with no options, it returns with the proper message "Monitor requires an argument". ****** ADDITIONAL INFORMATION ****** I diffed out the res_monitor.c files from beta2 and beta4 and didn't really see any difference to speak of. I included the diff in the uploaded files. I added some debug code just to see where the problem is. I can see that on line 528 in res_monitor.c ast_monitor_start is returning res=-1, but when I try to see what is happening in ast_monitor_start, I get no debug messages on the console even if I place a ast_debug(1,"ast_monitor_start debugging\n"); code right after "int res = 0" on line 208. Since I'm not getting any responses to my "debug" code in that function, I'm at the end of my skills and am turning it over to the group. | ||
Comments: | By: Mitch Sharp (bluecrow76) 2009-08-06 09:35:48 It looks like the asterisk version got set 1.6.1-beta4 somehow, even though that's not an option in the submission form... By: Leif Madsen (lmadsen) 2009-09-18 07:31:39 Is there any chance you could verify this is still an issue in 1.6.2.0-rc2? If so, I'm going to set this as a blocker for 1.6.2.0 final release. Thanks! By: Mitch Sharp (bluecrow76) 2009-09-25 07:36:08 I just got around to compiling 1.6.2.0-rc2 this morning and the behavior is the same. Calls hangup the moment the Monitor() application is called. I am reverting back to 1.6.2.0-beta2 once again. By: Mitch Sharp (bluecrow76) 2009-09-25 07:43:10 Attached console output from the attempt in the 1.6.2.0-rc2-monitor.txt file. By: Pavel Litvinenko (pavell) 2009-09-27 10:43:50 it seams something wrong with optional api ? asterisk uses stubs not real function ... By: Mitch Sharp (bluecrow76) 2009-10-07 22:32:39 I just compiled and install 1.6.2.0-rc3 and monitor is now working properly!!! In the ChangeLog it looks like the optional_api was removed from a few files, including include/asterisk/monitor.h, to fix bug ASTERISK-14847... I'm guessing that's what did it. By: Leif Madsen (lmadsen) 2009-10-20 09:03:27 Closing this issue as the reporter confirms things are working in 1.6.2.0-rc3 and beyond. Thanks! |