<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Thank you Anthony. I'm using them. But I'm not debugging the current calls but want to check them later, if&nbsp;necessary. Like this:<div><br></div><div>post XML cdr to a web interface, store in db, and every time I list cdrs on web and click "View all related SIP" will list all the related sip messages on that cdr record.</div><div><br></div><div>I know wireshark even can display a graph, but hard to do that automatically and, &nbsp;Even I can capture all the packets through tshark, I still need to parse all the SIP messages from a pcap file and perhaps store them into a database. So I think it maybe easy to implement something in FS like "record-sip-session" and record all the SIP messages related to a session. I'm not sure whether that works.</div><div><br></div><div><div><br><div><html>On Feb 25, 2009, at 11:32 PM, Anthony Minessale wrote:</html><br class="Apple-interchange-newline"><blockquote type="cite">try tcpdump or tshark<br><br><br><div class="gmail_quote">On Wed, Feb 25, 2009 at 9:06 AM, seven du <span dir="ltr">&lt;<a href="mailto:seven@idapted.com">seven@idapted.com</a>></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;"> Hi,<br> <br> I want to get all(or certain) SIP messages in FS(perhaps I want to<br> write a module), What's the easiest or best way to get that? or where<br> I can find it in code?<br> <br> I know we can see SIP messages with TPORT_LOG enabled, It's in<br> mod_sofia or sofia-lib? &nbsp;Why it is only possible to set that on start<br> time but can't change it lively?<br> <br> If I can get them, I think it's possible to write to a file/db, or<br> even send out from event_socket. I know it will hurt performance, but<br> we don't do high volume calls and want to debug easily. Third party<br> tools maybe work but also hurt performance right?<br> <br> Thanks.<br> <br> Seven<br> <br> <br> <br> _______________________________________________<br> Freeswitch-dev mailing list<br> <a href="mailto:Freeswitch-dev@lists.freeswitch.org">Freeswitch-dev@lists.freeswitch.org</a><br> <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev</a><br> UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-dev" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-dev</a><br> <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br> </blockquote></div><br><br clear="all"><br>-- <br>Anthony Minessale II<br><br>FreeSWITCH <a href="http://www.freeswitch.org/">http://www.freeswitch.org/</a><br>ClueCon <a href="http://www.cluecon.com/">http://www.cluecon.com/</a><br> <br>AIM: anthm<br><a href="mailto:MSN%3Aanthony_minessale@hotmail.com">MSN:anthony_minessale@hotmail.com</a><br>GTALK/JABBER/<a href="mailto:PAYPAL%3Aanthony.minessale@gmail.com">PAYPAL:anthony.minessale@gmail.com</a><br> IRC: <a href="http://irc.freenode.net">irc.freenode.net</a> #freeswitch<br><br>FreeSWITCH Developer Conference<br><a href="mailto:sip%3A888@conference.freeswitch.org">sip:888@conference.freeswitch.org</a><br><a href="http://iax:guest@conference.freeswitch.org/888">iax:guest@conference.freeswitch.org/888</a><br> <a href="mailto:googletalk%3Aconf%2B888@conference.freeswitch.org">googletalk:conf+888@conference.freeswitch.org</a><br>pstn:213-799-1400<br> _______________________________________________<br>Freeswitch-dev mailing list<br><a href="mailto:Freeswitch-dev@lists.freeswitch.org">Freeswitch-dev@lists.freeswitch.org</a><br>http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev<br>UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev<br>http://www.freeswitch.org<br></blockquote></div><br></div></div></body></html>