<html><body><div style="color:#000; background-color:#fff; font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:12pt"><div><span>Hi Bogdan,</span></div><div><span></span>&nbsp;</div><div><span>Thanks for the answer . I have managed to configure dispatcher and load_balancer modules.</span></div><div><span></span>&nbsp;</div><div><span>Now I can successfuly register to OpenIMS through OpenSIPS dispatcher module.</span></div><div><span></span>&nbsp;</div><div><span>But when I try to make a call with Invite message after registration through OpenSIPS I get “403 Forbidden Not registered” error.</span></div><div><span></span>&nbsp;</div><div><span>When I check the wireshark traces and check the difference between the Invite messages&nbsp; with and without OpenSIPS in between Client and OpenIMS:</span></div><div><span>The difference is changi</span><span>ng port number(from 4060 to 5060)&nbsp;when the message went
 through OpenSIPS. How I can prevent changing port number?</span></div><div><span></span>&nbsp;</div><div><span>BR,</span></div><div><span>Kaan</span></div><div><span></span>&nbsp;</div><div><span></span>&nbsp;</div><div><span></span>&nbsp;</div><span><div>&nbsp;</div><div>&nbsp;</div><div><img width="639" height="324" tabindex="-1" src="file:///C:/Users/KAAN/AppData/Local/Packages/microsoft.windowscommunicationsapps_8wekyb3d8bbwe/AC/Temp/%7BB261DD0A-2F2C-4F1C-B29F-29838813B1AC%7D.tmp"></div><div>&nbsp;</div></span><div>&nbsp;</div> <div class="qtdSeparateBR"><br><br></div><div class="yahoo_quoted" style="display: block;"> <div style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 12pt;"> <div style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 12pt;"> <div dir="ltr"> <font face="Arial" size="2"> On Monday, May 26, 2014 9:15 AM, Bogdan-Andrei Iancu
 &lt;bogdan@opensips.org&gt; wrote:<br> </font> </div>  <br><br> <div><div id="yiv3754676265">
  
    
  
  <div>
    <div><tt>Hi Kaan,<br>
        <br>
        As said, the 405 reply is from script and is trigger if you have
        initial SIP requests that are not INVITEs - check your sip
        traffic or, in the script, log (via xlog) the method name when
        this 405 is sent.<br>
        <br>
        Regards,<br>
      </tt>
      <pre>Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a href="http://www.opensips-solutions.com/" target="_blank" rel="nofollow">http://www.opensips-solutions.com/</a></pre>
      On 25.05.2014 23:45, Kaan Dandin wrote:<br>
    </div>
    <blockquote type="cite">
      
      Hi Bogdan,
      <div><br>
      </div>
      <div>Thanks for your quick answer.</div>
      <div><br>
      </div>
      <div>I have tried SIP REGISTER by loading and &nbsp;configuring
        Dispatcher module , &nbsp;but faced same error message.</div>
      <div><br>
      </div>
      <div>In the mean time , I have investigated a paper which used
        OpenSIPS as LB.</div>
      <div>In this paper it mentions that it is using Opensips as Load
        Balancer &nbsp;and also uses LB for &nbsp;SIP REGISTRATION.</div>
      <div><br>
      </div>
      <div><br>
      </div>
      <br>
      <fieldset></fieldset>
      <br>
      
      <div>,</div>
      <div><br>
      </div>
      <br>
      <fieldset></fieldset>
      <br>
      
      <div><br>
      </div>
      <div>BR,</div>
      <div>Kaan</div>
      <div><br>
      </div>
      <div>
        <div>
          <div>On 23 May 2014, at 15:47, Bogdan-Andrei Iancu &lt;<a href="mailto:bogdan@opensips.org" target="_blank" rel="nofollow" ymailto="mailto:bogdan@opensips.org">bogdan@opensips.org</a>&gt;
            wrote:</div>
          <br>
          <blockquote type="cite">

            
            <div>
              <div><tt>Kaan,<br>
                  <br>
                  The LB module is exclusively for calls (nothing else
                  than INVITEs) - because the "load" is the actual
                  number of calls (please refer to the documentation).<br>
                  <br>
                  If you want to distribute/LB other methods, I
                  recommend you using the dispatcher module.<br>
                  &nbsp;&nbsp;&nbsp; <a href="http://www.opensips.org/html/docs/modules/1.11.x/dispatcher.html" target="_blank" rel="nofollow">http://www.opensips.org/html/docs/modules/1.11.x/dispatcher.html</a><br>
                  <br>
                  Regards,<br>
                </tt>
                <pre>Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a href="http://www.opensips-solutions.com/" target="_blank" rel="nofollow">http://www.opensips-solutions.com/</a></pre>
                On 23.05.2014 13:35, Kaan Dandin wrote:<br>
              </div>
              <blockquote type="cite">
                
                <div>
                  <div>Hi Bogdan,&nbsp;</div>
                  <div><br>
                  </div>
                  <div>Thanks for the quick response.&nbsp;</div>
                  <div>The method is Register. &nbsp;I am using standard load
                    balancer configuration script generated by opensips
                    version 1.9 make menuconfig. Which lines I should
                    add for register method.?</div>
                  <div><br>
                  </div>
                  <div>BR,&nbsp;</div>
                  <div>Kaan</div>
                  <div><br>
                  </div>
                  <div><br>
                  </div>
                  <div>
                    <div style="color: rgb(87, 87, 87); font-size: 8px;">Samsung
                      Mobile tarafından gönderildi</div>
                  </div>
                </div>
                <br>
                <br>
                <div>-------- Orjinal mesaj --------</div>
                <div>Kimden: Bogdan-Andrei Iancu 
                  </div> 
                <div>Tarih:23 05 2014 13:16 (GMT+02:00) </div>
                <div>Alıcı: OpenSIPS users mailling list ,<a href="mailto:kaandandin@yahoo.com" target="_blank" rel="nofollow" ymailto="mailto:kaandandin@yahoo.com">kaandandin@yahoo.com</a>
                  </div> 
                <div>Konu: Re: [OpenSIPS-Users] Using Opensips as
                  loadbalancer(Status 405 Method not allowed 0 bindings)
                </div>
                <div><br>
                </div>
                <div><tt>Hi Kaan,<br>
                    <br>
                  </tt></div>
              </blockquote>
            </div>
          </blockquote>
          <blockquote type="cite">
            <div>
              <blockquote type="cite">
                <div><tt>If OpenSIPS is the one
                    sending the 405 reply (you can check that by simply
                    doing a sip capture on the opensips machine), it is
                    from the script - check what method you have in your
                    test traffic - that method may be rejected from the
                    script you use.<br>
                    <br>
                    Regards,<br>
                  </tt>
                  <pre>Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a href="http://www.opensips-solutions.com/" target="_blank" rel="nofollow">http://www.opensips-solutions.com/</a></pre>
                  On 22.05.2014 21:22, Kaan Dandin wrote:<br>
                </div>
                <blockquote type="cite">
                  
                  <div>
                    <div>Hi all,</div>
                    <div>&nbsp;</div>
                    <div>I am building a test environment using OpenSIPS
                      and OpenIMS.</div>
                    <div>&nbsp;</div>
                    <div>I have successfuly installed OpenIMS and able
                      to make registrations and start calls from Monster
                      client.</div>
                    <div>&nbsp;</div>
                    <div>Between the IMS client and OpenIMS P-CSCF’s , I
                      will put OpenSIPS as load balancer.</div>
                    <div>&nbsp;</div>
                    <div>I have installed OpenSIPS and&nbsp;“OpenSIPS Control
                      Panel” successfully.</div>
                    <div>&nbsp;</div>
                    <div>I have&nbsp;inserted the configuration for load
                      balancing from OpenSIPS Control Panel as
                      following.</div>
                    <div>&nbsp;</div>
                    <div>mysql&gt; select * from load_balancer;<br>
+----+----------+-----------------+-----------+------------+-------------+<br>
                      | id | group_id | dst_uri&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; | resources |
                      probe_mode | description |<br>
+----+----------+-----------------+-----------+------------+-------------+<br>
                      |&nbsp; 4 |&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1 | <a href="" rel="nofollow">sip:192.168.2.2</a> |
                      pstn=500&nbsp; |&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0 | pcscf2&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; |<br>
                      |&nbsp; 3 |&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1 | <a href="" rel="nofollow">sip:192.168.2.1</a> |
                      pstn=500&nbsp; |&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0 | pcscf1&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; |<br>
+----+----------+-----------------+-----------+------------+-------------+<br>
                    </div>
                    <div>When&nbsp; I start a registration from Monster IMS
                      client I get following error.</div>
                    <div>&nbsp;</div>
                    <div>192.168.2.10&nbsp;192.168.2.141&nbsp;SIP&nbsp;Request:
                      REGISTER <a href="" rel="nofollow">sip:open-ims.test</a></div>
                    <div>192.168.2.141&nbsp;192.168.2.10&nbsp;SIP&nbsp;Status: 405
                      Method Not Allowed&nbsp;&nbsp;&nbsp; (0 bindings)</div>
                    <div>&nbsp;</div>
                    <div>Load balancer:192.168.2.141</div>
                    <div>Client:192.168.2.10</div>
                    <div>&nbsp;</div>
                    <div>Can someone help me to identify this problem?</div>
                    <div>&nbsp;</div>
                    <div>BR,</div>
                    <div>Kaan</div>
                    <div>
                      <div>&nbsp;</div>
                      <div>Windows Posta'dan gönderildi</div>
                      <div>&nbsp;</div>
                    </div>
                  </div>
                  <br>
                  <fieldset></fieldset>
                  <br>
                  <pre>_______________________________________________
Users mailing list
<a href="mailto:Users@lists.opensips.org" target="_blank" rel="nofollow" ymailto="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank" rel="nofollow">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
                </blockquote>
                <br>
              </blockquote>
              <br>
            </div>
          </blockquote>
        </div>
        <br>
      </div>
    </blockquote>
    <br>
  </div>

</div><br><br></div>  </div> </div>  </div> </div></body></html>