[Home]

Summary:ASTERISK-22667: crash: directmedia with both phones placing each other on hold
Reporter:John Bigelow (jbigelow)Labels:
Date Opened:2013-10-07 16:57:06Date Closed:2013-10-22 17:44:03
Priority:MajorRegression?
Status:Closed/CompleteComponents:Channels/chan_pjsip Channels/chan_sip/General Resources/res_rtp_asterisk
Versions:12.0.0-alpha1 Frequency of
Occurrence
Frequent
Related
Issues:
Environment:Asterisk 12 branch r400669Attachments:( 0) backtrace.txt
( 1) backtrace2.txt
( 2) full.txt
( 3) full2.txt
Description:Crash occurs when both phones are using chan_pjsip & when one uses chan_pjsip and the other uses chan_sip. See below.

h2. Using chan_pjsip

h3. Setup:
* Using chan_pjsip with two phones configured to allow directmedia for both endpoints.

h3. Process:
* Placed call from phone_A to phone_B
* After ensuring two way audio and the RTP was being sent directly between the phones I pressed the Hold button on both phones simultaneously. This first attempt failed to place both on hold so I attempted again which put both phones on hold. The messages 'Started music on hold...' & 'Stopped music on hold...' started printing to the CLI non-stop.
* On phone_B I pressed the Hold button to take phone_A off of hold at which point Asterisk crashed.

h3. Attached files:
* backtrace.txt - backtrace
* full.txt - full log

h2. Using chan_pjsip & chan_sip

h3. Setup:
* Using chan_pjsip and chan_sip with two phones configured to allow directmedia for both endpoints. Phone 'phone_A' using chan_pjsip and phone 'phone_C' using chan_sip.

h3. Process:
* Placed call from phone_A to phone_C
* After ensuring two way audio and the RTP was being sent directly between the phones I pressed the Hold button on both phones simultaneously which resulted in Asterisk crashing.

h3. Attached files:
* backtrace2.txt - backtrace
* full2.txt - full log
Comments: