auth username

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

I'm working iphone and register an account I have the
following code

acc_config.cred_info [0]. pj_str realm = ((char *) [[config realm]
UTF8String]);
acc_config.cred_info [0]. pj_str scheme = ((char *) [[config
scheme] UTF8String]);
acc_config.cred_info [0]. pj_str username = ((char config *)[[[
templateInformation] sipUserName] UTF8String]);
/ / Acc_config.cred_info [0]. Pj_str username = ((char config *)[[[
templateInformation] sipAutName] UTF8String]);

but now I have to report the username and the auth auth username. And I have
problems, I saw an example and modify:
acc_config.cred_info [0]. pj_str scheme = ("Digest");
acc_config.cred_info [0]. realm = pj_str ("*");
acc_config.cred_info [0]. pj_str username = ((char config *)[[[
templateInformation] sipAutName] UTF8String]);
but this does not work, can anyone help me?

-- 
*
Saludos
*ISC Martha Patricia Sagah?n Az?a.
sagahon at gmail.com
C. 5534836918
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20101109/9edbb39c/attachment.html>


[Index of Archives]     [Asterisk Users]     [Asterisk App Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [Linux API]
  Powered by Linux