<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>
Hi,&nbsp;<div><br></div><div>Here you find output ,&nbsp;</div><div><br></div><div><a href="http://pastebin.com/ivWcFaXi">http://pastebin.com/ivWcFaXi</a>&nbsp;&nbsp;<br><br>Thanks for your help, can I get reply soon. Its taking too long.</div><div><br></div><div><br></div><div>Thanks !&nbsp;<br><div><div id="SkyDrivePlaceholder"></div><hr id="stopSpelling">Date: Fri, 16 Mar 2012 13:52:36 +0200<br>From: bogdan@opensips.org<br>To: talha_jilal@hotmail.com<br>CC: users@lists.opensips.org<br>Subject: Re: Users Digest, Vol 44, Issue 25<br><br>

  
<meta http-equiv="Content-Type" content="text/html; charset=unicode">
<meta name="Generator" content="Microsoft SafeHTML">
    
  
  
    Hi,<br>
    <br>
    To get ngrep to filter the capturing on "300" do :<br>
    &nbsp;&nbsp;&nbsp; ngrep -d any -W byline -t <b>300</b> port 5060<br>
    <br>
    upload the output somewhere on pastebin or similar - this mailing
    list is limited to attachments of 40K. <br>
    <br>
    Regards,<br>
    Bogdan<br>
    <br>
    On 03/15/2012 04:54 PM, talha jilal wrote:
    <blockquote cite="mid:BAY166-W49F72B93AE6ECE080BC2BA825E0@phx.gbl">
      <style>
.ExternalClass .ecxhmmessage P
{padding:0px;}
.ExternalClass body.ecxhmmessage
{font-size:10pt;font-family:Tahoma;}

</style>
      <div dir="ltr">
        <br>
        Hello Bogdan,&nbsp;
        <div><br>
        </div>
        <div><br>
        </div>
        <div>Here is my ngrep output, for only 300 extension where I am
          calling. &nbsp;I also attached ngrep full out put from when I start
          calling till end.</div>
        <div><br>
        </div>
        <div><br>
        </div>
        <div><br>
        </div>
        <div><br>
        </div>
        <div>
          <div>To:
            <a class="ecxmoz-txt-link-rfc2396E" target="_blank">&lt;sip:300@svoice.dyndns.org;user=phone&gt;</a>;tag=4249013220.</div>
          <div>Contact: "300"
            <a class="ecxmoz-txt-link-rfc2396E" target="_blank">&lt;sip:300@192.168.1.104:5060;transport=udp&gt;</a>.</div>
          <div>i="300"&lt;sip:&gt;.</div>
          <div>a=X-NameLabel:300.</div>
          <div>To:
            <a class="ecxmoz-txt-link-rfc2396E" target="_blank">&lt;sip:300@svoice.dyndns.org;user=phone&gt;</a>;tag=4249013220.</div>
          <div>Contact: "300"
            <a class="ecxmoz-txt-link-rfc2396E" target="_blank">&lt;sip:300@192.168.1.104:5060;transport=udp&gt;</a>.</div>
          <div>i="300"&lt;sip:&gt;.</div>
          <br>
          <div>^C</div>
          <div><br>
          </div>
          <font style="" color="#000000"><b><br>
            </b></font>
          <div><font style="" color="#000000"><b><br>
              </b></font></div>
          <div><font style="" color="#000000"><b>Thanks ! <br>
                Talha Jilal <br>
                <br>
              </b></font><br>
            <br>
            <div>
              <hr id="ecxstopSpelling">Date: Wed, 14 Mar 2012 14:22:23
              +0200<br>
              From: <a class="ecxmoz-txt-link-abbreviated" href="mailto:bogdan@opensips.org">bogdan@opensips.org</a><br>
              To: <a class="ecxmoz-txt-link-abbreviated" href="mailto:talha_jilal@hotmail.com">talha_jilal@hotmail.com</a><br>
              CC: <a class="ecxmoz-txt-link-abbreviated" href="mailto:users@lists.opensips.org">users@lists.opensips.org</a><br>
              Subject: Re: Users Digest, Vol 44, Issue 25<br>
              <br>
              
              
              I mentioned ngrep, not grep :D .<br>
              <br>
              Do :<br>
              &nbsp;&nbsp;&nbsp; ngrep -d any -W byline -t . port 5060<br>
              <br>
              Regards,<br>
              Bogdan<br>
              <br>
              On 03/12/2012 08:54 PM, talha jilal wrote:
              <blockquote cite="mid:BAY166-W2F0F24C0960C14D40AC4E825B0@phx.gbl">
                <style>
.ExternalClass .ecxhmmessage P
{padding:0px;}
.ExternalClass body.ecxhmmessage
{font-size:10pt;font-family:Tahoma;}
</style>
                <div dir="ltr"> <br>
                  Hi,&nbsp;
                  <div><br>
                    <br>
                    Here is output with grep&nbsp;</div>
                  <div><br>
                  </div>
                  <div>Please advise me full command if I am doing some
                    thing wrong, I am using &nbsp;centos 6.0 32 bit.</div>
                  <div><br>
                  </div>
                  <div><br>
                  </div>
                  <div>
                    <div><br>
                    </div>
                    <div>-bash-4.1# &nbsp;tcpdump -i eth2 -n -s0 -vvv tcp
                      &nbsp;port 5060 &nbsp;| grep 300</div>
                    <div>tcpdump: listening on eth2, link-type EN10MB
                      (Ethernet), capture size 65535 bytes</div>
                    <div><br>
                    </div>
                    <div><br>
                    </div>
                    <div><br>
                    </div>
                    <div>07:51:21.257355 IP (tos 0x0, ttl 118, id 27728,
                      offset 0, flags [DF], proto TCP (6), length 1300)</div>
                    <div>07:51:27.511152 IP (tos 0x10, ttl 64, id 6173,
                      offset 0, flags [DF], proto TCP (6), length 1300)</div>
                    <div>07:51:28.015258 IP (tos 0x10, ttl 64, id 6175,
                      offset 0, flags [DF], proto TCP (6), length 1300)</div>
                    <div>07:51:29.022329 IP (tos 0x10, ttl 64, id 6177,
                      offset 0, flags [DF], proto TCP (6), length 1300)</div>
                    <div><br>
                    </div>
                    <div><br>
                    </div>
                    <div><br>
                    </div>
                    <div><br>
                    </div>
                    <div>Thanks&nbsp;</div>
                    <div><br>
                      <div>
                        <hr id="ecxstopSpelling">Date: Mon, 12 Mar 2012
                        20:30:10 +0200<br>
                        From: <a class="ecxmoz-txt-link-abbreviated" href="mailto:bogdan@opensips.org">bogdan@opensips.org</a><br>
                        To: <a class="ecxmoz-txt-link-abbreviated" href="mailto:talha_jilal@hotmail.com">talha_jilal@hotmail.com</a>;
                        <a class="ecxmoz-txt-link-abbreviated" href="mailto:users@lists.opensips.org">users@lists.opensips.org</a><br>
                        Subject: Re: Users Digest, Vol 44, Issue 25<br>
                        <br>
                        Hi, <br>
                        <br>
                        1) please keep the list at CC all the time !<br>
                        <br>
                        2) the tcpdump output is no enough - use ngrep
                        as I need to see the actual content of the SIP
                        package ; or make a pcap capture and upload it
                        somewhere for download.<br>
                        <br>
                        Regards,<br>
                        Bogdan<br>
                        <br>
                      </div>
                    </div>
                  </div>
                </div>
              </blockquote>
            </div>
          </div>
        </div>
      </div>
    </blockquote>
    <br>
    <pre class="ecxmoz-signature">-- 
Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a class="ecxmoz-txt-link-freetext" href="http://www.opensips-solutions.com" target="_blank">http://www.opensips-solutions.com</a></pre></div></div>                                               </div></body>
</html>