<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hello,<br>
<br>
I would like to look closer at the issue and figure out possible
solution, but I am traveling for time being, so just quick thoughts.<br>
<br>
One approach would the similar solution as for the fast CANCEL
(which gets to the server before the INVITE). What we do (in
config), we check if there is an INVITE transaction for the CANCEL
and if not we just drop the CANCEL (no reply). That will force the
UA to do retransmissions, which eventually will come after the
INVITE is received/processed.<br>
<br>
The second idea would be to have a pending queue, keep the NOTIFY
for a while there and when 200ok is coming, look in the queue if it
is something for respective dialog. If no dialog is created after a
while, request that are older in the queue will be just discarded.<br>
<br>
Cheers,<br>
Daniel<br>
<br>
On 8/10/11 6:19 PM, Andrew Miller wrote:
<blockquote cite="mid:4E42AF7C.2050107@crocodile-rcs.com"
type="cite">
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
Sorry Pete,<br>
<br>
That seems to make things better, but does not solve the issue for
me.<br>
<br>
Most times this now clean when a client logs in, but about 1 in 10
I am still getting an error message. In one case I had 9 error
messages on one log-in.<br>
<br>
Andy.<br>
<br>
On 10/08/2011 15:58, Peter Dunkley wrote:
<blockquote cite="mid:1312988306.3265.6.camel@pd-laptop-linux"
type="cite">
<meta http-equiv="Context-Type" content="text/html; ">
I've been playing around with this here and making presence and
rls use TCP instead of UDP seems to help with this problem.
Presumably this is because using TCP enforces in-order delivery
of messages.<br>
<br>
To make presence and rls use TCP I:
<ul>
<li>Added a ;transport=tcp parameter to the SIP URI I had set
for presence server_address </li>
<li>Added a ;transport=tcp parameter to the SIP URI I had set
for rls server_address </li>
<li>Set the rls outbound_proxy parameter to <a
moz-do-not-send="true" class="moz-txt-link-rfc2396E"
href="sip:127.0.0.1;transport=tcp">"sip:127.0.0.1;transport=tcp"</a>
</li>
</ul>
<br>
It's not a proper fix, but I think it works around the issue.<br>
<br>
Regards,<br>
<br>
Peter<br>
<br>
On Mon, 2011-08-01 at 13:40 +0200, Klaus Darilion wrote:
<blockquote type="CITE">
<pre>Am 01.08.2011 12:28, schrieb Andrew Miller:
> I attempted to insert a dialog entry in the hash table on sending the
> SUBSCRIBE, unfortunately this did not cure the problem
>
> Has anyone any suggestions for the cleanest and easiest method to ensure
> that the 200 is handled before the NOTIFY?
The cleanest solution would be to establish the dialog when the NOTIFY
is received although the 200 OK is missing.
The NOTIFY can be seen as an implicit 200 OK.
regards
Klaus
_______________________________________________
sr-dev mailing list
<a moz-do-not-send="true" href="mailto:sr-dev@lists.sip-router.org">sr-dev@lists.sip-router.org</a>
<a moz-do-not-send="true" href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev</a>
</pre>
</blockquote>
<br>
<table>
<tbody>
<tr>
<td>
<pre>--
Peter Dunkley
Technical Director
Crocodile RCS Ltd
</pre>
</td>
</tr>
</tbody>
</table>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
sr-dev mailing list
<a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:sr-dev@lists.sip-router.org">sr-dev@lists.sip-router.org</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev</a>
</pre>
</blockquote>
<br>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
sr-dev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:sr-dev@lists.sip-router.org">sr-dev@lists.sip-router.org</a>
<a class="moz-txt-link-freetext" href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev</a>
</pre>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
Daniel-Constantin Mierla -- <a class="moz-txt-link-freetext" href="http://www.asipto.com">http://www.asipto.com</a>
Kamailio Advanced Training, Oct 10-13, Berlin: <a class="moz-txt-link-freetext" href="http://asipto.com/u/kat">http://asipto.com/u/kat</a>
<a class="moz-txt-link-freetext" href="http://linkedin.com/in/miconda">http://linkedin.com/in/miconda</a> -- <a class="moz-txt-link-freetext" href="http://twitter.com/miconda">http://twitter.com/miconda</a></pre>
</body>
</html>