2008/11/5 Jerry Richards <[EMAIL PROTECTED]>: > I'm setting NUTAG_SESSION_REFRESHER(nua_local_refresher) in a call to > nua_set_params() after the call to nua_create(). Outbound INVITEs are then > sent with the following header, as expected: > > Session-Expires: 3600;refresher=uac > > However, when "200 OK" is sent in reply to an INVITE, sofia-sip is setting > this header as follows: > > Session-Expires: 3600;refresher=uas > > This looks like a bug to me.
When Sofia sends INVITE it is UAC, client, when it sends 200 OK, it is UAS. There is no single preference which would make the refreshing logic to always prefer UAC. I think you can achieve it by including NUTAG_SESSION_REFRESHER(nua_local_refresher) in nua_invite() and NUTAG_SESSIONREFRESHER(nua_remote_refresher) in nua_respond() to INVITE. -- Pekka.Pessi mail at nokia.com ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Sofia-sip-devel mailing list Sofia-sip-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel