[Asterisk-Users] SIP Authentication

Stojan Sljivic - GDS stojan.sljivic at gdspartners.com
Fri Jun 10 04:21:28 MST 2005


Hi,
 
I use SIP softphone that is not registered at Asterisk.
When I dial some extension defined in the dial plan (100 at asterisk-ip) with
my SIP softphone, Asterisk will not ask me for username/password (will not
return response 407) as I expected.
The response 407 - Authentication required will be returned if username
defined in the softphone's setting matches one of the SIP peers defined in
sip.conf.
 
This means that anyone can dial extension at my Asterisk and that is not
good,  since that person could then dial over my ZAP line.
 
How can I configure Asterisk to allow only peers defined in sip.conf to
register and dial?
 
Regards,
Stojan Sljivic
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20050610/0101536f/attachment.htm


More information about the asterisk-users mailing list