/Hi folks, // // Sorry to post a simple command, I am deep into this and hope any help // from the experts. // // I am using the command Authenticate as explained in wi-ki: I am managed to authenticiate with a single global password but my requirement will every user have their own password and contexts to call Please help me Thank you Simon / -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20050330/402ca72c/attachment.htm
How would you distinguish different users ? Umar On Thu, 31 Mar 2005 11:46:13 +0800, Simon <simon@sita.com.my> wrote:> Hi folks, Sorry to post a simple command, I am deep into this and hope any > help from the experts. I am using the command Authenticate as explained in > wi-ki: I am managed to authenticiate with a single global password but my > requirement will every user have their own password and contexts to call > Please help me Thank you Simon > _______________________________________________ > 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 > >
Simon, I am not sure if I understand you question properly. However, you can configure password for each user (peer or friend) in corresponding channel configuration file (i.e. sip.conf) HTH Alex _____ From: asterisk-users-bounces@lists.digium.com [mailto:asterisk-users-bounces@lists.digium.com] On Behalf Of Simon Sent: Wednesday, March 30, 2005 10:46 PM To: asterisk-users@lists.digium.com Subject: [Asterisk-Users] cmd Authenticiation Hi folks, Sorry to post a simple command, I am deep into this and hope any help from the experts. I am using the command Authenticate as explained in wi-ki: I am managed to authenticiate with a single global password but my requirement will every user have their own password and contexts to call Please help me Thank you Simon -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20050331/723b02c9/attachment.htm
you could do something like this: in the sip.conf or iax2.conf: add a line under the section for the user: accountcode=6578 (This being the password for that user - and assuming you are not using accountcode for something else) Then in extensions.conf put: exten => 999,1,Authenticate(${ACCOUNTCODE}) And that should work. Then other option would be to use the astdb and put a pin in for each account. -- Cheers, Matt Riddell _______________________________________________ http://www.sineapps.com/news.php (Daily Asterisk News - html) http://www.sineapps.com/rssfeed.php (Daily Asterisk News - rss)