[Asterisk-Users] SIP and MD5 passwords.

Bill Leckey bleckey at tpg.com.au
Mon May 9 07:48:05 MST 2005


I'm getting myself very confused over SIP and authentication.

I'm using Grandstream phones with Asterisk.

If I have something like this:
[102]
username=102
secret=hello
restofconfig

Then authentication works fine.

However both the following cases seem to fail.

[102]
username=johnblogs
authuser=johnblogs
secret=hello
restofconfig

or

[102]
username=102
md5secret=longmd5digest
restofconfig

In order to get my md5secret I'm doing
echo -n '102:asterisk:hello' | md5sum

So, my two questions are:
1)  Can the username be different to the sip userid?
2)  Can someone please show me the exact procedures needed to use the
md5secret, including what I configure in the Grandstream?

Thank you.

-- 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: bleckey.vcf
Type: text/x-vcard
Size: 327 bytes
Desc: not available
Url : http://lists.digium.com/pipermail/asterisk-users/attachments/20050508/910f38ea/bleckey.vcf


More information about the asterisk-users mailing list