< Previous by Date Date Index Next by Date >
< Previous in Thread Thread Index Next in Thread >

Re: [reSIProcate-users] Sesstion timer


thank you scott, I will try it, I do not using user profile so far, just using the master profile only.


On Mon, Dec 8, 2008 at 11:34 PM, Scott Godin <slgodin@xxxxxxxxxxxx> wrote:

Are you passing a user profile to makeInviteSession?  The session time will come from the user profile.  In general it's a good idea to create your user profiles using the MasterProfile as a base profile.

 

From: resiprocate-users-bounces@xxxxxxxxxxxxxxx [mailto:resiprocate-users-bounces@xxxxxxxxxxxxxxx] On Behalf Of Karlsson
Sent: Monday, December 08, 2008 8:50 AM
To: resiprocate-users@xxxxxxxxxxxxxxx
Subject: [reSIProcate-users] Sesstion timer

 

Hi all, I'm using reSIProcate 1.4.1, I have wrote these code for the session  timer(RFC40280):

    mMasterProfile->addSupportedOptionTag(Token(Symbols::Timer));
    mMasterProfile->setDefaultSessionTime(90);

    mMasterProfile->setDefaultSessionTimerMode(Profile::PreferUACRefreshes);


When I make the call, I saw the INVITE message has inclued the session-expires and mini-se headers.
But the session-expires value always is 1800 even I set it as 90 or 900, why ?

Thanks