[Home]

Summary:ASTERISK-00552: Re-Invite failure
Reporter:mkclev (mkclev)Labels:
Date Opened:2003-11-20 18:36:10.000-0600Date Closed:2004-09-25 02:52:04
Priority:MajorRegression?No
Status:Closed/CompleteComponents:Core/General
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
Description:Calls fail after re-invite due to invalid session version in SDP

****** ADDITIONAL INFORMATION ******

Calls between end points that have the canreinvite=yes parameter set fail.  The call establishes over the Asterisk bridge, but once the new SDP info is sent in the re-invite the call cuts off.  RFC 2327 states that the session version must be incremented if the SDP info is changed for a session ID.  The version is not being incremented so the new IP and port info is ignored, and then the call is terminated.
Comments:By: Brian West (bkw918) 2003-11-20 18:56:51.000-0600

Can you provide a sip debug?  Also are you running latest cvs?  Also canreinvite=yes will fail if end points codec support is diffrent.  In addition some devices don't like to reinvite (some cisco gear comes to mind)


Here are the most recent changes:

2003-11-14 19:53  martinp

* rtp.c (1.44): Don't allow reinvite if both parties talk diffrent
codec (part 2)

2003-11-14 19:52  martinp

* channels/chan_sip.c (1.247), include/asterisk/rtp.h (1.13): Don't
do reinvite if both parties talk diffrent codecs

2003-11-14 17:33  martinp

* channels/chan_sip.c (1.246): Do the last thing the right way
(thanks Mark)

2003-11-14 16:58  martinp

* channels/chan_sip.c (1.245): Don't allow to run SIPDtmfMode on
other channels than SIP ones.

2003-11-14 12:57  martinp

* channels/chan_sip.c (1.244): A little oops ...

By: John Todd (jtodd) 2003-11-20 21:29:46.000-0600

Just as importantly (though not explicitly stated above) please include a "show version" so we know if you're up to date or if this is a previously fixed error.

By: Brian West (bkw918) 2003-11-23 17:27:30.000-0600

Can you try the latest CVS and report back?  Alot of what you are talking about has been worked on since the 0.5.0 release.

By: mkclev (mkclev) 2003-11-24 10:02:00.000-0600

Connected to Asterisk CVS-11/20/03-17:14:49

This version had the same issue.

The re-invite had the same session version as the invite.

By: Mark Spencer (markster) 2003-11-24 12:59:36.000-0600

Okay new CVS should increment.  Please confirm.

By: Brian West (bkw918) 2004-01-06 23:56:51.000-0600

Please confirm on this or provide more input.

By: Brian West (bkw918) 2004-01-10 17:43:30.000-0600

This seems to be fixed in CVS.  Will reopen otherwise.

By: Brian West (bkw918) 2004-01-10 17:51:02.000-0600

Fixed in CVS