Hello there, I am playing around with Asterisk the first time and it really looks great. ;-) However, I have one problem: Any SIP device can connect to my PBX. How can I requre logon for SIP users and deny access in the case of wrong or missing credentials? Thanks Florian
You can set the default sip context to a nonexistant, and set the correct one in the peer definition... Although i guess there must be a better solution ;) JulianJM On Tue, 11 Jan 2005 11:35:36 +0100, Florian Effenberger <floeff@arcor.de> wrote:> Hello there, > > I am playing around with Asterisk the first time and it really looks > great. ;-) > > However, I have one problem: Any SIP device can connect to my PBX. How > can I requre logon for SIP users and deny access in the case of wrong or > missing credentials? > > Thanks > Florian > _______________________________________________ > Asterisk-Users mailing list > Asterisk-Users@lists.digium.com > http://lists.digium.com/mailman/listinfo/asterisk-users > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users >
> You can set the default sip context to a nonexistant, and set the > correct one in the peer definition... Although i guess there must be a > better solution ;);-)
Greeting Florian, You can do it a couple of ways. Under the SIP config put md5secret= or secret= flags. This will require the phone itself to answer and give authorization information. You will need access to the phone to set the memory in the phone to the correct answers. You can also use RADIUS to check that the Originate and the Answer leg DID's are allowed. You can create dialplans that look that the dialed numbers and the caller and make a descision. All depends on your call volume and your needs as to how deep you do the work. Race "The Tyrant" Vanderdecken -----Original Message----- From: asterisk-users-bounces@lists.digium.com [mailto:asterisk-users-bounces@lists.digium.com] On Behalf Of Florian Effenberger Sent: 11 January 2005 05:36 To: asterisk-users@lists.digium.com Subject: [Asterisk-Users] requiring logon for SIP users Hello there, I am playing around with Asterisk the first time and it really looks great. ;-) However, I have one problem: Any SIP device can connect to my PBX. How can I requre logon for SIP users and deny access in the case of wrong or missing credentials? Thanks Florian _______________________________________________ Asterisk-Users mailing list Asterisk-Users@lists.digium.com http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users