Home > other >  Exosip registered failure, return to 3 OSIP_WRONG_STATE errors
Exosip registered failure, return to 3 OSIP_WRONG_STATE errors

Time:09-24

After sending a registration information, the server returns a registered failure, response value is 401, and then I according to the event - & gt; Rid to create a osip_message_t ready to send a registered package with authentication information, in the call eXosip_register_build_register function returns - 3 failed

EXosip_register_build_register (int rids, int expires, osip_message_t * * reg)
This function always returns - 3, view the source code is found at the bottom of this function that went wrong in the code,
If (j.r. & gt; R_last_tr!=NULL)
{
If (j.r. & gt; R_last_tr - & gt; The state!=NICT_TERMINATED
& & J. r. & gt; R_last_tr - & gt; The state!=NICT_COMPLETED)
{
Return OSIP_WRONG_STATE;
}
}

About this question, http://bbs.csdn.net/topics/370224106, here to save authentication information, send a heartbeat, still don't understand, consult everybody

CodePudding user response:

Heartbeat is according to the different server providers, have different requirements, some need to send the registration packet

CodePudding user response:

You don't have access to the building of the authentication mask,

CodePudding user response:

401 no processing is completed, check the 401 process, pay attention to things

CodePudding user response:

Why did no one answer the question
  • Related