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

Kamran Ahmad
Sun, 26 Dec 2004 02:28:48 -0000

i found that here Method is REGISTER

char * pszNonce= "dcd98b7102dd2f0e8b11d0f600bfb0c093";
      char * pszCNonce = "0a4f113b";
      char * pszUser = "Mufasa";
      char * pszRealm = "testrealm@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.