Monday, April 8, 2013

MD5 asterisk encryption

How to secure your passwords in your sip.conf / users.conf?



Linux Console:

Syntax: echo -n "<user>:<realm>:<secret>" | md5sum

Example:
$ echo -n "9001:asterisk:testpass123" | md5sum
cd9fc062abcc415c6505cbbe07ec18de  -



SIP.conf / USERS.conf
# add the following in your extension
md5secret="your md5 generated password from above"

Example:
md5secret=cd9fc062abcc415c6505cbbe07ec18de

No comments:

Post a Comment