md5secret

We are using Asterisk 1.4 that has the On-Line ast-config MySQL DB that has the md5secret field in the sippeers table.

We are using PHP webpage insert-mysql commands to INTRODUCE a new phone into the sippeers TABLE.

[ul]Is there some hidden conf file gadget that allows MD5 hashing of password when registering a new SIP-phone ???
We are not forming the md5secret from the right string ???
the AMI sipreload command is not working ???[/ul]

I tried to search how to form the right string that must be hashed from the Asterisk Documentation with zero results.
Is the form of the string that is saved into the md5secret MD5($phonenumber.’:asterisk:’.$password) ???