Hi Talha,<div>Just a friendly suggestion if you&#39;re very new to this. Instead of making some custom configuration with your own hands try running any sample configuration file which is closer to your voip-setup (in terms of network connectivity). For that I&#39;d again like you to describe your setup. What is it that you&#39;re trying to make and how is it setup so far !?</div>
<div><br></div><div>Regards,</div><div>Sammy.<br><br><div class="gmail_quote">On Sat, Mar 17, 2012 at 2:01 AM, Alex Ionescu <span dir="ltr">&lt;<a href="mailto:alex@opensips.org">alex@opensips.org</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
  
    
  
  <div bgcolor="#FFFFFF" text="#000000">
    Hi,<br>
    <br>
    I think that, a first step, in your case would be to use
    &quot;advertised_address&quot;.<br>
    Here, read this:<br>
    <a href="http://www.opensips.org/Resources/DocsCoreFcn17#toc24" target="_blank">http://www.opensips.org/Resources/DocsCoreFcn17#toc24</a><br>
    <br>
    Regards,<br>
    Alex<div><div class="h5"><br>
    <br>
    <br>
    On 03/16/2012 08:51 PM, talha jilal wrote:
    </div></div><blockquote type="cite"><div><div class="h5">
      
      <div dir="ltr">
        I appologise for That Bogdan,  Any suggesion ? <br>
         <br>
        Thanks ! <br>
         <br>
        Talha Jilal <br>
        <br>
        <br>
         <br>
        <div>
          <hr>
          Date: Fri, 16 Mar 2012 19:55:00 +0200<br>
          From: <a href="mailto:bogdan@opensips.org" target="_blank">bogdan@opensips.org</a><br>
          To: <a href="mailto:talha_jilal@hotmail.com" target="_blank">talha_jilal@hotmail.com</a><br>
          CC: <a href="mailto:users@lists.opensips.org" target="_blank">users@lists.opensips.org</a><br>
          Subject: Re: Users Digest, Vol 44, Issue 25<br>
          <br>
          
          Hey, considering that you get free help, culminating with the
          fact you have almost 0 knowledge in basic stuff (like making a
          simple network capture), I would not complain AT ALL about
          taking too long. So please be at least grateful for the help
          you get.<br>
          <br>
          The problem is your setup - to spare some time, you should
          mention that you actually run opensips behind NAT and you
          receive traffic from public internet. OpenSIPS is adding a RR
          header with a private IP which is not routable from the caller
          side (public internet), so caller cannot fire the ACK as
          response to the received 200 OK.<br>
          <br>
          So, your setup is bogus.<br>
          <br>
          Regards,<br>
          Bogdan<br>
          <br>
          On 03/16/2012 04:40 PM, talha jilal wrote:
          <blockquote>
            
            <div dir="ltr">Hi, 
              <div><br>
              </div>
              <div>Here you find output , </div>
              <div><br>
              </div>
              <div><a href="http://pastebin.com/ivWcFaXi" target="_blank">http://pastebin.com/ivWcFaXi</a>  <br>
                <br>
                Thanks for your help, can I get reply soon. Its taking
                too long.</div>
              <div><br>
              </div>
              <div><br>
              </div>
              <div>Thanks ! <br>
                <div>
                  <hr>
                  Date: Fri, 16 Mar 2012 13:52:36 +0200<br>
                  From: <a href="mailto:bogdan@opensips.org" target="_blank">bogdan@opensips.org</a><br>
                  To: <a href="mailto:talha_jilal@hotmail.com" target="_blank">talha_jilal@hotmail.com</a><br>
                  CC: <a href="mailto:users@lists.opensips.org" target="_blank">users@lists.opensips.org</a><br>
                  Subject: Re: Users Digest, Vol 44, Issue 25<br>
                  <br>
                  Hi,<br>
                  <br>
                  To get ngrep to filter the capturing on &quot;300&quot; do :<br>
                      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>
                    
                    <div dir="ltr"><br>
                      Hello Bogdan, 
                      <div><br>
                      </div>
                      <div><br>
                      </div>
                      <div>Here is my ngrep output, for only 300
                        extension where I am calling.  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>&lt;sip:300@svoice.dyndns.org;user=phone&gt;</a>;tag=4249013220.</div>
                        <div>Contact: &quot;300&quot; <a>&lt;sip:300@192.168.1.104:5060;transport=udp&gt;</a>.</div>
                        <div>i=&quot;300&quot;&lt;sip:&gt;.</div>
                        <div>a=X-NameLabel:300.</div>
                        <div>To: <a>&lt;sip:300@svoice.dyndns.org;user=phone&gt;</a>;tag=4249013220.</div>
                        <div>Contact: &quot;300&quot; <a>&lt;sip:300@192.168.1.104:5060;transport=udp&gt;</a>.</div>
                        <div>i=&quot;300&quot;&lt;sip:&gt;.</div>
                        <br>
                        <div>^C</div>
                        <div><br>
                        </div>
                        <font color="#000000"><b><br>
                          </b></font>
                        <div><font color="#000000"><b><br>
                            </b></font></div>
                        <div><font color="#000000"><b>Thanks ! <br>
                              Talha Jilal <br>
                              <br>
                            </b></font><br>
                          <br>
                          <div>
                            <hr>
                            Date: Wed, 14 Mar 2012 14:22:23 +0200<br>
                            From: <a href="mailto:bogdan@opensips.org" target="_blank">bogdan@opensips.org</a><br>
                            To: <a href="mailto:talha_jilal@hotmail.com" target="_blank">talha_jilal@hotmail.com</a><br>
                            CC: <a href="mailto:users@lists.opensips.org" target="_blank">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>
                                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>
                              
                              <div dir="ltr"><br>
                                Hi, 
                                <div><br>
                                  <br>
                                  Here is output with grep </div>
                                <div><br>
                                </div>
                                <div>Please advise me full command if I
                                  am doing some thing wrong, I am using
                                   centos 6.0 32 bit.</div>
                                <div><br>
                                </div>
                                <div><br>
                                </div>
                                <div>
                                  <div><br>
                                  </div>
                                  <div>-bash-4.1#  tcpdump -i eth2 -n
                                    -s0 -vvv tcp  port 5060  | 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 </div>
                                  <div><br>
                                    <div>
                                      <hr>
                                      Date: Mon, 12 Mar 2012 20:30:10
                                      +0200<br>
                                      From: <a href="mailto:bogdan@opensips.org" target="_blank">bogdan@opensips.org</a><br>
                                      To: <a href="mailto:talha_jilal@hotmail.com" target="_blank">talha_jilal@hotmail.com</a>; <a href="mailto:users@lists.opensips.org" target="_blank">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>-- 
Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a href="http://www.opensips-solutions.com/" target="_blank">http://www.opensips-solutions.com</a></pre>
                </div>
              </div>
            </div>
          </blockquote>
          <br>
          <br>
          <pre>-- 
Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a href="http://www.opensips-solutions.com/" target="_blank">http://www.opensips-solutions.com</a></pre>
        </div>
      </div>
      <br>
      <fieldset></fieldset>
      <br>
      </div></div><div class="im"><pre>_______________________________________________
Users mailing list
<a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
    </div></blockquote>
    <br>
  </div>

<br>_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a><br>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
<br></blockquote></div><br></div>