[Home]

Summary:ASTERISK-22621: chan_sip can send two BYEs for a single call
Reporter:Kinsey Moore (kmoore)Labels:
Date Opened:2013-10-01 12:07:58Date Closed:2013-10-15 09:55:04
Priority:MajorRegression?
Status:Closed/CompleteComponents:Channels/chan_sip/General
Versions:12.0.0-beta1 Frequency of
Occurrence
Constant
Related
Issues:
causesASTERISK-23135 Crash - segfault in ast_channel_hangupcause_set - probably introduced in 11.7.0
Environment:Debian Sid x64, Asterisk 12 branchAttachments:( 0) double_bye.txt
Description:If a call is originated from chan_sip and the 200 OK response contains only declined streams (or probably any reason to want to hang up the call immediately), Asterisk can send two BYE requests to the remote endpoint. The first will succeed and the second will get back a 481.
Comments:By: Kinsey Moore (kmoore) 2013-10-01 12:08:45.349-0500

Debug log attached with sip debug enabled.

By: Kinsey Moore (kmoore) 2013-10-03 10:52:16.887-0500

This also displays what may be a bug in chan_pjsip (the side receiving the invite) since the 200 OK it responds with contains no active streams. It probably should have replied with a 488.