bg111 / asterisk-chan-dongle

Automatically exported from code.google.com/p/asterisk-chan-dongle

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How can I update the password for the SMS web page?

alexiordan opened this issue · comments

commented

When I setup with install-dongle, I set a password on the webpage for sending SMS with
chan_dongle.
How can I update it?

It's just a sha-1 hash in the index file assuming the file is located in /var/www/html/sms/index.php

You can generate a new hash with:

echo "<?php echo sha1(\"My_New_Password\"); ?>" | php -q

or
http://www.sha1-online.com/

Then replace the old string with the new