[asterisk-users] Hide the plain text password

Leif Madsen leif.madsen at asteriskdocs.org
Mon Feb 14 16:21:20 CST 2011


On 11-02-14 05:10 PM, Kevin P. Fleming wrote:
> On 02/14/2011 04:08 PM, Jian Gao wrote:
>> I am building a server for a client. I want them to try out the new
>> Google Voice feature using my GV account. But I don't want expose my
>> GV's password.
>
> There is no method to obscure a Google Voice password in the config file.
> chan_sip supports obscured passwords using 'md5secret', but all other protocols
> that Asterisk supports need the password in plaintext to be able to perform the
> authentication process required by that protocol.

You could use the #exec method to execute a script, where the configuration can 
be generated in any method you want on module load. In that way, you can 
extrapolate the information outside of Asterisk and secure it using any method 
you want.

Leif.




More information about the asterisk-users mailing list