Hi jonathan thx for the tips but with your solution the user can only log from one computer. . 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. :-( 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.
Harry 2009/7/24 Jonathan Moore <[email protected]> > On Fri, Jul 24, 2009 at 9:22 AM, harry R<[email protected]> 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 > > _______________________________________________ > -- Bandwidth and Colocation Provided by http://www.api-digital.com -- > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users >
_______________________________________________ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- AstriCon 2009 - October 13 - 15 Phoenix, Arizona Register Now: http://www.astricon.net asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
