Hello, I took sample code so for pjsip_auth_clt_set_credentials() I call with following code : pjsip_cred_info cred[1]; cred[0].realm = pj_str("*"); cred[0].scheme = pj_str("Digest"); cred[0].username = pj_str("username"); cred[0].data_type = PJSIP_CRED_DATA_PLAIN_PASSWD; cred[0].data = pj_str("pwd"); status = pjsip_auth_clt_set_credentials( &dlg->auth_sess, 1, cred); pjsip_auth_clt_set_credentials returns PJ_SUCCESS. I call software : simpleua sip:0121346 at SIP_DOMAIN I join log file. There are two problems at starting 09:18:53.069 sip_transport_ Error setting SO_RCVBUF: No buffer space available [120055] 09:18:53.069 sip_transport_ Error setting SO_SNDBUF: No buffer space available [120055] and during call: 09:18:53.201 tsx0x837e64 Incoming Response msg 403/INVITE/cseq=11481 (rdata0x81a664) in state Proceeding Samuel Benny Prijono a ?crit : > Samuel Vinson wrote: > >> Hello, >> >> I try to understand my problem so I test with simpleua application. >> But to connect to my SIP provider, I need to resolve a challenge, so I >> define all parameters in pjsip_cred_info >> and call pjsip_auth_clt_set_credentials. >> But it's not enough to authenticate me. >> What function must I call to realize authentication without pjsua ? >> > > That should be all. Which object did you set > pjsip_auth_clt_set_credentials() to? And what is the error status of > the authentication? > > cheers, > -benny > > >> Best regards >> >> Samuel >> > > > _______________________________________________ > Visit our blog: http://blog.pjsip.org > > pjsip mailing list > pjsip at lists.pjsip.org > http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org > > > -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: log-simpleua.txt Url: http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20071227/5ff25536/attachment-0001.txt