[Freeswitch-users] sip message logging and analysis

Seven Du dujinfang at gmail.com
Thu Dec 17 17:21:25 PST 2009


I'm using contrib/seven/sip/sip2db.rb

2009/12/18 David Villasmil <david.villasmil.work at gmail.com>:
> i agree with christian, though i would use tshark. you can actually
> get the fields you want (method and callid) and store them in a dB.
> then you need to match them with a query. it is simple but Lots of work.
>
> look into -e and -E of tshark separate the fields by ","
>
> have fun!
>
> David
>
> El 18/12/2009, a las 01:27, Kristian Kielhofner <kristian.kielhofner at gmail.com
>  > escribió:
>
>> Frank,
>>
>>  Probably the cleanest (albeit non-FreeSWITCH) way to implement this
>> would be to use OpenSIPS/SER/etc between you and the carrier with the
>> siptrace module.
>>
>>  But that's probably more work than you want.  There's always tcpdump
>> with a decent filter (udp port 5060 and host x.x.x.x) and then
>> something like http://www.badpenguin.co.uk/files/pcap-util2
>>
>>  Both will allow you to search for BYEs and who is sending them.
>>
>>  Also keep in mind that they (or you) may just be dropping the RTP
>> without ever sending a BYE.  Setting the various RTP timeouts in
>> FreeSWITCH can help with that.  You can then look for logs/events (are
>> there any for RTP timeout?) to see who's dropping RTP.
>>
>> On Thu, Dec 17, 2009 at 7:01 PM, Frank @ Impact
>> <frank at impactfax.com> wrote:
>>> I bit off topic but…
>>>
>>>
>>>
>>> Using FS to send calls sip to the LD carrier.
>>>
>>>
>>>
>>> Some calls have problems where they drop the call or audio drops or
>>> whatever.
>>>
>>> The carrier’s first response is that we dropped the call.  But thi
>>> s is  a
>>> day later after the trouble has been reported.
>>>
>>>
>>>
>>> I am looking for guidance on how to log all sip message traffic and
>>> then be
>>> able to easily retrieve to find a call and look at what sip
>>> messages really
>>> were being based and by whom.  Maybe store them in a database or
>>> some other
>>> file that might be opened by an analysis tool.
>>>
>>>
>>>
>>> Any suggestions on how to log this information and then what tool
>>> to use for
>>> later analysis?
>>>
>>>
>>>
>>> _______________________________________________
>>> FreeSWITCH-users mailing list
>>> FreeSWITCH-users at lists.freeswitch.org
>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-
>>> users
>>> http://www.freeswitch.org
>>>
>>>
>>
>>
>>
>> --
>> Kristian Kielhofner
>> http://www.astlinux.org
>> http://blog.krisk.org
>> http://www.star2star.com
>> http://www.submityoursip.com
>> http://www.voalte.com
>>
>> _______________________________________________
>> FreeSWITCH-users mailing list
>> FreeSWITCH-users at lists.freeswitch.org
>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-
>> users
>> http://www.freeswitch.org
>
> _______________________________________________
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>




More information about the FreeSWITCH-users mailing list