[Asterisk-Users] Re: Help on Register message with Proxy-Authorization

Kamran Ahmad p_kami at yahoo.com
Sun Dec 26 02:28:48 MST 2004


i found that here Method is REGISTER

char * pszNonce= "dcd98b7102dd2f0e8b11d0f600bfb0c093";
      char * pszCNonce = "0a4f113b";
      char * pszUser = "Mufasa";
      char * pszRealm = "testrealm at host.com";
      char * pszPass = "Circle Of Life";
      char * pszAlg = "md5";
      char szNonceCount[9] = "00000001";
      char * pszMethod = "REGISTER";
      char * pszQop = "auth";
      char * pszURI = "/dir/index.html";
      HASHHEX HA1;
      HASHHEX HA2 = "";
      HASHHEX Response;
	digcalc dig;

    dig.DigestCalcHA1(pszAlg, pszUser, pszRealm,
pszPass, pszNonce,
pszCNonce, HA1);
    dig.DigestCalcResponse(HA1, pszNonce,
szNonceCount, pszCNonce, pszQop,
       pszMethod, pszURI, HA2, Response);



		
__________________________________ 
Do you Yahoo!? 
Jazz up your holiday email with celebrity designs. Learn more. 
http://celebrity.mail.yahoo.com



More information about the asterisk-users mailing list