Hi All, Is there any console command available to get SIP trance on user level . Equivalent to Asterisk "sip set debug peer <peername>" TIA Lloyd
In FreeSWITCH: not that I know of. In Linux, yes: http://ngrep.sourceforge.net/ Use ngrep and match on anything, including IP and port combination from a specific peer (that's all Asterisk does anyway). It would be trivial to throw a script together to pull out the sofia contact for a user and pass the IP:port to ngrep for filtering. You'll find ngrep to be very handy. On Mon, Feb 14, 2011 at 11:06 PM, Aloysius Lloyd <lloyd.aloysius@gmail.com> wrote:
Hi All, Is there any console command available to get SIP trance on user level . Equivalent to Asterisk "sip set debug peer <peername>"
TIA Lloyd _______________________________________________ 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
-- Kristian Kielhofner
tshark can also do the same (part of wireshark) -Steve On 15 February 2011 13:14, Kristian Kielhofner <kris@kriskinc.com> wrote:
In FreeSWITCH: not that I know of.
In Linux, yes: http://ngrep.sourceforge.net/
Use ngrep and match on anything, including IP and port combination from a specific peer (that's all Asterisk does anyway). It would be trivial to throw a script together to pull out the sofia contact for a user and pass the IP:port to ngrep for filtering.
You'll find ngrep to be very handy.
On Mon, Feb 14, 2011 at 11:06 PM, Aloysius Lloyd <lloyd.aloysius@gmail.com> wrote:
Hi All, Is there any console command available to get SIP trance on user level . Equivalent to Asterisk "sip set debug peer <peername>"
TIA Lloyd _______________________________________________ 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
-- Kristian Kielhofner
_______________________________________________ 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
FYI, If you know the IP address of the phone you can also use tcpdump: tcpdump -nq -s 0 -w myfile.pcap host 1.2.3.4 and port 5060 -MC On Tue, Feb 15, 2011 at 7:47 AM, Steven Ayre <steveayre@gmail.com> wrote:
tshark can also do the same (part of wireshark)
-Steve
On 15 February 2011 13:14, Kristian Kielhofner <kris@kriskinc.com> wrote:
In FreeSWITCH: not that I know of.
In Linux, yes: http://ngrep.sourceforge.net/
Use ngrep and match on anything, including IP and port combination from a specific peer (that's all Asterisk does anyway). It would be trivial to throw a script together to pull out the sofia contact for a user and pass the IP:port to ngrep for filtering.
You'll find ngrep to be very handy.
On Mon, Feb 14, 2011 at 11:06 PM, Aloysius Lloyd <lloyd.aloysius@gmail.com> wrote:
Hi All, Is there any console command available to get SIP trance on user level . Equivalent to Asterisk "sip set debug peer <peername>"
TIA Lloyd _______________________________________________ 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
-- Kristian Kielhofner
_______________________________________________ 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
_______________________________________________ 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
Thank you for all the replies . I am currently using ngrep and tcpdump. But it is nice to have in FreeSWITCH CLI this option. Thanks Lloyd On Tue, Feb 15, 2011 at 12:56 PM, Michael Collins <msc@freeswitch.org>wrote:
FYI, If you know the IP address of the phone you can also use tcpdump:
tcpdump -nq -s 0 -w myfile.pcap host 1.2.3.4 and port 5060
-MC
On Tue, Feb 15, 2011 at 7:47 AM, Steven Ayre <steveayre@gmail.com> wrote:
tshark can also do the same (part of wireshark)
-Steve
On 15 February 2011 13:14, Kristian Kielhofner <kris@kriskinc.com> wrote:
In FreeSWITCH: not that I know of.
In Linux, yes: http://ngrep.sourceforge.net/
Use ngrep and match on anything, including IP and port combination from a specific peer (that's all Asterisk does anyway). It would be trivial to throw a script together to pull out the sofia contact for a user and pass the IP:port to ngrep for filtering.
You'll find ngrep to be very handy.
On Mon, Feb 14, 2011 at 11:06 PM, Aloysius Lloyd <lloyd.aloysius@gmail.com> wrote:
Hi All, Is there any console command available to get SIP trance on user level . Equivalent to Asterisk "sip set debug peer <peername>"
TIA Lloyd _______________________________________________ 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
-- Kristian Kielhofner
_______________________________________________ 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
_______________________________________________ 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
_______________________________________________ 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 believe the problem is that the logging is handled by the Sofia stack on a per-profile basis not itself, and occurs before it is matched to a call/user. Steve on iPhone On 15 Feb 2011, at 21:49, Aloysius Lloyd <lloyd.aloysius@gmail.com> wrote:
Thank you for all the replies . I am currently using ngrep and tcpdump. But it is nice to have in FreeSWITCH CLI this option.
Thanks Lloyd
On Tue, Feb 15, 2011 at 12:56 PM, Michael Collins <msc@freeswitch.org> wrote: FYI, If you know the IP address of the phone you can also use tcpdump:
tcpdump -nq -s 0 -w myfile.pcap host 1.2.3.4 and port 5060
-MC
On Tue, Feb 15, 2011 at 7:47 AM, Steven Ayre <steveayre@gmail.com> wrote: tshark can also do the same (part of wireshark)
-Steve
On 15 February 2011 13:14, Kristian Kielhofner <kris@kriskinc.com> wrote: In FreeSWITCH: not that I know of.
In Linux, yes: http://ngrep.sourceforge.net/
Use ngrep and match on anything, including IP and port combination from a specific peer (that's all Asterisk does anyway). It would be trivial to throw a script together to pull out the sofia contact for a user and pass the IP:port to ngrep for filtering.
You'll find ngrep to be very handy.
On Mon, Feb 14, 2011 at 11:06 PM, Aloysius Lloyd <lloyd.aloysius@gmail.com> wrote:
Hi All, Is there any console command available to get SIP trance on user level . Equivalent to Asterisk "sip set debug peer <peername>"
TIA Lloyd _______________________________________________ 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
-- Kristian Kielhofner
_______________________________________________ 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
_______________________________________________ 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
_______________________________________________ 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
_______________________________________________ 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)
-
Aloysius Lloyd
-
Kristian Kielhofner
-
Michael Collins
-
Steven Ayre