On Wed, 2007-05-30 at 10:49 -0400, David Coulthart wrote:
> We are currently experiencing problems with our production OpenSER
> (1.1.0) environment where the load on the server is steadily increasing
> and the OpenSER response time increases drastically (e.g., 30+ seconds
> for an internal call to ring).
> 
> Capturing the network traffic when this happens we have noticed that our
> Asterisk (1.2.10) voicemail server is sending malformed CANCEL requests
> to our OpenSER proxy.  We are not certain whether this is a cause or an
> effect of the load problems on the OpenSER server.  Here is the SIP data
> from the bad CANCEL request:

I just want to close the loop on this issue in case anyone else runs
into this problem.  Thanks to the advice from Vadim Berezniker we are
using the attached patch applied against Asterisk 1.2.18, which
eliminates the bad CANCEL requests (no longer missing the sip prefix).

David Coulthart

Index: channels/chan_sip.c
===================================================================
--- channels/chan_sip.c	(revision 62125)
+++ channels/chan_sip.c	(revision 62126)
@@ -4717,6 +4717,8 @@
 		dst->header[x] += offset;
 	for (x=0; x < src->lines; x++)
 		dst->line[x] += offset;
+	dst->rlPart1 += offset;
+	dst->rlPart2 += offset;
 }
 
 /*! \brief  transmit_response_with_sdp: Used for 200 OK and 183 early media ---*/
_______________________________________________
Users mailing list
[email protected]
http://openser.org/cgi-bin/mailman/listinfo/users

Reply via email to