[asterisk-bugs] [Asterisk 0013672]: Additional codecs are added to the SDP after a "Moved Temporarily" mesage - SIP TCP

Asterisk Bug Tracker noreply at bugs.digium.com
Sat Oct 11 09:24:53 CDT 2008


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=13672 
====================================================================== 
Reported By:                mattdarnell
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   13672
Category:                   Channels/chan_sip/CodecHandling
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     new
Asterisk Version:           1.6.0 
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             2008-10-10 20:25 CDT
Last Modified:              2008-10-11 09:24 CDT
====================================================================== 
Summary:                    Additional codecs are added to the SDP after a
"Moved Temporarily" mesage - SIP TCP
Description: 
After receiving a 302 SIP response Asterisk adds additional codecs to the
SPD when they are not allowed in sip.conf.  The only codec allowed in this
example is ulaw.

This is a 1.6.0 system with "0013523: Trouble with Temporarily Moved"
applied

    -- Got SIP response 302 "Moved Temporarily" back from 10.10.20.31
Transmitting (no NAT) to 10.10.20.31:5060:
ACK sip:3451 at 10.10.20.31 SIP/2.0
Via: SIP/2.0/TCP 10.10.20.50:5060;branch=z9hG4bK5cdde719;rport
Max-Forwards: 70
From: "4000" <sip:3451 at wikitelcom.com>;tag=as43e0f2af
To: <sip:3451 at 10.10.20.31>;tag=f4177796d8
Contact: <sip:3451 at 10.10.20.50:5060;transport=TCP>
Call-ID: 3deb3e4b3f6dc02c709391dd7d73f566 at wikitelcom.com
CSeq: 102 ACK
User-Agent: Asterisk PBX 1.6.0
Content-Length: 0


---
    -- Now forwarding SIP/4000-b7d5ac38 to
'SIP/3451::::TCP at 10.10.20.31:5065' (thanks to SIP/sip-tcp-0831ed70)
  == Using SIP RTP CoS mark 5
Audio is at 10.10.20.50 port 15016
Adding codec 0x4 (ulaw) to SDP
Adding codec 0x2 (gsm) to SDP
Adding codec 0x8 (alaw) to SDP
====================================================================== 

---------------------------------------------------------------------- 
 (0093518) blitzrage (administrator) - 2008-10-11 09:24
 http://bugs.digium.com/view.php?id=13672#c93518 
---------------------------------------------------------------------- 
Just to make clear, does this happen without the patch, or only when that
patch is applied? The main reason I ask is to determine if it is the patch
which is causing the unexpected behaviour, and if so, we should make sure
the issue is resolved in the other filed issue. If this happens without the
patch, then this is the appropriate place to diagnose this.

Thanks! 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2008-10-11 09:24 blitzrage      Note Added: 0093518                          
======================================================================




More information about the asterisk-bugs mailing list