[Asterisk-Users] cmd Authenticiation

Matt Riddell matt.riddell at sineapps.com
Thu Mar 31 17:11:19 MST 2005


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)




More information about the asterisk-users mailing list