[asterisk-users] asterisk users

Jonathan Moore supermegatron at gmail.com
Fri Jul 24 09:38:52 CDT 2009


On Fri, Jul 24, 2009 at 9:22 AM, harry R<rhm.noa101 at gmail.com> wrote:

> How can I say to asterisk server : "don't accept other registration for
> JOHN if you see that he's already registred on another softphone" ?

In sip.conf you can set permit and deny statements based on IP address.

 [JOHN]
 type=friend
 username=john_smith
 secret=******
 qualify=yes
 nat=yes
 host=dynamic
 canreinvite=no
 context=internal
 callerid="john smith" <103>
 deny=0.0.0.0/0.0.0.0
 permit=10.10.0.12/255.255.255.255

-jonathan



More information about the asterisk-users mailing list