To achieve closely to a solution for your scenario (and should make you happy too :-] ), configure it as follows:-<br><ol><li>Polycom<br></li><ol><li>Configure your polycom to enable registration</li></ol><li>sip.conf</li>
<ol><li>host=dynamic</li><li>Configure the permit and deny to restrict registration from a specific IP only<br><a href="http://www.voip-info.org/wiki/view/Asterisk+sip+permit-deny-mask">http://www.voip-info.org/wiki/view/Asterisk+sip+permit-deny-mask</a><br>
</li></ol></ol>The above configuration is based on the assumption that you want to configure static IP addresses only to be able to restrict (in a sense) a specific phone for a specific SIP account in sip.conf<br><br>What say ?<br>
<br>--<br>Prince Singh<br>Drishti-Soft Solutions Pvt Ltd<br><br><div class="gmail_quote">On Mon, Dec 28, 2009 at 2:17 PM, John Marvin <span dir="ltr">&lt;<a href="mailto:jm-asterisk@themarvins.org">jm-asterisk@themarvins.org</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">I&#39;ve been using a couple of Polycom 501 phones in my home Asterisk setup. I set<br>
up each phone in sip.conf to be static, i.e. host=&lt;phone ip address&gt; so that<br>
registration wasn&#39;t required. This has worked fine for me for a couple of years.<br>
<br>
Now I just bought a Polycom 335. Since the 501&#39;s are now obsolete, I had to go<br>
through the steps required in order to have separate sip.cfg&#39;s, etc. Anyway, I<br>
got the Polycom 335 to almost work, except for the dialplan. When picking up the<br>
handset (or hitting the line 1 key) it put me in url-dialing mode, i.e. it<br>
prompted me with &quot;Enter URL&quot; and didn&#39;t follow the dialplan I had set for the<br>
phone. It took me quite some time to figure out what was going on. I finally<br>
found a paragraph in the phone&#39;s users guide that said:<br>
<br>
&gt; URL or IP dialing is not supported on registered phones. If your phone is<br>
&gt; intentionally unregistered, the default dialing mode is by URL.<br>
<br>
At least that explained the cause of the problem. I could not find a way of<br>
changing the default dialing mode for an unregistered phone. So, I figured the<br>
only answer was to register the phone. Just setting the phone&#39;s &quot;register&quot;<br>
parameter to 1 (voIpProt.server.1.register=&quot;1&quot;) fixed the problem, i.e. the<br>
phone would now prompt me with &quot;Enter Number&quot; rather than &quot;Enter URL&quot; and<br>
allowed normal numeric dialing, according to the dialplan.<br>
<br>
But of course, if I turned on verbose logging in Asterisk, it complained about<br>
the phone not needing to register. The only way I could get it to shut up and<br>
properly register was by specifying host=dynamic. I&#39;d rather not do that, so I&#39;m<br>
currently using the hack of telling the phone to register and it failing every<br>
30 seconds. This doesn&#39;t seem to break anything, but I can&#39;t say I&#39;m really<br>
happy with the solution.<br>
<br>
So, a couple of questions:<br>
<br>
1) Does anyone know of a way to disable the default URL dialing mode for an<br>
unregistered Polycom 335?<br>
<br>
2) Is there a way of configuring asterisk to allow static ip address<br>
registration in sip.conf? I can understand that this doesn&#39;t make much sense,<br>
but it appears the Polycom phone really wants to be registered. I prefer the<br>
static configuration since it is a little more secure and reliable in my opinion.<br>
<br>
3) Assuming the answer is &quot;no&quot; to 1 and 2 above, is there something I am<br>
overlooking with my &quot;hack&quot; solution? Should I just go ahead and set the phone up<br>
for dynamic registration?<br>
<br>
John<br>
<br>
_______________________________________________<br>
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" target="_blank">http://www.api-digital.com</a> --<br>
<br>
asterisk-users mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
   <a href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br>
</blockquote></div><br><br clear="all"><br><br>