SIP auth credential

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

 



Hi all,

  Sorry if the question is repeated, but I've searched the list and not
found any answer.

  I'm using some code based on the pjsua_simple example, but I keep getting
the* PJSIP_ENOCREDENTIAL* error.

  I've already checked out the realm problem, tried using "*" and
"asterisk", but the problem is lower:

  I've put some code to show on the PJ log the number of registered
credentials, with the following line:

*PJ_LOG(4,(THIS_FILE, "totCred: %d", sess->cred_cnt));*

  right on the start of the *auth_find_cred()* function.

  This log shows me that there are 0 credentials on the list, so it will
iterate over a zero size list and give me the error that no valid
credentials where found.

   What am I doing wrong? The code base is pjsua_simple.c

Thanks,
Gabriel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20101214/5be6a2b1/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