should i move this to the DEV mailing list ?<br><br>T.<br><br><div class="gmail_quote">On Fri, Sep 25, 2009 at 4:12 PM, Michael Jerris <span dir="ltr">&lt;<a href="mailto:mike@jerris.com">mike@jerris.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div style="">nothing I can think of, set up a test box that is not in production and lets figure out what is wrong.<div>
<br></div><div>Mike</div><div><div></div><div class="h5"><div><br><div><div>On Sep 25, 2009, at 7:22 AM, Tihomir Culjaga wrote:</div><br><blockquote type="cite">Hi Michael, thanks for your feedback but it&#39;s late now :(<br>
<br>I had to moved back to 1.0.3 because it is in production. On that version it works as a charm.<br><br>for some reason i cannot get it right in 1.0.4 and trunk.<br>
Actually, what i&#39;m doing is to subscribe to events (within a custom module) and try to get timestamps... I started having issues when i moved to trunk. To be sure that i&#39;m not doing something wrong, i configured mod_cdr_csv to dump CDRs. Well it turned out this module doesn&#39;t work as well in the trunk.<br>

<br><br>Can it be because of AMD opteron + Debian 5.0 enviorment?<br><br>
There is something in the 1.0.4/trunk version that is wrong for that kind of event/CDR.<br><br>T. <br><br><br><div class="gmail_quote">On Fri, Sep 25, 2009 at 6:44 AM, Michael Jerris <span dir="ltr">&lt;<a href="mailto:mike@jerris.com" target="_blank">mike@jerris.com</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div>Can you get these same values in xml-cdr?  I don&#39;t think csv was ever intended to work with different cdrs for a and b leg, it was more intended as a more familiar interface for those coming over from asterisk.<div>

<br></div><div>Mike</div><div><div></div><div><div><br><div><div>On Sep 24, 2009, at 6:10 AM, Tihomir Culjaga wrote:</div><br><blockquote type="cite">hello,<br><br>i&#39;m on latest trunk and for some reason i cannot get timestamps dumped in my cdrs. I use mod_cdr_csv with default settings plus i enabled to get both a and b legs dumped.<br>

<br><br>cdr_csv.conf.xml:<br><br>
&lt;configuration name=&quot;cdr_csv.conf&quot; description=&quot;CDR CSV Format&quot;&gt;<br>  &lt;settings&gt;<br>    &lt;!-- &#39;cdr-csv&#39; will always be appended to log-base --&gt;<br>    &lt;!--&lt;param name=&quot;log-base&quot; value=&quot;/var/log&quot;/&gt;--&gt;<br>


    &lt;param name=&quot;default-template&quot; value=&quot;example&quot;/&gt;<br>    &lt;!-- This is like the info app but after the call is hung up --&gt;<br>    &lt;!--&lt;param name=&quot;debug&quot; value=&quot;true&quot;/&gt;--&gt;<br>


    &lt;param name=&quot;rotate-on-hup&quot; value=&quot;true&quot;/&gt;<br>    &lt;!-- may be a b or ab --&gt;<br>    &lt;param name=&quot;legs&quot; value=&quot;ab&quot;/&gt;<br>  &lt;/settings&gt;<br>  &lt;templates&gt;<br>


    &lt;template name=&quot;sql&quot;&gt;INSERT INTO cdr VALUES (&quot;${caller_id_name}&quot;,&quot;${caller_id_number}&quot;,&quot;${destination_number}&quot;,&quot;${context}&quot;,&quot;${s<br>tart_stamp}&quot;,&quot;${answer_stamp}&quot;,&quot;${end_stamp}&quot;,&quot;${duration}&quot;,&quot;${billsec}&quot;,&quot;${hangup_cause}&quot;,&quot;${uuid}&quot;,&quot;${bleg_uuid}&quot;, &quot;${accountcode}<br>


&quot;);&lt;/template&gt;<br>    &lt;template name=&quot;example&quot;&gt;&quot;${caller_id_name}&quot;,&quot;${caller_id_number}&quot;,&quot;${destination_number}&quot;,&quot;${context}&quot;,&quot;${start_stamp}&quot;,&quot;${answ<br>


er_stamp}&quot;,&quot;${end_stamp}&quot;,&quot;${duration}&quot;,&quot;${billsec}&quot;,&quot;${hangup_cause}&quot;,&quot;${uuid}&quot;,&quot;${bleg_uuid}&quot;,&quot;${accountcode}&quot;,&quot;${read_codec}&quot;,&quot;${<br>


write_codec}&quot;&lt;/template&gt;<br>    &lt;template name=&quot;snom&quot;&gt;&quot;${caller_id_name}&quot;,&quot;${caller_id_number}&quot;,&quot;${destination_number}&quot;,&quot;${context}&quot;,&quot;${start_stamp}&quot;,&quot;${answer_<br>


stamp}&quot;,&quot;${end_stamp}&quot;,&quot;${duration}&quot;,&quot;${billsec}&quot;,&quot;${hangup_cause}&quot;,&quot;${uuid}&quot;,&quot;${bleg_uuid}&quot;, &quot;${accountcode}&quot;,&quot;${read_codec}&quot;,&quot;${wr<br>


ite_codec}&quot;,&quot;${sip_user_agent}&quot;,&quot;${call_clientcode}&quot;,&quot;${sip_rtp_rxstat}&quot;,&quot;${sip_rtp_txstat}&quot;,&quot;${sofia_record_file}&quot;&lt;/template&gt;<br>    &lt;template name=&quot;linksys&quot;&gt;&quot;${caller_id_name}&quot;,&quot;${caller_id_number}&quot;,&quot;${destination_number}&quot;,&quot;${context}&quot;,&quot;${start_stamp}&quot;,&quot;${answ<br>


er_stamp}&quot;,&quot;${end_stamp}&quot;,&quot;${duration}&quot;,&quot;${billsec}&quot;,&quot;${hangup_cause}&quot;,&quot;${uuid}&quot;,&quot;${bleg_uuid}&quot;,&quot;${accountcode}&quot;,&quot;${read_codec}&quot;,&quot;${<br>


write_codec}&quot;,&quot;${sip_user_agent}&quot;,&quot;${sip_p_rtp_stat}&quot;&lt;/template&gt;<br>    &lt;template name=&quot;asterisk&quot;&gt;&quot;${accountcode}&quot;,&quot;${caller_id_number}&quot;,&quot;${destination_number}&quot;,&quot;${context}&quot;,&quot;${caller_id}&quot;,&quot;${channel_<br>


name}&quot;,&quot;${bridge_channel}&quot;,&quot;${last_app}&quot;,&quot;${last_arg}&quot;,&quot;${start_stamp}&quot;,&quot;${answer_stamp}&quot;,&quot;${end_stamp}&quot;,&quot;${duration}&quot;,&quot;${billsec}&quot;,<br>


&quot;${hangup_cause}&quot;,&quot;${amaflags}&quot;,&quot;${uuid}&quot;,&quot;${userfield}&quot;&lt;/template&gt;<br>  &lt;/templates&gt;<br>&lt;/configuration&gt;<br><br><br><br><br><br>call flow is the following:<br><br>


<br>CALLER =&gt; FS =&gt;  CALLED<br><br><br>FS answers the call from CALLER, plays an announcement and bridges towards CALLED.<br><br><br>I get different behavior when the call is released by Caller and by Called.<br><br>


<br>Released by Caller:   the CDR is ok having all timestamps<br><br>OK CDR:<br><br style="font-family: arial,helvetica,sans-serif;"><font style="font-family: arial,helvetica,sans-serif;" size="2">Outbound LEG =&gt; &quot;016659280&quot;,&quot;016659280&quot;,&quot;0914392122&quot;,&quot;public&quot;,&quot;2009-09-24 12:02:48&quot;,&quot;2009-09-24 12:02:54&quot;,&quot;2009-09-24 12:03:01&quot;,&quot;13&quot;,&quot;7&quot;,&quot;NORMAL_CLEARING&quot;,&quot;699cc2d0-a8f1-11de-962a-e328afdb9d8d&quot;,&quot;&quot;,&quot;&quot;,&quot;PCMA&quot;,&quot;PCMA&quot;<br>


Inbound LEG  =&gt; &quot;016659280&quot;,&quot;016659280&quot;,&quot;05000403&quot;,&quot;public&quot;,&quot;2009-09-24 12:02:27&quot;,&quot;2009-09-24 12:02:41&quot;,&quot;2009-09-24 12:03:01&quot;,&quot;34&quot;,&quot;20&quot;,&quot;NORMAL_CLEARING&quot;,&quot;5d530192-a8f1-11de-962a-e328afdb9d8d&quot;,&quot;699cc2d0-a8f1-11de-962a-e328afdb9d8d&quot;,&quot;&quot;,&quot;PCMA&quot;,&quot;PCMA&quot;<br>


</font><br><br>Released by Called:  the CDR is NOT OK as timestamps are missing<br><br><br>NOT OK CDR:<br><br>Inbound LEG =&gt; &quot;016659280&quot;,&quot;016659280&quot;,&quot;0914392122&quot;,&quot;public&quot;,&quot;2009-09-24 12:05:20&quot;,&quot;2009-09-24 12:05:30&quot;,&quot;2009-09-24 12:05:39&quot;,&quot;19&quot;,&quot;9&quot;,&quot;NORMAL_CLEARING&quot;,&quot;c479411a-a8f1-11de-962a-e328afdb9d8d&quot;,&quot;&quot;,&quot;&quot;,&quot;PCMA&quot;,&quot;PCMA&quot;<br>


Outbound LEG =&gt;&quot;016659280&quot;,&quot;016659280&quot;,&quot;015000403&quot;,&quot;public&quot;,<b style="color: rgb(255, 0, 0);">&quot;&quot;,&quot;&quot;,&quot;&quot;,</b>&quot;0&quot;,&quot;0&quot;,&quot;NORMAL_CLEARING&quot;,&quot;b82f2046-a8f1-11de-962a-e328afdb9d8d&quot;,&quot;c479411a-a8f1-11de-962a-e328afdb9d8d&quot;,&quot;&quot;,&quot;PCMA&quot;,&quot;PCMA&quot;<br>


<br><br></blockquote></div><br></div></div></div></div><br>_______________________________________________<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org/" target="_blank">http://www.freeswitch.org</a><br>
<br></blockquote></div><br>
_______________________________________________<br>FreeSWITCH-users mailing list<br><a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br><a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br><a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
</blockquote></div><br></div></div></div></div><br>_______________________________________________<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br></blockquote></div><br>