[OpenSIPS-Devel] [ opensips-Bugs-3374156 ] CDR corrupted if OpenSIPS restarts

SourceForge.net noreply at sourceforge.net
Thu Aug 4 15:25:20 CEST 2011


Bugs item #3374156, was opened at 2011-07-21 22:30
Message generated for change (Comment added) made by razvancrainea
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=1086410&aid=3374156&group_id=232389

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: modules
Group: trunk
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: rrevels (ryanrevels)
Assigned to: Razvan Crainea (razvancrainea)
Summary: CDR corrupted if OpenSIPS restarts

Initial Comment:
Newest SVN of 1.7.0

If dialog is established, then Opensips is restarted while the dialog is still active, the resulting CDR is invalid; it appears the callid,sip_code, and sip_reason fields are all smashed into the to-tag column. Also, the duration is incorrect. Below is an example:

+----+--------+----------------------------------+----------------------------------------------------------------------------------------------------------------------------------+--------+----------+------------+---------------------+-----------+
| id | method | from_tag                         | to_tag                                                                                                                           | callid | sip_code | sip_reason | time                | duration  |
+----+--------+----------------------------------+----------------------------------------------------------------------------------------------------------------------------------+--------+----------+------------+---------------------+-----------+
|  7 | INVITE | e13c394aac0b60f92b08a0ab25a6d4fc |  2566988-0-13c4-bce26-26058a7d-bce26 did2.1166.7299147 200 O (t(N      ###                       sip:9127587486 at 184.106.2 |        |          |            | 0000-00-00 00:00:00 | 817046729 |
+----+--------+----------------------------------+----------------------------------------------------------------------------------------------------------------------------------+--------+----------+------------+---------------------+-----------+

----------------------------------------------------------------------

>Comment By: Razvan Crainea (razvancrainea)
Date: 2011-08-04 16:25

Message:
Hi Ryan,

I have commited a fix on svn trunk, rev 8209, that should solve this
problem. Please update your code, recompile the dialog module, and try
again. Also inform us about your results.

Thanks and regards,
Razvan

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=1086410&aid=3374156&group_id=232389



More information about the Devel mailing list