[asterisk-users] Fwd: Re: Authentication: username and password, also to be from the LAN
Jeremy Kister
asterisk-02 at jeremykister.com
Tue Mar 27 06:09:17 CDT 2012
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./
More information about the asterisk-users
mailing list