Changes between Version 46 and Version 47 of FAQ


Ignore:
Timestamp:
Jun 11, 2008 7:53:17 AM (11 years ago)
Author:
bennylp
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • FAQ

    v46 v47  
    710710=== I'm trying to register to a server, but PJSIP treats the 200/OK response as unregistration. Why? === #regc 
    711711 
    712 Since circa version 0.8, the registration client session (pjsip_regc.c) has stricter checks on the Contact header(s) sent by registrar in the 200/OK response to REGISTER request. This is necessary to support multiple registrations (the same AOR is registered more than once in the server by multiple user agents), and this is how it is supposed to be done in the first place according to RFC 3261. 
     712'''''Update: this has been fixed by ticket #534. We're keeping this entry for reference only.''''' 
     713 
     714Since circa version 0.8 and up to version 0.9, the registration client session (pjsip_regc.c) has stricter checks on the Contact header(s) sent by registrar in the 200/OK response to REGISTER request. This is necessary to support multiple registrations (the same AOR is registered more than once in the server by multiple user agents), and this is how it is supposed to be done in the first place according to RFC 3261. 
    713715 
    714716Unfortunately this breaks "compatibility" with some servers, because these servers incorrectly return different Contact header(s) in the response, causing PJSIP to fail to find it's registered Contact header. When this happens, PJSIP will treat the response as unregistration response, regardless whether it's a successful (200 class) response.