<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#ffffff" text="#000000">
    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"
      type="cite">
      <style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
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="stopSpelling">Date: Mon, 12 Mar 2012 20:30:10
              +0200<br>
              From: <a class="moz-txt-link-abbreviated" href="mailto:bogdan@opensips.org">bogdan@opensips.org</a><br>
              To: <a class="moz-txt-link-abbreviated" href="mailto:talha_jilal@hotmail.com">talha_jilal@hotmail.com</a>; <a class="moz-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>
              <meta http-equiv="Content-Type" content="text/html;
                charset=ISO-8859-1">
              <meta name="Generator" content="Microsoft SafeHTML">
              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>
              On 03/12/2012 05:13 PM, talha jilal wrote:
              <blockquote
                cite="mid:BAY166-W506DF5BF69249522B4B83E825B0@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>
                  </div>
                  <div><br>
                  </div>
                  <div>How can I configure ACK's. I also tried without
                    media proxy but it was not working without media
                    proxy.as well without nathelper and nattrasveler.</div>
                  <div><br>
                  </div>
                  <div><br>
                  </div>
                  <div>I am going to attach my opensips.cfg file with
                    this email please review and advise me how can I fix
                    this problem.&nbsp;</div>
                  <div><br>
                  </div>
                  <div><br>
                  </div>
                  <div><br>
                  </div>
                  <div>###############################################<br>
                    <br>
                    <b>/var/log/messages out put,</b></div>
                  <div><br>
                  </div>
                  <div><br>
                  </div>
                  <div>
                    <div>Mar 12 04:11:32 pbx
                      /usr/local/sbin/opensips[17727]: ACC: transaction
                      answered:
                      <a moz-do-not-send="true"
                        class="ecxmoz-txt-link-abbreviated"
href="mailto:timestamp=1331539892;method=INVITE;from_tag=DL9cdb5a1e05;to_tag=2321330455;call_id=DL3a7acd97fa-1079834037@PC794-TalhaJ.ganz.ad;code=200;reason=OK">timestamp=1331539892;method=INVITE;from_tag=DL9cdb5a1e05;to_tag=2321330455;call_id=DL3a7acd97fa-1079834037@PC794-TalhaJ.ganz.ad;code=200;reason=OK</a></div>
                    <div>Mar 12 04:11:33 pbx
                      /usr/local/sbin/opensips[17728]: incoming reply</div>
                    <div>Mar 12 04:11:34 pbx
                      /usr/local/sbin/opensips[17722]: incoming reply</div>
                    <div>Mar 12 04:11:36 pbx
                      /usr/local/sbin/opensips[17725]: incoming reply</div>
                    <div>Mar 12 04:12:04 pbx media-dispatcher[17192]:
                      error: Got `remove' command from OpenSIPS for
                      unknown session with call-id `<a
                        moz-do-not-send="true"
                        class="ecxmoz-txt-link-abbreviated"
                        href="mailto:DL3a7acd97fa-1079834037@PC794-TalhaJ.ganz.ad">DL3a7acd97fa-1079834037@PC794-TalhaJ.ganz.ad</a>'</div>
                    <div>Mar 12 04:12:05 pbx media-dispatcher[17192]:
                      error: Got `remove' command from OpenSIPS for
                      unknown session with call-id `<a
                        moz-do-not-send="true"
                        class="ecxmoz-txt-link-abbreviated"
                        href="mailto:DL3a7acd97fa-1079834037@PC794-TalhaJ.ganz.ad">DL3a7acd97fa-1079834037@PC794-TalhaJ.ganz.ad</a>'</div>
                    <div>Mar 12 04:12:05 pbx
                      /usr/local/sbin/opensips[17722]:
                      WARNING:dialog:dlg_onroute: unable to find dialog
                      for BYE with route param '5a8.f6cab8b2'</div>
                    <div>Mar 12 04:12:06 pbx media-dispatcher[17192]:
                      error: Got `remove' command from OpenSIPS for
                      unknown session with call-id `<a
                        moz-do-not-send="true"
                        class="ecxmoz-txt-link-abbreviated"
                        href="mailto:DL3a7acd97fa-1079834037@PC794-TalhaJ.ganz.ad">DL3a7acd97fa-1079834037@PC794-TalhaJ.ganz.ad</a>'</div>
                    <div>Mar 12 04:12:06 pbx
                      /usr/local/sbin/opensips[17725]:
                      WARNING:dialog:dlg_onroute: unable to find dialog
                      for BYE with route param '5a8.f6cab8b2'</div>
                    <div>Mar 12 04:12:08 pbx media-dispatcher[17192]:
                      error: Got `remove' command from OpenSIPS for
                      unknown session with call-id `<a
                        moz-do-not-send="true"
                        class="ecxmoz-txt-link-abbreviated"
                        href="mailto:DL3a7acd97fa-1079834037@PC794-TalhaJ.ganz.ad">DL3a7acd97fa-1079834037@PC794-TalhaJ.ganz.ad</a>'</div>
                    <div>Mar 12 04:12:08 pbx
                      /usr/local/sbin/opensips[17727]:
                      WARNING:dialog:dlg_onroute: unable to find dialog
                      for BYE with route param '5a8.f6cab8b2'</div>
                    <div>Mar 12 04:12:12 pbx media-dispatcher[17192]:
                      error: Got `remove' command from OpenSIPS for
                      unknown session with call-id `<a
                        moz-do-not-send="true"
                        class="ecxmoz-txt-link-abbreviated"
                        href="mailto:DL3a7acd97fa-1079834037@PC794-TalhaJ.ganz.ad">DL3a7acd97fa-1079834037@PC794-TalhaJ.ganz.ad</a>'</div>
                    <div>Mar 12 04:12:12 pbx
                      /usr/local/sbin/opensips[17722]:
                      WARNING:dialog:dlg_onroute: unable to find dialog
                      for BYE with route param '5a8.f6cab8b2'</div>
                    <div>Mar 12 04:12:14 pbx
                      /usr/local/sbin/opensips[17728]:
                      ERROR:core:tcp_blocking_connect: timeout 10 s
                      elapsed from 10 s</div>
                    <div>Mar 12 04:12:14 pbx
                      /usr/local/sbin/opensips[17728]:
                      ERROR:core:tcpconn_connect: tcp_blocking_connect
                      failed</div>
                    <div>Mar 12 04:12:14 pbx
                      /usr/local/sbin/opensips[17728]:
                      ERROR:core:tcpconn_connect: tcp_blocking_connect
                      failed</div>
                    <div>Mar 12 04:12:14 pbx
                      /usr/local/sbin/opensips[17728]:
                      ERROR:core:tcp_send: connect failed</div>
                    <div>Mar 12 04:12:14 pbx
                      /usr/local/sbin/opensips[17728]:
                      ERROR:tm:msg_send: tcp_send failed</div>
                    <div>Mar 12 04:12:14 pbx
                      /usr/local/sbin/opensips[17728]:
                      ERROR:tm:t_forward_nonack: sending request failed</div>
                    <div><br>
                    </div>
                    <br>
                    <br>
                    <br>
                    TCP DUMP output,&nbsp;</div>
                  <div><br>
                  </div>
                  <div><br>
                    <b>tcpdump -i eth2 -n -s0 -vvv tcp &nbsp;port 5060</b></div>
                  <div><br>
                  </div>
                  <div><br>
                    <div>04:11:19.999008 IP (tos 0x10, ttl 64, id 39277,
                      offset 0, flags [DF], proto TCP (6), length 40)</div>
                    <div>&nbsp; &nbsp; 192.168.1.3.sip &gt;
                      74.216.223.199.shivahose: Flags [F.], cksum 0xd39d
                      (correct), seq 1192, ack 3135, win 425, length 0</div>
                    0x10, ttl 64, id 49400, offset 0, flags [DF], proto
                    TCP (6), length 60)
                    <div>&nbsp; &nbsp; 192.168.1.3.53399 &gt; 192.168.170.98.sip:
                      Flags [S], cksum 0xf6b7 (correct), seq 2821762320,
                      win 14600, options [mss 1460,sackOK,TS val
                      944667039 ecr 0,nop,wscale 6], length 0</div>
                    <div><br>
                    </div>
                    <div>###################################################</div>
                  </div>
                  <div><br>
                  </div>
                  <div><br>
                  </div>
                  <div>Thanks Bogdan for you very kind help.</div>
                  <div><br>
                  </div>
                  <div><br>
                  </div>
                  <div><br>
                    Thanks&nbsp;</div>
                  <div><br>
                    Talha Jilal.</div>
                  <div><br>
                  </div>
                  <div><br>
                  </div>
                  <div><br>
                  </div>
                  <div><br>
                  </div>
                  <div><br>
                  </div>
                  <div><br>
                  </div>
                  <div><br>
                    <div>
                      <hr id="ecxstopSpelling">Date: Mon, 12 Mar 2012
                      14:27:29 +0200<br>
                      From: <a moz-do-not-send="true"
                        class="ecxmoz-txt-link-abbreviated"
                        href="mailto:bogdan@opensips.org">bogdan@opensips.org</a><br>
                      To: <a moz-do-not-send="true"
                        class="ecxmoz-txt-link-abbreviated"
                        href="mailto:talha_jilal@hotmail.com">talha_jilal@hotmail.com</a><br>
                      CC: <a moz-do-not-send="true"
                        class="ecxmoz-txt-link-abbreviated"
                        href="mailto:users@lists.opensips.org">users@lists.opensips.org</a><br>
                      Subject: Re: FW: Users Digest, Vol 44, Issue 25<br>
                      <br>
                      Hi,<br>
                      <br>
                      Maybe the ACKs are not properly forwarded, so the
                      end-points disconnect the call. <br>
                      <br>
                      Do you have a SIP capture / trace of one call (the
                      SIP signaling) taken from the opensips server ?<br>
                      <br>
                      Regards,<br>
                      Bogdan<br>
                      <br>
                      On 03/09/2012 07:25 PM, talha jilal wrote:
                      <blockquote
                        cite="mid:BAY166-W592460B074C0DE9DEAF71482540@phx.gbl">
                        <style>
.ExternalClass .ecxhmmessage P
{padding:0px;}
.ExternalClass body.ecxhmmessage
{font-size:10pt;font-family:Tahoma;}
</style>
                        <div dir="ltr">
                          <div>
                            <div dir="ltr"><br>
                              Hello, I am not able to see my posts on
                              opensips mailling list sorry for sending
                              this email directly to you bogdan,&nbsp;
                              <div><br>
                              </div>
                              <div><br>
                                <div><br>
                                </div>
                                <div><br>
                                </div>
                                <div>
                                  <div>
                                    <div dir="ltr">
                                      <div>Hello Every Body it my second
                                        time when I am writing email but
                                        still no response, Your response
                                        will be highly&nbsp;appreciated.&nbsp;</div>
                                      <div><br>
                                      </div>
                                      <div><br>
                                      </div>
                                      <div><br>
                                      </div>
                                      <div><br>
                                      </div>
                                      <div><br>
                                      </div>
                                      <div>My Problem, I am trying to
                                        configure opensips 1.6X on my
                                        centos 6.0 box. Every thing goes
                                        smooth till installation, but I
                                        am not able to make call more
                                        than 30 seconds
                                        It&nbsp;disconnect&nbsp;every thirty
                                        seconds . My opensips.cfg/logs
                                        &nbsp;configuration are listed
                                        bellow&nbsp;</div>
                                      <div><br>
                                      </div>
                                      <div>NOTE I am behind the route
                                        and I did port forwarding ,
                                        40,000 60,000 udp/tcp 10,000
                                        30,000 udp/tcp 5060 udp/tcp. and
                                        also using &nbsp;media proxy.</div>
                                      <div><br>
                                      </div>
                                      <div>LOGS ERORR&nbsp;</div>
                                      <div><br>
                                      </div>
                                      <div><br>
                                      </div>
                                      <div>
                                        <div>Mar &nbsp;8 06:12:22 pbx
                                          /usr/local/sbin/opensips[6833]:
                                          incoming reply</div>
                                        <div>Mar &nbsp;8 06:13:00 pbx
                                          /usr/local/sbin/opensips[6833]:
                                          ERROR:core:tcp_blocking_connect:
                                          timeout 10 s elapsed from 10 s</div>
                                        <div>Mar &nbsp;8 06:13:00 pbx
                                          /usr/local/sbin/opensips[6833]:
                                          ERROR:core:tcpconn_connect:
                                          tcp_blocking_connect failed</div>
                                        <div>Mar &nbsp;8 06:13:00 pbx
                                          /usr/local/sbin/opensips[6833]:
                                          ERROR:core:tcp_send: connect
                                          failed</div>
                                        <div>Mar &nbsp;8 06:13:00 pbx
                                          /usr/local/sbin/opensips[6833]:
                                          ERROR:core:tcpconn_connect:
                                          tcp_blocking_connect failed</div>
                                        <div>Mar &nbsp;8 06:13:00 pbx
                                          /usr/local/sbin/opensips[6833]:
                                          ERROR:core:tcp_send: connect
                                          failed</div>
                                        <div>Mar &nbsp;8 06:13:00 pbx
                                          /usr/local/sbin/opensips[6833]:
                                          ERROR:tm:msg_send: tcp_send
                                          failed</div>
                                        <div>Mar &nbsp;8 06:13:00 pbx
                                          /usr/local/sbin/opensips[6833]:
                                          ERROR:tm:t_forward_nonack:
                                          sending request failed</div>
                                        <div>Mar &nbsp;8 06:13:00 pbx
                                          /usr/local/sbin/opensips[6833]:
                                          ERROR:tm:t_forward_nonack:
                                          sending request failed</div>
                                        <div>Mar &nbsp;8 06:13:00 pbx
                                          /usr/local/sbin/opensips[6833]:
                                          ACC: transaction answered: <a
                                            moz-do-not-send="true"
                                            class="ecxmoz-txt-link-abbreviated"
href="mailto:timestamp=1331205180;method=BYE;from_tag=2214085472;to_tag=DLeadb4c5257;call_id=DL7d1280cc7a-1079834037@PC794-TalhaJ.ganz.ad;code=477;reason=Request">timestamp=1331205180;method=BYE;from_tag=2214085472;to_tag=DLeadb4c5257;call_id=DL7d1280cc7a-1079834037@PC794-TalhaJ.ganz.ad;code=477;reason=Request</a>
                                          Failure</div>
                                      </div>
                                      <div><br>
                                      </div>
                                      <div><br>
                                      </div>
                                    </div>
                                  </div>
                                </div>
                              </div>
                            </div>
                          </div>
                        </div>
                      </blockquote>
                      <br>
                      <br>
                      <pre class="ecxmoz-signature">-- 
Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a moz-do-not-send="true" class="ecxmoz-txt-link-freetext" href="http://www.opensips-solutions.com" target="_blank">http://www.opensips-solutions.com</a></pre>
                    </div>
                  </div>
                </div>
              </blockquote>
              <br>
              <br>
              <pre class="ecxmoz-signature">-- 
Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a moz-do-not-send="true" class="ecxmoz-txt-link-freetext" href="http://www.opensips-solutions.com" target="_blank">http://www.opensips-solutions.com</a></pre>
            </div>
          </div>
        </div>
      </div>
    </blockquote>
    <br>
    <br>
    <pre class="moz-signature" cols="72">-- 
Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a class="moz-txt-link-freetext" href="http://www.opensips-solutions.com">http://www.opensips-solutions.com</a></pre>
  </body>
</html>