[asterisk-bugs] [JIRA] (ASTERISK-22667) crash: chan_pjsip with directmedia and both endpoints placing each other on hold

John Bigelow (JIRA) noreply at issues.asterisk.org
Mon Oct 7 17:27:03 CDT 2013


     [ https://issues.asterisk.org/jira/browse/ASTERISK-22667?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

John Bigelow updated ASTERISK-22667:
------------------------------------

    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

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

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.

The backtrace and full log has been attached.

    
> crash: chan_pjsip with directmedia and both endpoints placing each other on hold
> --------------------------------------------------------------------------------
>
>                 Key: ASTERISK-22667
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-22667
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Channels/chan_pjsip, Resources/res_rtp_asterisk
>    Affects Versions: 12.0.0-alpha1
>         Environment: Asterisk 12 branch r400669
>            Reporter: John Bigelow
>         Attachments: backtrace.txt, full.txt
>
>
> 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

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.asterisk.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira



More information about the asterisk-bugs mailing list