How to suppress the SIP Registration trace on sofia global siptrace on
Hi, Is there any way to suppress SIP Registration trace on sofia global siptrace? I only need to trace the INVITE but because my system has a lot of clients doing SIP Registers, I having a hard time finding the SIP INVITE dump because the screen keep on scrolling. Thanks, Regards, Donny
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Hi Donny, We have a simple script that formats the debug.log file and prepends the call-id, allowing you to grep for the call you're interested in: https://github.com/2600hz/community-scripts/blob/master/FreeSWITCH/sipify.sh Usage instructions are in the script. I typically keep the fs_cli at log level 6 so I can see the channel(s) get created, grab the call-id, and run sipify.sh on the debug log, grepping for the call-id. I don't know of a way to selectively output SIP traffic in the cli. James On 03/02/2014 10:39 PM, Donny Hardyanto wrote:
Hi,
Is there any way to suppress SIP Registration trace on sofia global siptrace? I only need to trace the INVITE but because my system has a lot of clients doing SIP Registers, I having a hard time finding the SIP INVITE dump because the screen keep on scrolling.
Thanks,
Regards,
Donny
_________________________________________________________________________
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
- -- James Aimonetti Lead Systems Architect / Impressionable Scallywag "I thought I fixed that" 2600Hz | http://2600hz.com sip:james@2600hz.com tel:415.886.7905 irc:mc_ @ freenode -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iF4EAREIAAYFAlMVXEwACgkQ54NxaUq7OmCyrgEAiNY57rYYMnk3JEf+W4g3fmXs USTL1vqMfK4O4eftsswA/0djkVqTNH2JMcwc/gIJC0d7ujfdjxssAJxFFnhFGNMx =pN0R -----END PGP SIGNATURE-----
Hi, Thank you all for the pointers. I will look at them one-by-one to find what is more suitable. Thank you very much. Donny On Tue, Mar 4, 2014 at 11:53 AM, James Aimonetti <james@2600hz.com> wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256
Hi Donny,
We have a simple script that formats the debug.log file and prepends the call-id, allowing you to grep for the call you're interested in:
https://github.com/2600hz/community-scripts/blob/master/FreeSWITCH/sipify.sh
Usage instructions are in the script. I typically keep the fs_cli at log level 6 so I can see the channel(s) get created, grab the call-id, and run sipify.sh on the debug log, grepping for the call-id.
I don't know of a way to selectively output SIP traffic in the cli.
James
On 03/02/2014 10:39 PM, Donny Hardyanto wrote:
Hi,
Is there any way to suppress SIP Registration trace on sofia global siptrace? I only need to trace the INVITE but because my system has a lot of clients doing SIP Registers, I having a hard time finding the SIP INVITE dump because the screen keep on scrolling.
Thanks,
Regards,
Donny
_________________________________________________________________________
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
- -- James Aimonetti Lead Systems Architect / Impressionable Scallywag "I thought I fixed that"
2600Hz | http://2600hz.com sip:james@2600hz.com tel:415.886.7905 irc:mc_ @ freenode -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/
iF4EAREIAAYFAlMVXEwACgkQ54NxaUq7OmCyrgEAiNY57rYYMnk3JEf+W4g3fmXs USTL1vqMfK4O4eftsswA/0djkVqTNH2JMcwc/gIJC0d7ujfdjxssAJxFFnhFGNMx =pN0R -----END PGP SIGNATURE-----
_________________________________________________________________________ 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
I don't believe siptrace has any kind of filter, but you could use ngrep ngrep -W byline -q -d eth0 "INVITE sip" On Mon, Mar 3, 2014 at 7:39 AM, Donny Hardyanto <hardyanto.donny@gmail.com>wrote:
Hi,
Is there any way to suppress SIP Registration trace on sofia global siptrace? I only need to trace the INVITE but because my system has a lot of clients doing SIP Registers, I having a hard time finding the SIP INVITE dump because the screen keep on scrolling.
Thanks,
Regards,
Donny
_________________________________________________________________________ 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
On production systems it's generally easier to get packet captures unless you have secured the sip traffic. Check out the 'capture-server' param on the sofia profile. http://wiki.freeswitch.org/wiki/Packet_Capture#HOMER_Sip_Capture William King Senior Engineer Quentus Technologies, INC 1037 NE 65th St Suite 273 Seattle, WA 98115 Main: (877) 211-9337 Office: (206) 388-4772 Cell: (253) 686-5518 william.king@quentustech.com On 03/02/2014 10:39 PM, Donny Hardyanto wrote:
Hi,
Is there any way to suppress SIP Registration trace on sofia global siptrace? I only need to trace the INVITE but because my system has a lot of clients doing SIP Registers, I having a hard time finding the SIP INVITE dump because the screen keep on scrolling.
Thanks,
Regards,
Donny
_________________________________________________________________________ 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
participants (4)
-
Denis Papes
-
Donny Hardyanto
-
James Aimonetti
-
William King