<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Sorr, I forgot to attach it. Here it is.<br>
<br>
Regards,<br>
<pre class="moz-signature" cols="72">--
Răzvan Crainea
OpenSIPS Developer</pre>
<br>
On 12/07/2011 11:59 AM, Jayesh Nambiar wrote:
<blockquote
cite="mid:CALvF6vDPaDpD=bsXFHnjebJjNtidAB8uXxSGu9-h+mAtHC9FFA@mail.gmail.com"
type="cite">Hi Razvan,<br>
I don't see the patch attached !!<br>
<br>
--- Jayesh<br>
<br>
<div class="gmail_quote">On Wed, Dec 7, 2011 at 2:57 PM, Razvan
Crainea <span dir="ltr"><<a moz-do-not-send="true"
href="mailto:razvancrainea@opensips.org">razvancrainea@opensips.org</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div bgcolor="#FFFFFF" text="#000000"> Hi, Jayesh !<br>
<br>
The root of the problem is the accX_flags dialog variable
isn't properly serialized. What I'm trying to find out is
why this happens, that's why I will need some extra debug as
I can't figure out the problem there. So please apply this
last patch and try again. It should be applied after the
previous patch I've sent you, so you won't need another
fresh checkout.<br>
This time there will be a lot of dumped info in the log, so
I would really appreciate if you could send them over
pastebin. The only part that I will be interested in is
between these lines:
<div class="im"><br>
<br>
<tt>DBG:dialog:write_pair: Dumping var name:
<accX_flags> value: <#026></tt><br>
<br>
</div>
and
<div class="im"><br>
<br>
<tt>DBG:dialog:write_pair: Dumping var name:
<accX_db> value: <(></tt><br>
<br>
</div>
Thank you very much for testing! <br>
<div class="im"> Regards,<br>
<pre cols="72">--
Răzvan Crainea
OpenSIPS Developer</pre>
<br>
</div>
<div>
<div class="h5"> On 12/06/2011 07:57 PM, Jayesh Nambiar
wrote:
<blockquote type="cite">Hi Razvan,<br>
I just did a fresh download from <a
moz-do-not-send="true"
href="http://opensips.org/pub/opensips/latest/src/"
target="_blank">http://opensips.org/pub/opensips/latest/src/</a>.
I did apply the patch successfully and I still have
the problem of CDR not being recorded after restart.
Here is the syslog pasted after opensips was being
shut down:<br>
<br>
Dec 6 20:20:13 dev /usr/local/sbin/opensips[
<div>15700]: DBG:dialog:dialog_update_db: inserting
new dialog 0x7f3d323bd5f8<br>
Dec 6 20:20:13 dev /usr/local/sbin/opensips[15700]:
DBG:dialog:write_pair: Dumping var name:
<accX_flags> value: <#026><br>
Dec 6 20:20:13 dev /usr/local/sbin/opensips[15700]:
DBG:dialog:write_pair: Serialized string
<accX_flags##026> (16)<br>
Dec 6 20:20:13 dev /usr/local/sbin/opensips[15700]:
DBG:dialog:write_pair: Dumping var name:
<accX_db> value: <(><br>
Dec 6 20:20:13 dev /usr/local/sbin/opensips[15700]:
DBG:dialog:write_pair: Serialized string
<accX_db#(> (263)<br>
Dec 6 20:20:13 dev /usr/local/sbin/opensips[15700]:
DBG:dialog:write_pair: Dumping var name:
<accX_leg> value: <><br>
Dec 6 20:20:13 dev /usr/local/sbin/opensips[15700]:
DBG:dialog:write_pair: Serialized string
<accX_leg#> (14)<br>
Dec 6 20:20:13 dev /usr/local/sbin/opensips[15700]:
DBG:dialog:write_pair: Dumping var name:
<accX_core> value: <#006><br>
Dec 6 20:20:13 dev /usr/local/sbin/opensips[15700]:
DBG:dialog:write_pair: escaping char 53<br>
Dec 6 20:20:13 dev /usr/local/sbin/opensips[15700]:
DBG:dialog:write_pair: Serialized string
<accX_core##006> (165)<br>
Dec 6 20:20:13 dev /usr/local/sbin/opensips[15700]:
DBG:dialog:write_pair: Dumping var name:
<accX_created> value: <<95>+ÃN><br>
Dec 6 20:20:13 dev /usr/local/sbin/opensips[15700]:
DBG:dialog:write_pair: Serialized string
<accX_created#<95>+ÃN> (22)<br>
Dec 6 20:20:13 dev /usr/local/sbin/opensips[15700]:
DBG:dialog:write_dialog_vars: var string is
<accX_flags##026>(480)<br>
Dec 6 20:20:13 dev /usr/local/sbin/opensips[15700]:
DBG:dialog:write_pair: Dumping var name:
<carrierChannels> value: <1002><br>
Dec 6 20:20:13 dev /usr/local/sbin/opensips[15700]:
DBG:dialog:write_pair: Serialized string
<carrierChannels#1002|> (21)<br>
Dec 6 20:20:13 dev /usr/local/sbin/opensips[15700]:
DBG:dialog:write_pair: Dumping var name:
<carrierChannels> value: <1003><br>
Dec 6 20:20:13 dev /usr/local/sbin/opensips[15700]:
DBG:dialog:write_pair: Serialized string
<carrierChannels#1003|> (21)<br>
Dec 6 20:20:13 dev /usr/local/sbin/opensips[15700]:
DBG:dialog:write_pair: Dumping var name:
<carrierChannels> value: <1007><br>
Dec 6 20:20:13 dev /usr/local/sbin/opensips[15700]:
DBG:dialog:write_pair: Serialized string
<carrierChannels#1007|> (21)<br>
Dec 6 20:20:13 dev /usr/local/sbin/opensips[15700]:
DBG:dialog:write_dialog_profiles: profile string is
<carrierChannels#1002|carrierChannels#1003|carrierChannels#1007|>(63)<br>
Dec 6 20:20:13 dev /usr/local/sbin/opensips[15700]:
DBG:db_mysql:has_stmt_ctx: ctx found for dialog<br>
Dec 6 20:20:13 dev /usr/local/sbin/opensips[15700]:
DBG:db_mysql:db_mysql_do_prepared_query:
conn=0x810858 (tail=8454488) MC=0x8101b8<br>
Dec 6 20:20:13 dev /usr/local/sbin/opensips[15700]:
DBG:db_mysql:db_mysql_do_prepared_query: set values
for the statement run<br>
<br>
I hope this will help you figure out something more
relevant.
<div>
<div> <img moz-do-not-send="true"
src="http://images/cleardot.gif"></div>
</div>
<span><font color="#888888"><br>
<br>
--- Jayesh</font></span>
<div>
<div><br>
<br>
<div class="gmail_quote">On Tue, Dec 6, 2011 at
7:56 PM, Razvan Crainea <span dir="ltr"><<a
moz-do-not-send="true"
href="mailto:razvancrainea@opensips.org"
target="_blank">razvancrainea@opensips.org</a>></span>
wrote:<br>
<blockquote class="gmail_quote"
style="margin:0 0 0 .8ex;border-left:1px
#ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF"> Hi, Jayesh!<br>
<br>
Can you post your dlg_db_handler.c file on
pastebin? I think you are using an old
version of the dialog module, and that's
why you have this problem.
<div><br>
<br>
Regards,<br>
<pre cols="72">--
Răzvan Crainea
OpenSIPS Developer</pre>
</div>
</div>
</blockquote>
</div>
</div>
</div>
</div>
</blockquote>
</div>
</div>
</div>
</blockquote>
</div>
<br>
</blockquote>
</body>
</html>