Current logging is the Sofia-SIP stack calling the sofia.c:logger() callback for the transport log. At this level packets are not attached to any call, so matching it to a call would require a 2nd parsing of the packet and matching it based on Call-ID... it would be quite a performance hit. The callback functions where mod_sofia handles a packet matched to a call receives the packet from the Sofia-SIP stack via the sip_t data structure. This contains the parsed message, not the raw packet. This makes it unsuitable for logging. I'm not sure if any other parameters passed to the callback contain the raw packet, which would be required to implement the feature. One of the mod_sofia developers would have a better grasp of the Sofia-SIP API though. -Steve On 7 January 2013 20:40, Lloyd Aloysius <lloyd.aloysius@gmail.com> wrote:
I saw a demo from siproutes carrier. Their cdr have sip trace for every record and they keep for three months , then archive.
It is awesome if freeswitch attach sip trace to the cdr. May be we can setup a bounty for this.
On Mon, Jan 7, 2013 at 9:17 AM, Saugort Dario Garcia Tovar <dgarcia@anew.com.ve> wrote:
Hi Cal,
Also I use this way to get a sip trace with filter criterias. Take a look to this link:
http://www.jonathanmanning.com/2009/10/26/how-to-voip-sip-capture-with-tcpdu...
With Wireshark you can apply additional filter
On 1/6/2013 3:31 PM, Cal Leeming [Simplicity Media Ltd] wrote:
Could a core dev speculate on how much the expected bounty would be for this?
Thanks
Cal
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
No virus found in this message. Checked by AVG - www.avg.com Version: 2012.0.2221 / Virus Database: 2637/5476 - Release Date: 12/21/12 Internal Virus Database is out of date.
-- Atentamente, Dario García Consultor.
CCCT, Nivel C2, Sector Yarey, Mz, Ofc. MZ03a. Caracas-Venezuela. Teléfono: +58 212 9081842 Cel: +58 412 2221515 dgarcia@anew.com.ve http://www.anew.com.ve
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org