[Home]

Summary:ASTERISK-23814: No call started after peer dialed
Reporter:Igor Goncharovsky (igorg)Labels:
Date Opened:2014-06-03 05:36:09Date Closed:2014-07-24 11:53:27
Priority:MajorRegression?
Status:Closed/CompleteComponents:Addons/chan_ooh323
Versions:11.10.0 Frequency of
Occurrence
Related
Issues:
Environment:Attachments:( 0) ASTERISK-23814-ast11.patch
( 1) ASTERISK-23814-ast18.patch
( 2) ooh323_call_wontstart.txt
Description:On fresh asterisk installation configured several peers in ooh323.conf. When dial peer from dialplan call does not starts, log stoped on line '+++ h323_new'
Comments:By: Igor Goncharovsky (igorg) 2014-06-04 04:28:03.438-0500

I have made some debug, seems it locked on ast_mutex_lock(&ooh323c_cmd_lock) in ooh323_request for some reason. I have another system with same asterisk version, but Centos 6.4 (under virtualbox) instead of Centos 6.5 (using OpenVZ). Can provide access to server for testing.



By: Alexander Anikin (may213) 2014-06-09 12:27:00.364-0500

Hi, Igor

This bug is like to ASTERISK-21960 and/or to ASTERISK-23460.
Btw, ooh323_cmd_lock variable was removed by patch from ASTERISK-21960.
Igor, please check that version you use, patches from the listed issues are in 11.10.0 release. If it's 11.10.0 really then please provide /var/log/asterisk/h323_log with tracelevel=6 in [general] of ooh323.conf
If version is earlier than 11.10.0 just use latest ;)

By: Igor Goncharovsky (igorg) 2014-06-09 22:40:49.876-0500

Code reported before taken from 11.6.0, but on 11.10.0 I have exacltly same issue. h323_log is empty. Issue is realy similiar to these one, except one thing - I am not able to made any call from asterisk using chan_ooh323 on this server.

BTW, I have rechecked - channel locked on execution ast_cond_wait(&p->rtpcond, &p->lock);

By: Alexander Anikin (may213) 2014-06-10 03:34:26.441-0500

The problem is on incorrect error processing if there no accessible h323_log file or ooh323 config

By: Alexander Anikin (may213) 2014-06-10 04:02:58.988-0500

The patch for asterisk 1.8

By: Alexander Anikin (may213) 2014-06-10 04:03:57.693-0500

The patch for asterisk 11 and higher

By: Lefteris Zafiris (zaf) 2014-06-11 05:15:00.966-0500

With this patch load_module() returns AST_MODULE_LOAD_FAILURE in case the config files are not present, and causes asterisk to terminate.
I think the correct behavior is to return AST_MODULE_LOAD_DECLINE. In this case the module wont be loaded but asterisk will keep running as it is supposed to.

By: Alexander Anikin (may213) 2014-06-15 08:28:30.231-0500

Hi Lefteris,

Will correct changes here.
Thank you.