<div>Hi jonathan</div>
<div> </div>
<div>thx for the tips but with your solution the user can only log from one computer. .</div>
<div>I thinks your solution may be usefull if the user use a physical phone but if he use a softphone he became dependent of the IP adress. :-(<br>but I may have another way : get informations from asterisk database 'astdb'. I notice that every soft or physical phone registred on the asterisk server are referenced there.</div>
<div> </div>
<div>Harry</div>
<div><br> </div>
<div class="gmail_quote">2009/7/24 Jonathan Moore <span dir="ltr"><<a href="mailto:supermegatron@gmail.com">supermegatron@gmail.com</a>></span><br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
<div class="im">On Fri, Jul 24, 2009 at 9:22 AM, harry R<<a href="mailto:rhm.noa101@gmail.com">rhm.noa101@gmail.com</a>> wrote:<br><br>> How can I say to asterisk server : "don't accept other registration for<br>
> JOHN if you see that he's already registred on another softphone" ?<br><br></div>In sip.conf you can set permit and deny statements based on IP address.<br>
<div class="im"><br> [JOHN]<br> type=friend<br> username=john_smith<br> secret=******<br> qualify=yes<br> nat=yes<br> host=dynamic<br> canreinvite=no<br> context=internal<br> callerid="john smith" <103><br>
</div> deny=<a href="http://0.0.0.0/0.0.0.0" target="_blank">0.0.0.0/0.0.0.0</a><br> permit=<a href="http://10.10.0.12/255.255.255.255" target="_blank">10.10.0.12/255.255.255.255</a><br><br>-jonathan<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>