Hello,

Pekka Pessi wrote on 22 Feb 2006:

  > Nua goes through the list of contacts in response to REGISTER,
  > if it founds a URI that matches with a URI in original REGISTER
  > request it calculates the expiration time of contact with 
  > sip_contact_expires().

I am using Sofia-SIP v1.12.10 to interoperate with a SIP trunk.

When I send REGISTER to the ITSP SBC serving as outbound proxy, the SBC itself 
typically responds with 200 OK and no authentication challenge.  The 200 OK 
includes a replica of the Contact header from the original REGISTER, and 
Sofia-SIP is able to match the URI and the 'expires' parameter takes effect.  
Sofia-SIP automatically re-registers periodically.

Occasionally, the SBC responds with an authentication challenge on behalf of 
the SIP server behind the SBC.  The authentication information is accepted and 
the SBC responds with 200 OK, but the URI in the Contact header in that 200 OK 
response has been changed from a replica in the original INVITE to the URI of 
the SBC itself.

This change to the URI appears to prevent Sofia-SIP from correlating the 
response with the REGISTER, and the 'expires' parameter does not take effect.  
Instead, some other much longer fallback timeout in Sofia-SIP must expire 
before the next re-registration is automatically sent.

Does this sound plausible?

Is the SBC doing the wrong thing by changing the Contact header, or is that 
expected and there is something else I just don't know?

Assuming the SBC is doing the wrong thing, but correcting that is beyond my 
control, is there an API function in Sofia-SIP that I can call to force set the 
re-registration timer on the fly, after I correlate the response myself?

Short of that, the only thing I can think of is to release the registration 
context and start a new registration.  But that seems like a kludge.

Any suggestions are most welcome.

Thanks.

Jim



      


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Sofia-sip-devel mailing list
Sofia-sip-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel

Reply via email to