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.

-- 


begin:vcard
fn:Bill Leckey
n:Leckey;Bill
org:TPG;TPG Research
adr:;;53 Dundas Court;Phillip;ACT;2606;Australia
email;internet:[EMAIL PROTECTED]
title:Senior Software Design Engineer
tel;work:+61 2 62851711 (at voice prompt dial 0120)
tel;fax:+61 2 62853939
x-mozilla-html:TRUE
url:http://www.tpg.com.au
version:2.1
end:vcard

_______________________________________________
Asterisk-Users mailing list
[email protected]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to