I'm trying to authenticate myself with my asterisk server but I don't think that I am formatting the authentication header correctly, specifically the response value. I'm using the following formula to create the MD5 hash for the value:
String a = sipLayer.MD5Encoder("username:realm:password");
String b = sipLayer.MD5Encoder("REGISTER:sip:username@10.2.0.53:61469");
String c = sipLayer.MD5Encoder(String.format("%s:%s", a,b));
There doesn't seem to be a very active sip community, hence it is very difficult to find anything on google.
Here are my sip packets from the server. Can anybody see anything that is wrong? Thanks