<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> </div><div><span>Thanks for the answer . I have managed to configure dispatcher and load_balancer modules.</span></div><div><span></span> </div><div><span>Now I can successfuly register to OpenIMS through OpenSIPS dispatcher module.</span></div><div><span></span> </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> </div><div><span>When I check the wireshark traces and check the difference between the Invite messages 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) when the message went
through OpenSIPS. How I can prevent changing port number?</span></div><div><span></span> </div><div><span>BR,</span></div><div><span>Kaan</span></div><div><span></span> </div><div><span></span> </div><div><span></span> </div><span><div> </div><div> </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> </div></span><div> </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
<bogdan@opensips.org> 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 configuring
Dispatcher module , 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 and also uses LB for 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 <<a href="mailto:bogdan@opensips.org" target="_blank" rel="nofollow" ymailto="mailto:bogdan@opensips.org">bogdan@opensips.org</a>>
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>
<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, </div>
<div><br>
</div>
<div>Thanks for the quick response. </div>
<div>The method is Register. 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, </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> </div>
<div>I am building a test environment using OpenSIPS
and OpenIMS.</div>
<div> </div>
<div>I have successfuly installed OpenIMS and able
to make registrations and start calls from Monster
client.</div>
<div> </div>
<div>Between the IMS client and OpenIMS P-CSCF’s , I
will put OpenSIPS as load balancer.</div>
<div> </div>
<div>I have installed OpenSIPS and “OpenSIPS Control
Panel” successfully.</div>
<div> </div>
<div>I have inserted the configuration for load
balancing from OpenSIPS Control Panel as
following.</div>
<div> </div>
<div>mysql> select * from load_balancer;<br>
+----+----------+-----------------+-----------+------------+-------------+<br>
| id | group_id | dst_uri | resources |
probe_mode | description |<br>
+----+----------+-----------------+-----------+------------+-------------+<br>
| 4 | 1 | <a href="" rel="nofollow">sip:192.168.2.2</a> |
pstn=500 | 0 | pcscf2 |<br>
| 3 | 1 | <a href="" rel="nofollow">sip:192.168.2.1</a> |
pstn=500 | 0 | pcscf1 |<br>
+----+----------+-----------------+-----------+------------+-------------+<br>
</div>
<div>When I start a registration from Monster IMS
client I get following error.</div>
<div> </div>
<div>192.168.2.10 192.168.2.141 SIP Request:
REGISTER <a href="" rel="nofollow">sip:open-ims.test</a></div>
<div>192.168.2.141 192.168.2.10 SIP Status: 405
Method Not Allowed (0 bindings)</div>
<div> </div>
<div>Load balancer:192.168.2.141</div>
<div>Client:192.168.2.10</div>
<div> </div>
<div>Can someone help me to identify this problem?</div>
<div> </div>
<div>BR,</div>
<div>Kaan</div>
<div>
<div> </div>
<div>Windows Posta'dan gönderildi</div>
<div> </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>