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)
_______________________________________________ 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