Hey Nik,<div><br></div><div>Its not OpenSIPS sending REGISTER to Polycom but Responding Polycom that the method(register) it is request isn'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'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"><<a href="mailto:symack@gmail.com">symack@gmail.com</a>></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> -> <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: "Mike Peer" <<a href="mailto:sip%3A1001@192.168.2.102">sip:1001@192.168.2.102</a>>;tag=CCB10274-C7949905.<br>
To: <<a href="mailto:sip%3A1001@192.168.2.102">sip:1001@192.168.2.102</a>>.<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: <<a href="mailto:sip%3A1001@192.168.2.11">sip:1001@192.168.2.11</a>>;methods="INVITE, ACK, BYE, CANCEL,<br>
OPTIONS, INFO, MESSAGE, SUBSCRIBE, NOTIFY, PRACK, UPDATE, REFER".<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> -> <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: "Mike Peer" <<a href="mailto:sip%3A1001@192.168.2.102">sip:1001@192.168.2.102</a>>;tag=CCB10274-C7949905.<br>
To: <<a href="mailto:sip%3A1001@192.168.2.102">sip:1001@192.168.2.102</a>>;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,'<a href="http://test.com" target="_blank">test.com</a>',now());<br>
insert into subscriber<br>
values(0,'1001','<a href="http://astcluster.test.com" target="_blank">astcluster.test.com</a>','pass','<a href="mailto:mpeer@test.com">mpeer@test.com</a>','pass','pass',null);<br>
insert into load_balancer<br>
values(0,1,'sip:192.168.2.103','transc=200',0,'Asterisk One');<br>
insert into load_balancer<br>
values(0,2,'sip:192.168.2.104','transc=200',0,'Asterisk Two');<br>
<br>
<br>
A sligehtly off topic, I am under the impression that "transc=200",<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>