[Home]

Summary:ASTERISK-24946: asterisk 13.2 and pjsip calls hangup twice
Reporter:Shane Blaser (shaneblaser)Labels:
Date Opened:2015-04-08 12:26:22Date Closed:2015-05-08 16:36:25
Priority:MajorRegression?
Status:Closed/CompleteComponents:Channels/chan_pjsip
Versions:13.2.0 Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
Description:As you can see in the trace below hangup is called twice for the same channel

This does not happen when using chan_sip
{noformat}
   -- PJSIP/termTrunk-0000003d is ringing
      > 0x7f1d7801ffd0 -- Probation passed - setting RTP source address to 208.93.x.x:58230
   -- PJSIP/termTrunk-0000003d answered PJSIP/resale07-0000003c
   -- Channel PJSIP/termTrunk-0000003d joined 'simple_bridge' basic-bridge <654a12b1-dddd-4aa3-b24d-59227db38498>
   -- Channel PJSIP/resale07-0000003c joined 'simple_bridge' basic-bridge <654a12b1-dddd-4aa3-b24d-59227db38498>
      > Bridge 654a12b1-dddd-4aa3-b24d-59227db38498: switching from simple_bridge technology to native_rtp
      > Locally RTP bridged 'PJSIP/resale07-0000003c' and 'PJSIP/termTrunk-0000003d' in stack
      > Locally RTP bridged 'PJSIP/resale07-0000003c' and 'PJSIP/termTrunk-0000003d' in stack
      > 0x7f1e18052d80 -- Probation passed - setting RTP source address to 54.67.94.86:23796
   -- Channel PJSIP/resale07-0000003c left 'native_rtp' basic-bridge <654a12b1-dddd-4aa3-b24d-59227db38498>
   -- Channel PJSIP/termTrunk-0000003d left 'native_rtp' basic-bridge <654a12b1-dddd-4aa3-b24d-59227db38498>
 == Spawn extension (resale_termination, 1818xxxyyyy;npdi=yes, 36) exited non-zero on 'PJSIP/resale07-0000003c'
   -- Executing [h@resale_termination:1] NoOp("PJSIP/resale07-0000003c", "Caller "" <1213xxxyyyy> hung up.") in new stack
   -- Executing [h@resale_termination:2] Set("PJSIP/resale07-0000003c", "FILE(/var/log/asterisk/asr.log,,,al)=08-04-2015-17:14:46 Completed Call - Carrier: Broadvox Exten: 1818xxxyyyy;npdi=yes DialSatus:  ANSWER HangUpCause: 16") in new stack
   -- Executing [h@resale_termination:3] Hangup("PJSIP/resale07-0000003c", "") in new stack
 == Spawn extension (resale_termination, h, 3) exited non-zero on 'PJSIP/resale07-0000003c'
   -- Executing [h@telaris_resale:1] NoOp("PJSIP/resale07-0000003e", "Caller "" <1213xxxyyyy> hung up  PJSIP/resale07-0000003e.") in new stack
   -- Executing [h@telaris_resale:2] Hangup("PJSIP/resale07-0000003e", "") in new stack
 == Spawn extension (telaris_resale, h, 2) exited non-zero on 'PJSIP/resale07-0000003e'
   -- Executing [h@telaris_resale:1] NoOp("PJSIP/resale07-0000003e", "Caller "" <1213xxxyyyy> hung up  PJSIP/resale07-0000003e.") in new stack
   -- Executing [h@telaris_resale:2] Hangup("PJSIP/resale07-0000003e", "") in new stack
 == Spawn extension (telaris_resale, h, 2) exited non-zero on 'PJSIP/resale07-0000003e'
{noformat}
Comments:By: Shane Blaser (shaneblaser) 2015-04-08 14:36:20.277-0500

Also I should note that I have one context calling (GOTO) another context ....

By: Joshua C. Colp (jcolp) 2015-04-08 14:50:01.570-0500

Thank you for taking the time to report this bug and helping to make Asterisk better. Unfortunately, we cannot work on this bug because your description did not include enough information. Please read over the Asterisk Issue Guidelines [1] which discusses the information necessary for your issue to be resolved and the format that information needs to be in. We would be grateful if you would then provide a more complete description of the problem. At a minimum, we need:

1. The specific steps or actions you took that caused you to encounter the problem.
2. The behavior you expected and the location of documentation that led you to that expectation.
3. The behavior you actually encountered.

To demonstrate the issue in detail, please include Asterisk log files generated per the instructions on the wiki [2]. If applicable, please ensure that protocol-level trace debugging is enabled, e.g., 'sip set debug on' if the issue involves chan_sip, and configuration information such as dialplan and channel configuration.

Thanks!

[1] https://wiki.asterisk.org/wiki/display/AST/Asterisk+Issue+Guidelines

[2] https://wiki.asterisk.org/wiki/display/AST/Collecting+Debug+Information



By: Rusty Newton (rnewton) 2015-04-22 17:34:17.592-0500

Shane can you provide the information [~jcolp] requested? Particularly any dialplan and steps required to reproduce the issue would be great..

By: Rusty Newton (rnewton) 2015-05-08 16:36:15.490-0500

Suspended due to lack of activity. Please request a bug marshal in #asterisk-bugs on the IRC network irc.freenode.net to reopen the issue should you have the additional information requested. Further information on issue tracker usage can be found in the Asterisk Issue Guidlines [1].

[1] https://wiki.asterisk.org/wiki/display/AST/Asterisk+Issue+Guidelines