Jeremy Kister
2012-Mar-27 11:09 UTC
[asterisk-users] Fwd: Re: Authentication: username and password, also to be from the LAN
On 3/26/2012 1:11 PM, bilal ghayyad wrote:> If it possible, then is it possible to be a configuration per user?Just expanding on Jim's answer- to allow user "example" with password "secret" from 192.168.0.*, do something like: in /etc/asterisk/sip.conf: [example] type=friend secret=secret host=dynamic deny=0.0.0.0/0 permit=192.168.0.0/24 then asterisk -rx "sip reload" -- Jeremy Kister http://jeremy.kister.net./