Capture SIP methods and their contents in a log file
Hi, I am implementing a couple of web applications, one to gather accounting and CDR data for billing information about a call. The second web application is to display a SIP call flow with the SIP methods and their contents. I used XML CDR log files to gather everything I needed for the billing application. But for the SIP methods and their contents, I am not sure where to retrieve such info. I know from previous experience, I used the FS command line to turn the SIP trace on using "sofia profile <profile_name> siptrace on". This however displays the output to fs_cli command window. Is there a way I can retrieve SIP methods and contents from a log file like we can with xml cdr log files? You feedback is very much appreciated. Thanks. Sami
You might want to see what HOMER offers, it does all sorts of fancy things for you: http://www.sipcapture.org/ Afaik, there's no way to have FS save the SIP signaling with the CDRs. I've used pcapsipdump<http://wiki.freeswitch.org/wiki/Packet_Capture#pcapsipdump> -- which saves to separate files -- but that captures the RTP also, and then is in standard PCAP format. Perhaps you can turn the verbosity down or get that style from different software. -Avi
If you add console to the all mapping in your conf/autoload_configs/logfile.xml you should get that console output in your log file. Avi Marcus <avi@avimarcus.net> wrote:
You might want to see what HOMER offers, it does all sorts of fancy things for you: http://www.sipcapture.org/
Afaik, there's no way to have FS save the SIP signaling with the CDRs. I've used pcapsipdump<http://wiki.freeswitch.org/wiki/Packet_Capture#pcapsipdump> -- which saves to separate files -- but that captures the RTP also, and then is in standard PCAP format. Perhaps you can turn the verbosity down or get that style from different software.
-Avi
---------------------------------------------------- Alternatives:
---------------------------------------------------- _________________________________________________________________________ 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
-- Your life is like a penny. You're going to lose it. The question is: How do you spend it? John Covici covici@ccs.covici.com
participants (3)
-
Avi Marcus
-
covici@ccs.covici.com
-
Sam Montour