[Home]

Summary:ASTERISK-09211: asterisk doesn't stop media session when sending BYE
Reporter:Makoto Dei (makoto)Labels:
Date Opened:2007-04-06 04:43:59Date Closed:2007-05-18 05:40:21
Priority:MinorRegression?No
Status:Closed/CompleteComponents:Core/General
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
Description:"RFC 3261 15.1.1 UAC Behavior" says

 The UAC MUST consider the session terminated
 (and therefore stop sending or listening for media)
 as soon as the BYE request is passed to the client transaction.

So asterisk should stop media session in transmit_request_with_auth.
Comments:By: Serge Vecher (serge-v) 2007-04-06 08:49:24

As per bug guidelines, you need to attach a SIP debug trace illustrating the problem. Please do the following:
1) Prepare test environment (reduce the amount of unrelated traffic on the server);
2) Make sure your logger.conf has the following line:
  console => notice,warning,error,debug
3) restart Asterisk with the following command:
  'asterisk -Tvvvvvdddddngc | tee /tmp/verbosedebug.txt'
4) Enable SIP transaction logging with the following CLI commands (1.4/trunk commands in parenthesis):
set debug 4 (core set debug 4)
set verbose 4 (core set verbose 4)
sip debug (sip set debug)
5) Reproduce the problem
6) Trim startup information and attach verbosedebug.txt to the issue.

By: Olle Johansson (oej) 2007-05-18 05:38:02

not in transmit_request_with_auth because that's a generic function, but in sip_hangup.

Fixed in 1.4 rev 64974 and trunk.