We cant do that. Thats becoz the original user may change his/her location which will result in change of ip address. We have to set host=dynamic for allownig the original user to register from anywhere.<br>So any other ideas?
<br><br><div><span class="gmail_quote">On 9/11/07, <b class="gmail_sendername">Adrian Marsh</b> <<a href="mailto:Adrian.Marsh@ubiquisys.com">Adrian.Marsh@ubiquisys.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
I believe you can use the host= to configure the allowed IP in sip.conf<br><br>________________________________________<br>From: <a href="mailto:asterisk-users-bounces@lists.digium.com">asterisk-users-bounces@lists.digium.com
</a><br>[mailto:<a href="mailto:asterisk-users-bounces@lists.digium.com">asterisk-users-bounces@lists.digium.com</a>] On Behalf Of Rizwan<br>Hisham<br>Sent: 11 September 2007 11:30<br>To: Asterisk Users Mailing List - Non-Commercial Discussion
<br>Subject: [asterisk-users] Prevent multiple sip registrations<br><br>Hi all,<br>Is there anyway i can prevent multiple sip registrations from different<br>IPs using single username in asterisk. Does asterisk provide any aid in
<br>this respect? As far as my knowledge is concerned i dont think there is<br>any support for this in asterisk, so i think i'll have to makeup a<br>script which sniffs sip packets coming for asterisk and detect for<br>
multiple register requests coming from different IPs for the same<br>username. Can anybody help?<br><br>--<br>Best Regards<br>Rizwan Hisham<br>Software Engineer<br>Axvoice Inc.<br><a href="http://www.axvoice.com">www.axvoice.com
</a><br><br>_______________________________________________<br><br>Sign up now for AstriCon 2007! September 25-28th. <a href="http://www.astricon.net/">http://www.astricon.net/</a><br><br>--Bandwidth and Colocation Provided by
<a href="http://www.api-digital.com--">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">
http://lists.digium.com/mailman/listinfo/asterisk-users</a><br></blockquote></div><br><br clear="all"><br>-- <br>Best Regards<br>Rizwan Hisham<br>Software Engineer<br>Axvoice Inc.<br><a href="http://www.axvoice.com">www.axvoice.com
</a>