<div dir="ltr">Thank you Bogdan. Ok  i made the alias change, and now am getting &quot;Address Incomplete&quot;  reply.  Please see the log below, am not sure what could be now causing this:<div><br></div><div>REQUEST</div><div>============</div><div><div></div><div><div class="hljs cs" style="display:block;overflow-x:auto;padding:0.5em;color:rgb(51,51,51);font-family:monospace;background:rgb(248,248,248)"><div><span class="hljs-number" style="color:rgb(0,128,128)">02</span>-<span class="hljs-number" style="color:rgb(0,128,128)">01</span> <span class="hljs-number" style="color:rgb(0,128,128)">14</span>:<span class="hljs-number" style="color:rgb(0,128,128)">58</span>:<span class="hljs-number" style="color:rgb(0,128,128)">53.144</span>: I/System.<span class="hljs-keyword" style="color:rgb(51,51,51);font-weight:bold">out</span>(<span class="hljs-number" style="color:rgb(0,128,128)">14726</span>): REGISTER sip:<span class="hljs-number" style="color:rgb(0,128,128)">192.168</span><span class="hljs-number" style="color:rgb(0,128,128)">.0</span><span class="hljs-number" style="color:rgb(0,128,128)">.46</span> SIP/<span class="hljs-number" style="color:rgb(0,128,128)">2.0</span></div><div><span class="hljs-number" style="color:rgb(0,128,128)">02</span>-<span class="hljs-number" style="color:rgb(0,128,128)">01</span> <span class="hljs-number" style="color:rgb(0,128,128)">14</span>:<span class="hljs-number" style="color:rgb(0,128,128)">58</span>:<span class="hljs-number" style="color:rgb(0,128,128)">53.144</span>: I/System.<span class="hljs-keyword" style="color:rgb(51,51,51);font-weight:bold">out</span>(<span class="hljs-number" style="color:rgb(0,128,128)">14726</span>): Via: SIP/<span class="hljs-number" style="color:rgb(0,128,128)">2.0</span>/UDP <span class="hljs-number" style="color:rgb(0,128,128)">10.0</span><span class="hljs-number" style="color:rgb(0,128,128)">.1</span><span class="hljs-number" style="color:rgb(0,128,128)">.175</span>:<span class="hljs-number" style="color:rgb(0,128,128)">30802</span>;rport;branch=z9hG4bKPjGfzHRCN4S.QyGFhBBv9njI9Amj2oU7ko</div><div>02-<span class="hljs-number" style="color:rgb(0,128,128)">01</span> <span class="hljs-number" style="color:rgb(0,128,128)">14</span>:<span class="hljs-number" style="color:rgb(0,128,128)">58</span>:<span class="hljs-number" style="color:rgb(0,128,128)">53.144</span>: I/System.<span class="hljs-keyword" style="color:rgb(51,51,51);font-weight:bold">out</span>(<span class="hljs-number" style="color:rgb(0,128,128)">14726</span>): Route: &lt;sip:<span class="hljs-number" style="color:rgb(0,128,128)">192.168</span><span class="hljs-number" style="color:rgb(0,128,128)">.4</span><span class="hljs-number" style="color:rgb(0,128,128)">.248</span>;lr&gt;</div><div><span class="hljs-number" style="color:rgb(0,128,128)">02</span>-<span class="hljs-number" style="color:rgb(0,128,128)">01</span> <span class="hljs-number" style="color:rgb(0,128,128)">14</span>:<span class="hljs-number" style="color:rgb(0,128,128)">58</span>:<span class="hljs-number" style="color:rgb(0,128,128)">53.144</span>: I/System.<span class="hljs-keyword" style="color:rgb(51,51,51);font-weight:bold">out</span>(<span class="hljs-number" style="color:rgb(0,128,128)">14726</span>): Max-Forwards: <span class="hljs-number" style="color:rgb(0,128,128)">70</span></div><div><span class="hljs-number" style="color:rgb(0,128,128)">02</span>-<span class="hljs-number" style="color:rgb(0,128,128)">01</span> <span class="hljs-number" style="color:rgb(0,128,128)">14</span>:<span class="hljs-number" style="color:rgb(0,128,128)">58</span>:<span class="hljs-number" style="color:rgb(0,128,128)">53.144</span>: I/System.<span class="hljs-keyword" style="color:rgb(51,51,51);font-weight:bold">out</span>(<span class="hljs-number" style="color:rgb(0,128,128)">14726</span>): From: &lt;sip:<span class="hljs-number" style="color:rgb(0,128,128)">1000</span>@<span class="hljs-number" style="color:rgb(0,128,128)">192.168</span><span class="hljs-number" style="color:rgb(0,128,128)">.0</span><span class="hljs-number" style="color:rgb(0,128,128)">.46</span>&gt;;tag=eNVm<span class="hljs-number" style="color:rgb(0,128,128)">.45</span>KTH3OkXAjSikua1cwsZ.XdeRE</div><div>02-<span class="hljs-number" style="color:rgb(0,128,128)">01</span> <span class="hljs-number" style="color:rgb(0,128,128)">14</span>:<span class="hljs-number" style="color:rgb(0,128,128)">58</span>:<span class="hljs-number" style="color:rgb(0,128,128)">53.144</span>: I/System.<span class="hljs-keyword" style="color:rgb(51,51,51);font-weight:bold">out</span>(<span class="hljs-number" style="color:rgb(0,128,128)">14726</span>): To: &lt;sip:<span class="hljs-number" style="color:rgb(0,128,128)">1000</span>@<span class="hljs-number" style="color:rgb(0,128,128)">192.168</span><span class="hljs-number" style="color:rgb(0,128,128)">.0</span><span class="hljs-number" style="color:rgb(0,128,128)">.46</span>&gt;</div><div><span class="hljs-number" style="color:rgb(0,128,128)">02</span>-<span class="hljs-number" style="color:rgb(0,128,128)">01</span> <span class="hljs-number" style="color:rgb(0,128,128)">14</span>:<span class="hljs-number" style="color:rgb(0,128,128)">58</span>:<span class="hljs-number" style="color:rgb(0,128,128)">53.144</span>: I/System.<span class="hljs-keyword" style="color:rgb(51,51,51);font-weight:bold">out</span>(<span class="hljs-number" style="color:rgb(0,128,128)">14726</span>): Call-ID: <span class="hljs-number" style="color:rgb(0,128,128)">9</span>TVBTDFtUPz05axr9qvyynhFWhJetb6m</div><div>02-<span class="hljs-number" style="color:rgb(0,128,128)">01</span> <span class="hljs-number" style="color:rgb(0,128,128)">14</span>:<span class="hljs-number" style="color:rgb(0,128,128)">58</span>:<span class="hljs-number" style="color:rgb(0,128,128)">53.144</span>: I/System.<span class="hljs-keyword" style="color:rgb(51,51,51);font-weight:bold">out</span>(<span class="hljs-number" style="color:rgb(0,128,128)">14726</span>): CSeq: <span class="hljs-number" style="color:rgb(0,128,128)">64838</span> REGISTER</div><div>02-<span class="hljs-number" style="color:rgb(0,128,128)">01</span> <span class="hljs-number" style="color:rgb(0,128,128)">14</span>:<span class="hljs-number" style="color:rgb(0,128,128)">58</span>:<span class="hljs-number" style="color:rgb(0,128,128)">53.144</span>: I/System.<span class="hljs-keyword" style="color:rgb(51,51,51);font-weight:bold">out</span>(<span class="hljs-number" style="color:rgb(0,128,128)">14726</span>): User-Agent: Pjsua2 Android <span class="hljs-number" style="color:rgb(0,128,128)">2.4</span><span class="hljs-number" style="color:rgb(0,128,128)">.5</span></div><div><span class="hljs-number" style="color:rgb(0,128,128)">02</span>-<span class="hljs-number" style="color:rgb(0,128,128)">01</span> <span class="hljs-number" style="color:rgb(0,128,128)">14</span>:<span class="hljs-number" style="color:rgb(0,128,128)">58</span>:<span class="hljs-number" style="color:rgb(0,128,128)">53.144</span>: I/System.<span class="hljs-keyword" style="color:rgb(51,51,51);font-weight:bold">out</span>(<span class="hljs-number" style="color:rgb(0,128,128)">14726</span>): Contact: &lt;sip:<span class="hljs-number" style="color:rgb(0,128,128)">1000</span>@<span class="hljs-number" style="color:rgb(0,128,128)">10.0</span><span class="hljs-number" style="color:rgb(0,128,128)">.1</span><span class="hljs-number" style="color:rgb(0,128,128)">.175</span>:<span class="hljs-number" style="color:rgb(0,128,128)">34708</span>;ob&gt;</div><div><span class="hljs-number" style="color:rgb(0,128,128)">02</span>-<span class="hljs-number" style="color:rgb(0,128,128)">01</span> <span class="hljs-number" style="color:rgb(0,128,128)">14</span>:<span class="hljs-number" style="color:rgb(0,128,128)">58</span>:<span class="hljs-number" style="color:rgb(0,128,128)">53.144</span>: I/System.<span class="hljs-keyword" style="color:rgb(51,51,51);font-weight:bold">out</span>(<span class="hljs-number" style="color:rgb(0,128,128)">14726</span>): Expires: <span class="hljs-number" style="color:rgb(0,128,128)">300</span></div><div><span class="hljs-number" style="color:rgb(0,128,128)">02</span>-<span class="hljs-number" style="color:rgb(0,128,128)">01</span> <span class="hljs-number" style="color:rgb(0,128,128)">14</span>:<span class="hljs-number" style="color:rgb(0,128,128)">58</span>:<span class="hljs-number" style="color:rgb(0,128,128)">53.144</span>: I/System.<span class="hljs-keyword" style="color:rgb(51,51,51);font-weight:bold">out</span>(<span class="hljs-number" style="color:rgb(0,128,128)">14726</span>): Allow: PRACK, INVITE, ACK, BYE, CANCEL, UPDATE, INFO, SUBSCRIBE, NOTIFY, REFER, MESSAGE, OPTIONS</div><div>02-<span class="hljs-number" style="color:rgb(0,128,128)">01</span> <span class="hljs-number" style="color:rgb(0,128,128)">14</span>:<span class="hljs-number" style="color:rgb(0,128,128)">58</span>:<span class="hljs-number" style="color:rgb(0,128,128)">53.144</span>: I/System.<span class="hljs-keyword" style="color:rgb(51,51,51);font-weight:bold">out</span>(<span class="hljs-number" style="color:rgb(0,128,128)">14726</span>): Content-Length:  <span class="hljs-number" style="color:rgb(0,128,128)">0</span></div><div><span class="hljs-number" style="color:rgb(0,128,128)">02</span>-<span class="hljs-number" style="color:rgb(0,128,128)">01</span> <span class="hljs-number" style="color:rgb(0,128,128)">14</span>:<span class="hljs-number" style="color:rgb(0,128,128)">58</span>:<span class="hljs-number" style="color:rgb(0,128,128)">53.144</span>: I/System.<span class="hljs-keyword" style="color:rgb(51,51,51);font-weight:bold">out</span>(<span class="hljs-number" style="color:rgb(0,128,128)">14726</span>): </div><div><span class="hljs-number" style="color:rgb(0,128,128)">02</span>-<span class="hljs-number" style="color:rgb(0,128,128)">01</span> <span class="hljs-number" style="color:rgb(0,128,128)">14</span>:<span class="hljs-number" style="color:rgb(0,128,128)">58</span>:<span class="hljs-number" style="color:rgb(0,128,128)">53.144</span>: I/System.<span class="hljs-keyword" style="color:rgb(51,51,51);font-weight:bold">out</span>(<span class="hljs-number" style="color:rgb(0,128,128)">14726</span>): --end msg--</div><div><br></div><div>REPLY</div><div>=============</div><div><br></div><div><br></div><div><span class="hljs-number" style="color:rgb(0,128,128)">02</span>-<span class="hljs-number" style="color:rgb(0,128,128)">01</span> <span class="hljs-number" style="color:rgb(0,128,128)">14</span>:<span class="hljs-number" style="color:rgb(0,128,128)">58</span>:<span class="hljs-number" style="color:rgb(0,128,128)">53.585</span>: I/System.<span class="hljs-keyword" style="color:rgb(51,51,51);font-weight:bold">out</span>(<span class="hljs-number" style="color:rgb(0,128,128)">14726</span>): SIP/<span class="hljs-number" style="color:rgb(0,128,128)">2.0</span> <span class="hljs-number" style="color:rgb(0,128,128)">484</span> Address Incomplete</div><div>02-<span class="hljs-number" style="color:rgb(0,128,128)">01</span> <span class="hljs-number" style="color:rgb(0,128,128)">14</span>:<span class="hljs-number" style="color:rgb(0,128,128)">58</span>:<span class="hljs-number" style="color:rgb(0,128,128)">53.585</span>: I/System.<span class="hljs-keyword" style="color:rgb(51,51,51);font-weight:bold">out</span>(<span class="hljs-number" style="color:rgb(0,128,128)">14726</span>): Via: SIP/<span class="hljs-number" style="color:rgb(0,128,128)">2.0</span>/UDP <span class="hljs-number" style="color:rgb(0,128,128)">10.0</span><span class="hljs-number" style="color:rgb(0,128,128)">.1</span><span class="hljs-number" style="color:rgb(0,128,128)">.175</span>:<span class="hljs-number" style="color:rgb(0,128,128)">30802</span>;received=<span class="hljs-number" style="color:rgb(0,128,128)">10.0</span><span class="hljs-number" style="color:rgb(0,128,128)">.1</span><span class="hljs-number" style="color:rgb(0,128,128)">.175</span>;rport=<span class="hljs-number" style="color:rgb(0,128,128)">30802</span>;branch=z9hG4bKPjGfzHRCN4S.QyGFhBBv9njI9Amj2oU7ko</div><div>02-<span class="hljs-number" style="color:rgb(0,128,128)">01</span> <span class="hljs-number" style="color:rgb(0,128,128)">14</span>:<span class="hljs-number" style="color:rgb(0,128,128)">58</span>:<span class="hljs-number" style="color:rgb(0,128,128)">53.585</span>: I/System.<span class="hljs-keyword" style="color:rgb(51,51,51);font-weight:bold">out</span>(<span class="hljs-number" style="color:rgb(0,128,128)">14726</span>): From: &lt;sip:<span class="hljs-number" style="color:rgb(0,128,128)">1000</span>@<span class="hljs-number" style="color:rgb(0,128,128)">192.168</span><span class="hljs-number" style="color:rgb(0,128,128)">.0</span><span class="hljs-number" style="color:rgb(0,128,128)">.46</span>&gt;;tag=eNVm<span class="hljs-number" style="color:rgb(0,128,128)">.45</span>KTH3OkXAjSikua1cwsZ.XdeRE</div><div>02-<span class="hljs-number" style="color:rgb(0,128,128)">01</span> <span class="hljs-number" style="color:rgb(0,128,128)">14</span>:<span class="hljs-number" style="color:rgb(0,128,128)">58</span>:<span class="hljs-number" style="color:rgb(0,128,128)">53.585</span>: I/System.<span class="hljs-keyword" style="color:rgb(51,51,51);font-weight:bold">out</span>(<span class="hljs-number" style="color:rgb(0,128,128)">14726</span>): To: &lt;sip:<span class="hljs-number" style="color:rgb(0,128,128)">1000</span>@<span class="hljs-number" style="color:rgb(0,128,128)">192.168</span><span class="hljs-number" style="color:rgb(0,128,128)">.0</span><span class="hljs-number" style="color:rgb(0,128,128)">.46</span>&gt;;tag=a0a925d2eca49498ea7382b7b1f63f38.d365</div><div>02-<span class="hljs-number" style="color:rgb(0,128,128)">01</span> <span class="hljs-number" style="color:rgb(0,128,128)">14</span>:<span class="hljs-number" style="color:rgb(0,128,128)">58</span>:<span class="hljs-number" style="color:rgb(0,128,128)">53.585</span>: I/System.<span class="hljs-keyword" style="color:rgb(51,51,51);font-weight:bold">out</span>(<span class="hljs-number" style="color:rgb(0,128,128)">14726</span>): Call-ID: <span class="hljs-number" style="color:rgb(0,128,128)">9</span>TVBTDFtUPz05axr9qvyynhFWhJetb6m</div><div>02-<span class="hljs-number" style="color:rgb(0,128,128)">01</span> <span class="hljs-number" style="color:rgb(0,128,128)">14</span>:<span class="hljs-number" style="color:rgb(0,128,128)">58</span>:<span class="hljs-number" style="color:rgb(0,128,128)">53.585</span>: I/System.<span class="hljs-keyword" style="color:rgb(51,51,51);font-weight:bold">out</span>(<span class="hljs-number" style="color:rgb(0,128,128)">14726</span>): CSeq: <span class="hljs-number" style="color:rgb(0,128,128)">64838</span> REGISTER</div><div>02-<span class="hljs-number" style="color:rgb(0,128,128)">01</span> <span class="hljs-number" style="color:rgb(0,128,128)">14</span>:<span class="hljs-number" style="color:rgb(0,128,128)">58</span>:<span class="hljs-number" style="color:rgb(0,128,128)">53.585</span>: I/System.<span class="hljs-keyword" style="color:rgb(51,51,51);font-weight:bold">out</span>(<span class="hljs-number" style="color:rgb(0,128,128)">14726</span>): Server: OpenSIPS (<span class="hljs-number" style="color:rgb(0,128,128)">2.1</span><span class="hljs-number" style="color:rgb(0,128,128)">.2</span> (x86_64/linux))</div><div><span class="hljs-number" style="color:rgb(0,128,128)">02</span>-<span class="hljs-number" style="color:rgb(0,128,128)">01</span> <span class="hljs-number" style="color:rgb(0,128,128)">14</span>:<span class="hljs-number" style="color:rgb(0,128,128)">58</span>:<span class="hljs-number" style="color:rgb(0,128,128)">53.585</span>: I/System.<span class="hljs-keyword" style="color:rgb(51,51,51);font-weight:bold">out</span>(<span class="hljs-number" style="color:rgb(0,128,128)">14726</span>): Content-Length: <span class="hljs-number" style="color:rgb(0,128,128)">0</span></div></div></div><div></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Feb 1, 2016 at 1:07 PM, Bogdan-Andrei Iancu <span dir="ltr">&lt;<a href="mailto:bogdan@opensips.org" target="_blank">bogdan@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 text="#000000" bgcolor="#FFFFFF">
    <tt>Hi David,<br>
      <br>
      I see. The problem is all the SIP traffic contains references to
      this </tt><tt>192.168.0.46, but opensips has no idea how to
      handle consider this IP (like local or foreign domain).<br>
      <br>
      It should handle it as local domain, so add in your cfg:<br>
          alias=&quot;</tt><tt>192.168.0.46&quot;<br>
      <br>
      Regards,<br>
    </tt><span class="">
    <pre cols="72">Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a href="http://www.opensips-solutions.com" target="_blank">http://www.opensips-solutions.com</a></pre>
    </span><div><div class="h5"><div>On 01.02.2016 12:21, David Wafula
      wrote:<br>
    </div>
    <blockquote type="cite">
      <div dir="ltr">Hi Bogdan,
        <div>OpenSips is listening on 192.168.4.248, which running in
           totally different network from freeswitch. Freeswitch is
          running on 192.168.0.46. </div>
        <div>And, my test user <a href="mailto:1000@192.168.0.46" target="_blank">1000@192.168.0.46</a>, is
          created on freeswitch. I do not have any local users on
          opensips at this stage.</div>
        <div><br>
        </div>
        <div>Regards.</div>
        <div><br>
        </div>
        <div><span style="font-family:monospace;font-size:10.4px;color:rgb(0,128,128);background-color:rgb(248,248,248)"> </span></div>
        <div><br>
        </div>
      </div>
      <div class="gmail_extra"><br>
        <div class="gmail_quote">On Mon, Feb 1, 2016 at 11:48 AM,
          Bogdan-Andrei Iancu <span dir="ltr">&lt;<a href="mailto:bogdan@opensips.org" target="_blank"></a><a href="mailto:bogdan@opensips.org" target="_blank">bogdan@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 text="#000000" bgcolor="#FFFFFF"> <tt>Hi David,<br>
                <br>
                The &quot;relay forbidden&quot; case happens when neither the FROM
                URI, nor the request URI contain a SIP domain
                served/local to OpenSIPS. In your case I see that the
                INVITE has in FROM and RURI the 192.168.0.46 SIP domain.
                Is your OpenSIPS actually listening on this IP ?<br>
                <br>
                Regards,<br>
              </tt>
              <pre cols="72">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>On 30.01.2016 17:25, David Wafula wrote:<br>
                  </div>
                </div>
              </div>
              <blockquote type="cite">
                <div>
                  <div>
                    <div dir="ltr">Hello list,
                      <div>Am quite new to opensips. So i want opensips
                        to act as an outbound proxy to freeswitch. I
                        followed the tutorial on the opensips site and
                        set up a running opensips instance (vanilla). I
                        too have a running freeswitch instance. <br clear="all">
                        <div><br>
                        </div>
                        <div>so, on my softphone, when i set outbound
                          proxy as opensips,  am able to register the
                          phone successfully to freeswitch via opensips.
                          But when i attempt to make a call, i get:</div>
                        <div><br>
                        </div>
                        <div><br>
                        </div>
                        <div>send_reply(&quot;403&quot;,&quot;Rely forbidden&quot;);<br>
                        </div>
                        <div><br>
                        </div>
                        <div><br>
                        </div>
                        <div>From the opensips config, i can see this is
                          cause by this snipped:</div>
                        <div><br>
                        </div>
                        <div>
                          <div>
                            <div style="display:block;padding:0.5em;color:rgb(51,51,51);font-family:monospace;background:rgb(248,248,248)">
                              <div><span style="color:rgb(51,51,51);font-weight:bold">if</span>
                                ( !(is_method(<span style="color:rgb(221,17,68)">&quot;REGISTER&quot;</span>)
                                 ) ) {</div>
                              <div><span style="white-space:pre-wrap">                </span></div>
                              <div><span style="white-space:pre-wrap">                </span><span style="color:rgb(51,51,51);font-weight:bold">if</span>
                                (from_uri==myself)</div>
                              <div><span style="white-space:pre-wrap">                </span></div>
                              <div><span style="white-space:pre-wrap">                </span>{</div>
                              <div><span style="white-space:pre-wrap">                        </span></div>
                              <div><span style="white-space:pre-wrap">                        </span>#
                                authenticate <span style="color:rgb(51,51,51);font-weight:bold">if</span>
                                from local subscriber</div>
                              <div><span style="white-space:pre-wrap">                        </span>#
                                authenticate all initial non-REGISTER
                                request that pretend to be</div>
                              <div><span style="white-space:pre-wrap">                        </span>#
                                <span>generated by local <span style="color:rgb(153,0,0);font-weight:bold">subscriber</span>
                                  <span>(domain from FROM URI is local)</span></span></div>
                              <div><span style="white-space:pre-wrap"><span>                        </span></span><span><span style="color:rgb(153,0,0);font-weight:bold">if</span> <span>(!proxy_authorize(<span style="color:rgb(221,17,68)">&quot;&quot;</span>,
                                    <span style="color:rgb(221,17,68)">&quot;subscriber&quot;</span>)</span>)
                                </span>{</div>
                              <div><span style="white-space:pre-wrap">                                </span>proxy_challenge(<span style="color:rgb(221,17,68)">&quot;&quot;</span>,
                                <span style="color:rgb(221,17,68)">&quot;0&quot;</span>);</div>
                              <div><span style="white-space:pre-wrap">                                </span>exit;</div>
                              <div><span style="white-space:pre-wrap">                        </span>}</div>
                              <div><span style="white-space:pre-wrap">                        </span><span style="color:rgb(51,51,51);font-weight:bold">if</span>
                                (!db_check_from()) {</div>
                              <div><span style="white-space:pre-wrap">                                </span>sl_send_reply(<span style="color:rgb(221,17,68)">&quot;403&quot;</span>,<span style="color:rgb(221,17,68)">&quot;Forbidden

                                  auth ID&quot;</span>);</div>
                              <div><span style="white-space:pre-wrap">                                </span>exit;</div>
                              <div><span style="white-space:pre-wrap">                        </span>}</div>
                              <div><span style="white-space:pre-wrap">                </span></div>
                              <div><span style="white-space:pre-wrap">                        </span>consume_credentials();</div>
                              <div><span style="white-space:pre-wrap">                        </span>#
                                caller authenticated</div>
                              <div><span style="white-space:pre-wrap">                        </span></div>
                              <div><span style="white-space:pre-wrap">                </span>}
                                <span style="color:rgb(51,51,51);font-weight:bold">else</span>
                                {</div>
                              <div><span style="white-space:pre-wrap">                        </span>#
                                <span style="color:rgb(51,51,51);font-weight:bold">if</span>
                                caller is not local, <span>then called
                                  number must be local</span></div>
                              <div><span style="white-space:pre-wrap"><span>                        </span></span></div>
                              <div><span style="white-space:pre-wrap"><span>                        </span></span><span><span style="color:rgb(153,0,0);font-weight:bold">if</span> <span>(!uri==myself)</span>
                                </span>{</div>
                              <div><span style="white-space:pre-wrap">                                </span>send_reply(<span style="color:rgb(221,17,68)">&quot;403&quot;</span>,<span style="color:rgb(221,17,68)">&quot;Rely
                                  forbidden&quot;</span>);</div>
                              <div><span style="white-space:pre-wrap">                                </span>exit;</div>
                              <div><span style="white-space:pre-wrap">                        </span>}</div>
                              <div><span style="white-space:pre-wrap">                </span>}</div>
                              <div><br>
                              </div>
                              <div><span style="white-space:pre-wrap">        </span>}</div>
                            </div>
                          </div>
                        </div>
                        <div><br>
                        </div>
                        <div>What extra configuration should i be making
                          to allow calls (INVITE etc) to be signalled
                          via opensips ?</div>
                        <div><br>
                        </div>
                        <div>Here is a sample of the SIP trace:</div>
                        <div><br>
                        </div>
                        <div>REQUEST:</div>
                        <div>===================</div>
                        <div>
                          <div>
                            <div style="display:block;padding:0.5em;color:rgb(51,51,51);font-family:monospace;background:rgb(248,248,248)">
                              <div><span style="color:rgb(0,128,128)">01</span>-<span style="color:rgb(0,128,128)">30</span>
                                <span style="color:rgb(0,128,128)">17</span>:<span style="color:rgb(0,128,128)">15</span>:<span style="color:rgb(0,128,128)">57.522</span>:
                                I/System.<span style="color:rgb(51,51,51);font-weight:bold">out</span>(<span style="color:rgb(0,128,128)">30771</span>):

                                INVITE sip:<span style="color:rgb(0,128,128)">1012</span>@<span style="color:rgb(0,128,128)">192.168</span><span style="color:rgb(0,128,128)">.0</span><span style="color:rgb(0,128,128)">.46</span>
                                SIP/<span style="color:rgb(0,128,128)">2.0</span></div>
                              <div><span style="color:rgb(0,128,128)">01</span>-<span style="color:rgb(0,128,128)">30</span>
                                <span style="color:rgb(0,128,128)">17</span>:<span style="color:rgb(0,128,128)">15</span>:<span style="color:rgb(0,128,128)">57.522</span>:
                                I/System.<span style="color:rgb(51,51,51);font-weight:bold">out</span>(<span style="color:rgb(0,128,128)">30771</span>):

                                Via: SIP/<span style="color:rgb(0,128,128)">2.0</span>/TCP

                                <span style="color:rgb(0,128,128)">10.1</span><span style="color:rgb(0,128,128)">.4</span><span style="color:rgb(0,128,128)">.24</span>:<span style="color:rgb(0,128,128)">57232</span>;rport;branch=z9hG4bKPj2Ablr3CXdtiqLbZwAwM1IY.s2phTfK3i;alias</div>
                              <div>01-<span style="color:rgb(0,128,128)">30</span>
                                <span style="color:rgb(0,128,128)">17</span>:<span style="color:rgb(0,128,128)">15</span>:<span style="color:rgb(0,128,128)">57.522</span>:
                                I/System.<span style="color:rgb(51,51,51);font-weight:bold">out</span>(<span style="color:rgb(0,128,128)">30771</span>):

                                Max-Forwards: <span style="color:rgb(0,128,128)">70</span></div>
                              <div><span style="color:rgb(0,128,128)">01</span>-<span style="color:rgb(0,128,128)">30</span>
                                <span style="color:rgb(0,128,128)">17</span>:<span style="color:rgb(0,128,128)">15</span>:<span style="color:rgb(0,128,128)">57.522</span>:
                                I/System.<span style="color:rgb(51,51,51);font-weight:bold">out</span>(<span style="color:rgb(0,128,128)">30771</span>):

                                From: sip:<span style="color:rgb(0,128,128)">1000</span>@<span style="color:rgb(0,128,128)">192.168</span><span style="color:rgb(0,128,128)">.0</span><span style="color:rgb(0,128,128)">.46</span>;tag=SgvMtXb0KnIhW0ZDWnLxDN1tglrpAPzD</div>
                              <div>01-<span style="color:rgb(0,128,128)">30</span>
                                <span style="color:rgb(0,128,128)">17</span>:<span style="color:rgb(0,128,128)">15</span>:<span style="color:rgb(0,128,128)">57.522</span>:
                                I/System.<span style="color:rgb(51,51,51);font-weight:bold">out</span>(<span style="color:rgb(0,128,128)">30771</span>):

                                To: sip:<span style="color:rgb(0,128,128)">1012</span>@<span style="color:rgb(0,128,128)">192.168</span><span style="color:rgb(0,128,128)">.0</span><span style="color:rgb(0,128,128)">.46</span></div>
                              <div><span style="color:rgb(0,128,128)">01</span>-<span style="color:rgb(0,128,128)">30</span>
                                <span style="color:rgb(0,128,128)">17</span>:<span style="color:rgb(0,128,128)">15</span>:<span style="color:rgb(0,128,128)">57.522</span>:
                                I/System.<span style="color:rgb(51,51,51);font-weight:bold">out</span>(<span style="color:rgb(0,128,128)">30771</span>):

                                Contact: &lt;sip:<span style="color:rgb(0,128,128)">1000</span>@<span style="color:rgb(0,128,128)">105.5</span><span style="color:rgb(0,128,128)">.139</span><span style="color:rgb(0,128,128)">.90</span>:<span style="color:rgb(0,128,128)">30789</span>;ob&gt;</div>
                              <div><span style="color:rgb(0,128,128)">01</span>-<span style="color:rgb(0,128,128)">30</span>
                                <span style="color:rgb(0,128,128)">17</span>:<span style="color:rgb(0,128,128)">15</span>:<span style="color:rgb(0,128,128)">57.522</span>:
                                I/System.<span style="color:rgb(51,51,51);font-weight:bold">out</span>(<span style="color:rgb(0,128,128)">30771</span>):

                                Call-ID:
                                MnJgNdYjsQsPxaxyPScBIbYydinJm9dR</div>
                              <div>01-<span style="color:rgb(0,128,128)">30</span>
                                <span style="color:rgb(0,128,128)">17</span>:<span style="color:rgb(0,128,128)">15</span>:<span style="color:rgb(0,128,128)">57.522</span>:
                                I/System.<span style="color:rgb(51,51,51);font-weight:bold">out</span>(<span style="color:rgb(0,128,128)">30771</span>):

                                CSeq: <span style="color:rgb(0,128,128)">9040</span>
                                INVITE</div>
                              <div>01-<span style="color:rgb(0,128,128)">30</span>
                                <span style="color:rgb(0,128,128)">17</span>:<span style="color:rgb(0,128,128)">15</span>:<span style="color:rgb(0,128,128)">57.522</span>:
                                I/System.<span style="color:rgb(51,51,51);font-weight:bold">out</span>(<span style="color:rgb(0,128,128)">30771</span>):

                                Route: &lt;sip:<span style="color:rgb(0,128,128)">192.168</span><span style="color:rgb(0,128,128)">.4</span><span style="color:rgb(0,128,128)">.248</span>;lr&gt;</div>
                              <div><span style="color:rgb(0,128,128)">01</span>-<span style="color:rgb(0,128,128)">30</span>
                                <span style="color:rgb(0,128,128)">17</span>:<span style="color:rgb(0,128,128)">15</span>:<span style="color:rgb(0,128,128)">57.522</span>:
                                I/System.<span style="color:rgb(51,51,51);font-weight:bold">out</span>(<span style="color:rgb(0,128,128)">30771</span>):

                                Allow: PRACK, INVITE, ACK, BYE, CANCEL,
                                UPDATE, INFO, SUBSCRIBE, NOTIFY, REFER,
                                MESSAGE, OPTIONS</div>
                              <div>01-<span style="color:rgb(0,128,128)">30</span>
                                <span style="color:rgb(0,128,128)">17</span>:<span style="color:rgb(0,128,128)">15</span>:<span style="color:rgb(0,128,128)">57.522</span>:
                                I/System.<span style="color:rgb(51,51,51);font-weight:bold">out</span>(<span style="color:rgb(0,128,128)">30771</span>):

                                Supported: replaces, <span style="color:rgb(0,128,128)">100</span>rel,
                                timer, norefersub</div>
                              <div>01-<span style="color:rgb(0,128,128)">30</span>
                                <span style="color:rgb(0,128,128)">17</span>:<span style="color:rgb(0,128,128)">15</span>:<span style="color:rgb(0,128,128)">57.522</span>:
                                I/System.<span style="color:rgb(51,51,51);font-weight:bold">out</span>(<span style="color:rgb(0,128,128)">30771</span>):

                                Session-Expires: <span style="color:rgb(0,128,128)">1800</span></div>
                              <div><span style="color:rgb(0,128,128)">01</span>-<span style="color:rgb(0,128,128)">30</span>
                                <span style="color:rgb(0,128,128)">17</span>:<span style="color:rgb(0,128,128)">15</span>:<span style="color:rgb(0,128,128)">57.522</span>:
                                I/System.<span style="color:rgb(51,51,51);font-weight:bold">out</span>(<span style="color:rgb(0,128,128)">30771</span>):

                                Min-SE: <span style="color:rgb(0,128,128)">90</span></div>
                              <div><span style="color:rgb(0,128,128)">01</span>-<span style="color:rgb(0,128,128)">30</span>
                                <span style="color:rgb(0,128,128)">17</span>:<span style="color:rgb(0,128,128)">15</span>:<span style="color:rgb(0,128,128)">57.522</span>:
                                I/System.<span style="color:rgb(51,51,51);font-weight:bold">out</span>(<span style="color:rgb(0,128,128)">30771</span>):

                                User-Agent: Pjsua2 Android <span style="color:rgb(0,128,128)">2.4</span><span style="color:rgb(0,128,128)">.5</span></div>
                              <div><span style="color:rgb(0,128,128)">01</span>-<span style="color:rgb(0,128,128)">30</span>
                                <span style="color:rgb(0,128,128)">17</span>:<span style="color:rgb(0,128,128)">15</span>:<span style="color:rgb(0,128,128)">57.522</span>:
                                I/System.<span style="color:rgb(51,51,51);font-weight:bold">out</span>(<span style="color:rgb(0,128,128)">30771</span>):

                                Content-Type: application/s</div>
                            </div>
                          </div>
                        </div>
                        <div><br>
                        </div>
                        <div>RESPONSE</div>
                        <div>====================</div>
                        <div>
                          <div>
                            <div style="display:block;overflow-x:auto;padding:0.5em;color:rgb(51,51,51);font-family:monospace;background:rgb(248,248,248)">
                              <div><span style="color:rgb(0,128,128)">01</span>-<span style="color:rgb(0,128,128)">30</span>
                                <span style="color:rgb(0,128,128)">17</span>:<span style="color:rgb(0,128,128)">15</span>:<span style="color:rgb(0,128,128)">58.123</span>:
                                I/System.<span style="color:rgb(51,51,51);font-weight:bold">out</span>(<span style="color:rgb(0,128,128)">30771</span>):

                                SIP/<span style="color:rgb(0,128,128)">2.0</span>
                                <span style="color:rgb(0,128,128)">403</span>
                                Rely forbidden</div>
                              <div>01-<span style="color:rgb(0,128,128)">30</span>
                                <span style="color:rgb(0,128,128)">17</span>:<span style="color:rgb(0,128,128)">15</span>:<span style="color:rgb(0,128,128)">58.123</span>:
                                I/System.<span style="color:rgb(51,51,51);font-weight:bold">out</span>(<span style="color:rgb(0,128,128)">30771</span>):

                                Via: SIP/<span style="color:rgb(0,128,128)">2.0</span>/TCP
                                <span style="color:rgb(0,128,128)">10.1</span><span style="color:rgb(0,128,128)">.4</span><span style="color:rgb(0,128,128)">.24</span>:<span style="color:rgb(0,128,128)">57232</span>;received=<span style="color:rgb(0,128,128)">105.5</span><span style="color:rgb(0,128,128)">.139</span><span style="color:rgb(0,128,128)">.90</span>;rport=<span style="color:rgb(0,128,128)">30689</span>;branch=z9hG4bKPj2Ablr3CXdtiqLbZwAwM1IY.s2phTfK3i;alias</div>
                              <div>01-<span style="color:rgb(0,128,128)">30</span>
                                <span style="color:rgb(0,128,128)">17</span>:<span style="color:rgb(0,128,128)">15</span>:<span style="color:rgb(0,128,128)">58.123</span>:
                                I/System.<span style="color:rgb(51,51,51);font-weight:bold">out</span>(<span style="color:rgb(0,128,128)">30771</span>):

                                From: sip:<span style="color:rgb(0,128,128)">1000</span>@<span style="color:rgb(0,128,128)">192.168</span><span style="color:rgb(0,128,128)">.0</span><span style="color:rgb(0,128,128)">.46</span>;tag=SgvMtXb0KnIhW0ZDWnLxDN1tglrpAPzD</div>
                              <div>01-<span style="color:rgb(0,128,128)">30</span>
                                <span style="color:rgb(0,128,128)">17</span>:<span style="color:rgb(0,128,128)">15</span>:<span style="color:rgb(0,128,128)">58.123</span>:
                                I/System.<span style="color:rgb(51,51,51);font-weight:bold">out</span>(<span style="color:rgb(0,128,128)">30771</span>):

                                To: sip:<span style="color:rgb(0,128,128)">1012</span>@<span style="color:rgb(0,128,128)">192.168</span><span style="color:rgb(0,128,128)">.0</span><span style="color:rgb(0,128,128)">.46</span>;tag=a0a925d2eca49498ea7382b7b1f63f38<span style="color:rgb(0,128,128)">.62</span>df</div>
                              <div>01-<span style="color:rgb(0,128,128)">30</span>
                                <span style="color:rgb(0,128,128)">17</span>:<span style="color:rgb(0,128,128)">15</span>:<span style="color:rgb(0,128,128)">58.123</span>:
                                I/System.<span style="color:rgb(51,51,51);font-weight:bold">out</span>(<span style="color:rgb(0,128,128)">30771</span>):

                                Call-ID:
                                MnJgNdYjsQsPxaxyPScBIbYydinJm9dR</div>
                              <div>01-<span style="color:rgb(0,128,128)">30</span>
                                <span style="color:rgb(0,128,128)">17</span>:<span style="color:rgb(0,128,128)">15</span>:<span style="color:rgb(0,128,128)">58.123</span>:
                                I/System.<span style="color:rgb(51,51,51);font-weight:bold">out</span>(<span style="color:rgb(0,128,128)">30771</span>):

                                CSeq: <span style="color:rgb(0,128,128)">9040</span>
                                INVITE</div>
                              <div>01-<span style="color:rgb(0,128,128)">30</span>
                                <span style="color:rgb(0,128,128)">17</span>:<span style="color:rgb(0,128,128)">15</span>:<span style="color:rgb(0,128,128)">58.123</span>:
                                I/System.<span style="color:rgb(51,51,51);font-weight:bold">out</span>(<span style="color:rgb(0,128,128)">30771</span>):

                                Server: OpenSIPS (<span style="color:rgb(0,128,128)">2.1</span><span style="color:rgb(0,128,128)">.2</span>
                                (x86_64/linux))</div>
                              <div><span style="color:rgb(0,128,128)">01</span>-<span style="color:rgb(0,128,128)">30</span>
                                <span style="color:rgb(0,128,128)">17</span>:<span style="color:rgb(0,128,128)">15</span>:<span style="color:rgb(0,128,128)">58.123</span>:
                                I/System.<span style="color:rgb(51,51,51);font-weight:bold">out</span>(<span style="color:rgb(0,128,128)">30771</span>):

                                Content-Length: <span style="color:rgb(0,128,128)">0</span></div>
                            </div>
                          </div>
                        </div>
                        <div><br>
                        </div>
                        -- <br>
                        <div>David</div>
                      </div>
                    </div>
                    <br>
                    <fieldset></fieldset>
                    <br>
                  </div>
                </div>
                <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>
              </blockquote>
              <br>
            </div>
          </blockquote>
        </div>
        <br>
        <br clear="all">
        <div><br>
        </div>
        -- <br>
        <div>David Wafula</div>
      </div>
    </blockquote>
    <br>
  </div></div></div>

</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature">David Wafula</div>
</div>