[Asterisk-Users] SIP Authentication

Rick Baranowski azfhasterisk at qwest.net
Mon Jun 13 07:44:15 MST 2005


You may need to look to see if you are using peer or friend in the sip
config for this phone. We needed to change ours to friend to make it work
for us with still using secret.

 

  _____  

From: asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Stojan Sljivic
- GDS
Sent: Sunday, June 12, 2005 11:18 PM
To: 'Asterisk Users Mailing List - Non-Commercial Discussion'
Subject: RE: [Asterisk-Users] SIP Authentication

 

Hi,

 

Does anyone know the solution to this issue?

 

Regards,
Stojan Sljivic 

-----Original Message-----
From: asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Stojan Sljivic
- GDS
Sent: Friday, June 10, 2005 13:21
To: 'Asterisk Users Mailing List - Non-Commercial Discussion'
Subject: [Asterisk-Users] SIP Authentication

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/20050613/fde8332a/attachment.htm


More information about the asterisk-users mailing list