[Freeswitch-dev] What's the easiest way to get all the SIP messages in FS?

Kristian Kielhofner kristian.kielhofner at gmail.com
Wed Feb 25 07:51:22 PST 2009


Or ngrep...

The nice things about such tools is that you can use them to monitor
several systems (if you have setup a port mirror/SPAN) from a separate
host without even potentially impacting anything on the FS hosts -
it's just passive monitoring anyway...

On Wed, Feb 25, 2009 at 10:32 AM, Anthony Minessale
<anthony.minessale at gmail.com> wrote:
> try tcpdump or tshark
>
>
> On Wed, Feb 25, 2009 at 9:06 AM, seven du <seven at idapted.com> wrote:
>>
>> Hi,
>>
>> I want to get all(or certain) SIP messages in FS(perhaps I want to
>> write a module), What's the easiest or best way to get that? or where
>> I can find it in code?
>>
>> I know we can see SIP messages with TPORT_LOG enabled, It's in
>> mod_sofia or sofia-lib?  Why it is only possible to set that on start
>> time but can't change it lively?
>>
>> If I can get them, I think it's possible to write to a file/db, or
>> even send out from event_socket. I know it will hurt performance, but
>> we don't do high volume calls and want to debug easily. Third party
>> tools maybe work but also hurt performance right?
>>
>> Thanks.
>>
>> Seven
>>
>>
>>
>> _______________________________________________
>> Freeswitch-dev mailing list
>> Freeswitch-dev at lists.freeswitch.org
>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev
>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev
>> http://www.freeswitch.org
>
>
>
> --
> Anthony Minessale II
>
> FreeSWITCH http://www.freeswitch.org/
> ClueCon http://www.cluecon.com/
>
> AIM: anthm
> MSN:anthony_minessale at hotmail.com
> GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com
> IRC: irc.freenode.net #freeswitch
>
> FreeSWITCH Developer Conference
> sip:888 at conference.freeswitch.org
> iax:guest at conference.freeswitch.org/888
> googletalk:conf+888 at conference.freeswitch.org
> pstn:213-799-1400
>
> _______________________________________________
> Freeswitch-dev mailing list
> Freeswitch-dev at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev
> http://www.freeswitch.org
>
>



-- 
Kristian Kielhofner
http://blog.krisk.org
http://www.submityoursip.com
http://www.astlinux.org
http://www.star2star.com



More information about the Freeswitch-dev mailing list