Hey Nik,<div><br></div><div>Its not OpenSIPS sending REGISTER to Polycom but Responding Polycom that the method(register) it is request isn&#39;t allowed - this is coming from your configuration.</div><div><br></div><div>If you just want a load-balancer on top of asterisks have you followed the opensips wiki page for integrating asterisk real-time with opensips, Im sure you do.</div>
<div><br></div><div>trans=200 could also be calls=200 as I&#39;ve seen it running like this as well. Its just resource group name and max allowed resource count.</div><div><br></div><div>Regards,</div><div>Sammy.</div><div>
<br><div class="gmail_quote">On Sun, Nov 13, 2011 at 5:27 AM, Nick Khamis <span dir="ltr">&lt;<a href="mailto:symack@gmail.com">symack@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Hello Everyone,<br>
<br>
<br>
I am having a hard time registering a Polycom IP301:<br>
<br>
* 192.168.2.11 is Poly<br>
* 192.168.2.102 is OpenSIPS<br>
* 192.168.2.103 is Asterisk<br>
* 192.168.2.104 is Asterisk<br>
<br>
 The following is my ngrep:<br>
<br>
U <a href="http://192.168.2.11:5060" target="_blank">192.168.2.11:5060</a> -&gt; <a href="http://192.168.2.102:5060" target="_blank">192.168.2.102:5060</a><br>
REGISTER sip:<a href="http://192.168.2.102:5060" target="_blank">192.168.2.102:5060</a> SIP/2.0.<br>
Via: SIP/2.0/UDP 192.168.2.11;branch=z9hG4bKcf2ffccaEAFFA1E9.<br>
From: &quot;Mike Peer&quot; &lt;<a href="mailto:sip%3A1001@192.168.2.102">sip:1001@192.168.2.102</a>&gt;;tag=CCB10274-C7949905.<br>
To: &lt;<a href="mailto:sip%3A1001@192.168.2.102">sip:1001@192.168.2.102</a>&gt;.<br>
CSeq: 1 REGISTER.<br>
Call-ID: <a href="mailto:87ecdd18-8826a1a6-a85fcd57@192.168.2.11">87ecdd18-8826a1a6-a85fcd57@192.168.2.11</a>.<br>
Contact: &lt;<a href="mailto:sip%3A1001@192.168.2.11">sip:1001@192.168.2.11</a>&gt;;methods=&quot;INVITE, ACK, BYE, CANCEL,<br>
OPTIONS, INFO, MESSAGE, SUBSCRIBE, NOTIFY, PRACK, UPDATE, REFER&quot;.<br>
User-Agent: PolycomSoundPointIP-SPIP_301-UA/<a href="http://1.6.7.0098" target="_blank">1.6.7.0098</a>.<br>
Max-Forwards: 70.<br>
Expires: 3600.<br>
Content-Length: 0.<br>
<br>
U <a href="http://192.168.2.102:5060" target="_blank">192.168.2.102:5060</a> -&gt; <a href="http://192.168.2.11:5060" target="_blank">192.168.2.11:5060</a><br>
SIP/2.0 405 Method Not Allowed.<br>
Via: SIP/2.0/UDP 192.168.2.11;branch=z9hG4bKcf2ffccaEAFFA1E9.<br>
From: &quot;Mike Peer&quot; &lt;<a href="mailto:sip%3A1001@192.168.2.102">sip:1001@192.168.2.102</a>&gt;;tag=CCB10274-C7949905.<br>
To: &lt;<a href="mailto:sip%3A1001@192.168.2.102">sip:1001@192.168.2.102</a>&gt;;tag=4899a85fdda7a45fc4d7b6eb4e737879.aa2b.<br>
CSeq: 1 REGISTER.<br>
Call-ID: <a href="mailto:87ecdd18-8826a1a6-a85fcd57@192.168.2.11">87ecdd18-8826a1a6-a85fcd57@192.168.2.11</a>.<br>
Server: OpenSIPS (1.7.0-notls (i386/linux)).<br>
Content-Length: 0.<br>
<br>
Not quite sure why OpenSIPS is sending a REGISTER to the phone. I<br>
know! Wrong configuration? ;)<br>
The idea is to put a load balancing proxy, that is also in-charge of<br>
REGSITER, between the asterisk<br>
boxes and the clients. The entries I have in databaes are:<br>
<br>
insert into domain value(0,&#39;<a href="http://test.com" target="_blank">test.com</a>&#39;,now());<br>
insert into subscriber<br>
values(0,&#39;1001&#39;,&#39;<a href="http://astcluster.test.com" target="_blank">astcluster.test.com</a>&#39;,&#39;pass&#39;,&#39;<a href="mailto:mpeer@test.com">mpeer@test.com</a>&#39;,&#39;pass&#39;,&#39;pass&#39;,null);<br>

insert into load_balancer<br>
values(0,1,&#39;sip:192.168.2.103&#39;,&#39;transc=200&#39;,0,&#39;Asterisk One&#39;);<br>
insert into load_balancer<br>
values(0,2,&#39;sip:192.168.2.104&#39;,&#39;transc=200&#39;,0,&#39;Asterisk Two&#39;);<br>
<br>
<br>
A sligehtly off topic, I am under the impression that &quot;transc=200&quot;,<br>
tells our BEAUTIFUL sip proxy<br>
that only 200 SIP calls will be sent to the media servers?<br>
<br>
The configuration file is mostly default. I could post it if requred<br>
<br>
Thanks in Advance,<br>
<br>
Nick.<br>
<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>
</blockquote></div><br></div>