<html><body bgcolor="#FFFFFF"><div>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.<br><br>Steve on iPhone</div><div><br>On 15 Feb 2011, at 21:49, Aloysius Lloyd &lt;<a href="mailto:lloyd.aloysius@gmail.com">lloyd.aloysius@gmail.com</a>&gt; wrote:<br><br></div><div></div><blockquote type="cite"><div><font class="Apple-style-span" face="verdana, sans-serif">Thank you for all the replies . I am currently using ngrep and tcpdump. But it is nice to have in FreeSWITCH CLI this option.</font><div><font class="Apple-style-span" face="verdana, sans-serif"><br>

</font></div><div><font class="Apple-style-span" face="verdana, sans-serif">Thanks</font></div><div><font class="Apple-style-span" face="verdana, sans-serif">Lloyd<br></font>
<br><br><div class="gmail_quote">On Tue, Feb 15, 2011 at 12:56 PM, Michael Collins <span dir="ltr">&lt;<a href="mailto:msc@freeswitch.org"><a href="mailto:msc@freeswitch.org">msc@freeswitch.org</a></a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

FYI,<div>If you know the IP address of the phone you can also use tcpdump:</div><div><br></div><div>tcpdump -nq -s 0 -w myfile.pcap host 1.2.3.4 and port 5060</div><div><br></div><div><font color="#888888">-MC</font><div>

<div></div><div class="h5"><br><br><div class="gmail_quote">On Tue, Feb 15, 2011 at 7:47 AM, Steven Ayre <span dir="ltr">&lt;<a href="mailto:steveayre@gmail.com" target="_blank"><a href="mailto:steveayre@gmail.com">steveayre@gmail.com</a></a>&gt;</span> wrote:<br>


<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">tshark can also do the same (part of wireshark)<br><br>-Steve<div><div></div><div><br><br><br><div class="gmail_quote">


On 15 February 2011 13:14, Kristian Kielhofner <span dir="ltr">&lt;<a href="mailto:kris@kriskinc.com" target="_blank"><a href="mailto:kris@kriskinc.com">kris@kriskinc.com</a></a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204, 204, 204);padding-left:1ex">In FreeSWITCH: not that I know of.<br>
<br>
In Linux, yes: <a href="http://ngrep.sourceforge.net/" target="_blank"><a href="http://ngrep.sourceforge.net/">http://ngrep.sourceforge.net/</a></a><br>
<br>
Use ngrep and match on anything, including IP and port combination<br>
from a specific peer (that's all Asterisk does anyway). &nbsp;It would be<br>
trivial to throw a script together to pull out the sofia contact for a<br>
user and pass the IP:port to ngrep for filtering.<br>
<br>
You'll find ngrep to be very handy.<br>
<div><div></div><div><br>
On Mon, Feb 14, 2011 at 11:06 PM, Aloysius Lloyd<br>
&lt;<a href="mailto:lloyd.aloysius@gmail.com" target="_blank"><a href="mailto:lloyd.aloysius@gmail.com">lloyd.aloysius@gmail.com</a></a>&gt; wrote:<br>
&gt; Hi All,<br>
&gt; Is there any console command&nbsp;available&nbsp;to get SIP trance on user level .<br>
&gt; Equivalent to Asterisk "sip set debug peer &lt;peername&gt;"<br>
&gt;<br>
&gt;<br>
&gt; TIA<br>
&gt; Lloyd<br>
</div></div>&gt; _______________________________________________<br>
&gt; FreeSWITCH-users mailing list<br>
&gt; <a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank"><a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a></a><br>
&gt; <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank"><a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a></a><br>
&gt; UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank"><a href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a></a><br>
&gt; <a href="http://www.freeswitch.org" target="_blank"><a href="http://www.freeswitch.org">http://www.freeswitch.org</a></a><br>
&gt;<br>
&gt;<br>
<br>
<br>
<br>
--<br>
Kristian Kielhofner<br>
<br>
_______________________________________________<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank"><a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a></a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank"><a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a></a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank"><a href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a></a><br>
<a href="http://www.freeswitch.org" target="_blank"><a href="http://www.freeswitch.org">http://www.freeswitch.org</a></a><br>
</blockquote></div><br><div style="padding:0px;margin-left:0px;margin-top:0px;overflow:hidden;word-wrap:break-word;color:black;font-size:10px;text-align:left;line-height:130%">

</div>
</div></div><br>_______________________________________________<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank"><a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a></a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank"><a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a></a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank"><a href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a></a><br>
<a href="http://www.freeswitch.org" target="_blank"><a href="http://www.freeswitch.org">http://www.freeswitch.org</a></a><br>
<br></blockquote></div><br></div></div></div>
<br>_______________________________________________<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org"><a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a></a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank"><a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a></a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank"><a href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a></a><br>
<a href="http://www.freeswitch.org" target="_blank"><a href="http://www.freeswitch.org">http://www.freeswitch.org</a></a><br>
<br></blockquote></div><br></div>
</div></blockquote><blockquote type="cite"><div><span>_______________________________________________</span><br><span>FreeSWITCH-users mailing list</span><br><span><a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a></span><br><span><a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a></span><br><span>UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users</span><br><span><a href="http://www.freeswitch.org">http://www.freeswitch.org</a></span><br></div></blockquote></body></html>