<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Thanks, got the info I need - I have a start, need to investigate
bit more on UPDATE handling. I will come up with a fix for you.<br>
<br>
Regards,<br>
Bogdan<br>
<br>
On 03/23/2012 05:09 PM, Duane Larson wrote:
<blockquote
cite="mid:CAFcM1Er7vD0VF96w6QMfNzTXi7sZqfqHFpa-sNg7J7GWrsk4Dg@mail.gmail.com"
type="cite">Ok<br>
<br>
Patched dlg.c to look like this<br>
<br>
<br>
b2b_dlg_t* b2b_search_htable_next_dlg(b2b_dlg_t* start_dlg,
b2b_table table, unsigned int hash_index,<br>
unsigned int local_index, str* to_tag, str*
from_tag, str* callid)<br>
{<br>
b2b_dlg_t* dlg;<br>
str dlg_from_tag={NULL, 0};<br>
dlg_leg_t* leg;<br>
<br>
LM_DBG("entering with start=%p, table=%p, hash=%i,
label=%i \n",<br>
start_dlg,table,hash_index,local_index);<br>
if(callid)<br>
LM_DBG("searching callid %d[%.*s]\n",
callid->len,callid->len, callid->s);<br>
if(to_tag)<br>
LM_DBG("searching totag %d[%.*s]\n",
to_tag->len,to_tag->len, to_tag->s);<br>
if(from_tag)<br>
LM_DBG("searching fromtag %d[%.*s]\n",
from_tag->len,from_tag->len, from_tag->s);<br>
dlg= start_dlg?start_dlg->next:table[hash_index].first;<br>
while(dlg)<br>
{<br>
<br>
<br>
And here is the debug output and an NGREP of the call<br>
<br>
<a moz-do-not-send="true" href="http://pastebin.com/ZiQsQj5r">http://pastebin.com/ZiQsQj5r</a><br>
<br>
<div class="gmail_quote">On Fri, Mar 23, 2012 at 6:19 AM,
Bogdan-Andrei Iancu <span dir="ltr"><<a
moz-do-not-send="true" href="mailto:bogdan@opensips.org">bogdan@opensips.org</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt
0.8ex; border-left: 1px solid rgb(204, 204, 204);
padding-left: 1ex;">Hi Duane,<br>
<br>
Strange, the logs shows that the UPDATE did not actually
match, while the BYE did...<br>
<br>
Could you please retake the test (same debug=4) while using
the attached patch - the patch is just for printing more info
related to matching.<br>
<br>
Thanks and regards,<br>
Bogdan
<div class="HOEnZb">
<div class="h5"><br>
<br>
On 03/22/2012 06:24 PM, <a moz-do-not-send="true"
href="mailto:duane.larson@gmail.com" target="_blank">duane.larson@gmail.com</a>
wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt
0.8ex; border-left: 1px solid rgb(204, 204, 204);
padding-left: 1ex;">
Here is a debug and the NGREP that goes along with it.<br>
<br>
<a moz-do-not-send="true"
href="http://pastebin.com/DuDKUrGd" target="_blank">http://pastebin.com/DuDKUrGd</a><br>
<br>
<br>
<br>
<br>
<br>
On , Bogdan-Andrei Iancu <<a moz-do-not-send="true"
href="mailto:bogdan@opensips.org" target="_blank">bogdan@opensips.org</a>>
wrote:<br>
><br>
><br>
><br>
><br>
><br>
><br>
><br>
> Hi Duane,<br>
><br>
><br>
><br>
> Could please re-run the scenario with opensips in
full debug<br>
> (debug=4) and and post somewhere the logs
corresponding to UPDATE<br>
> and BYE processing ?<br>
><br>
><br>
><br>
> Thanks and regards,<br>
><br>
> Bogdan<br>
><br>
><br>
><br>
> On 03/22/2012 03:46 AM, <a moz-do-not-send="true"
href="mailto:duane.larson@gmail.com" target="_blank">duane.larson@gmail.com</a>
wrote:<br>
> I am seeing the following issue<br>
><br>
><br>
><br>
><br>
> One of OpenSIPS users makes an outbound call
through a SIP<br>
> carrier. This gets sent to my OpenSIPS B2BUA which
then sends it<br>
> to the SIP carrier. The calls length makes it to 30
minutes and<br>
> then it is killed.<br>
><br>
><br>
><br>
><br>
> I see that the SIP carrier at around the 30 minute
mark is sending<br>
> an UPDATE message to the client but for some reason
when the<br>
> OpenSIPS B2BUA sees this UPDATE message it doesn't
think it is<br>
> apart of the current dialog. So then the SIP
carrier sends a BYE<br>
> because it never got a reply back for the UPDATE.
The OpenSIPS<br>
> B2BUA has no problem recognizing the BYE message as
being apart of<br>
> the Dialog and sends this over to the OpenSIPS
user. Am I doing<br>
> something wrong?<br>
><br>
><br>
><br>
><br>
><br>
><br>
><br>
><br>
> _______________________________________________<br>
> Users mailing list<br>
> <a moz-do-not-send="true"
href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a><br>
> <a moz-do-not-send="true"
href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users"
target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
><br>
><br>
><br>
><br>
</blockquote>
</div>
</div>
</blockquote>
</div>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a class="moz-txt-link-freetext" href="http://www.opensips-solutions.com">http://www.opensips-solutions.com</a></pre>
</body>
</html>