[Home]

Summary:ASTERISK-03240: asterisk send wrong failure code when no supported codec found
Reporter:klaus3000 (klaus3000)Labels:
Date Opened:2005-01-10 08:41:58.000-0600Date Closed:2008-01-15 15:21:28.000-0600
Priority:TrivialRegression?No
Status:Closed/CompleteComponents:Channels/chan_sip/CodecHandling
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
Description:When asterisk receives an INVITE without any supported codec, it answers with:
503 Unavailable

according to RFC3261 it should response with :
488 Not Acceptable Here
Comments:By: Mark Spencer (markster) 2005-01-10 13:54:21.000-0600

Fixed in CVS head.

By: Russell Bryant (russell) 2005-01-12 22:30:29.000-0600

fixed in 1.0

By: Digium Subversion (svnbot) 2008-01-15 15:21:05.000-0600

Repository: asterisk
Revision: 4749

U   trunk/channels/chan_sip.c

------------------------------------------------------------------------
r4749 | markster | 2008-01-15 15:21:04 -0600 (Tue, 15 Jan 2008) | 2 lines

Send "not compatible here" instead of "unavailable" on codec mismatch (bug ASTERISK-3240)

------------------------------------------------------------------------

http://svn.digium.com/view/asterisk?view=rev&revision=4749

By: Digium Subversion (svnbot) 2008-01-15 15:21:28.000-0600

Repository: asterisk
Revision: 4776

U   branches/v1-0/channels/chan_sip.c

------------------------------------------------------------------------
r4776 | russell | 2008-01-15 15:21:27 -0600 (Tue, 15 Jan 2008) | 2 lines

fix message sent on codec mismatch (bug ASTERISK-3240)

------------------------------------------------------------------------

http://svn.digium.com/view/asterisk?view=rev&revision=4776