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

Re: [reSIProcate-users] Sesstion timer




After I set the session-expires as 600.

If I make the call(I'm UAC), the session-expires is 1800 within INVITE message

But if I answer an the incoming call(I'm UAS), the session-expires header value is 600 within the 200 OK mesage.

Thanks





On Tue, Dec 9, 2008 at 1:43 AM, Scott Godin <slgodin@xxxxxxxxxxxx> wrote:

Hmm strange….  If you only use MasterProfile and do not pass a UserProfile to makeInviteSession then everything should be fine – since it will use the MasterProfile as the UserProfile.

 

From: Karlsson [mailto:boost.regex@xxxxxxxxx]
Sent: Monday, December 08, 2008 12:41 PM
To: Scott Godin
Cc: resiprocate-users@xxxxxxxxxxxxxxx
Subject: 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