Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Retrieve SipApplicationSession from Servlet Context
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  2 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Alexander Reichert  
View profile  
 More options Aug 30 2012, 11:41 am
From: Alexander Reichert <alexander.h.reich...@googlemail.com>
Date: Thu, 30 Aug 2012 08:41:21 -0700 (PDT)
Local: Thurs, Aug 30 2012 11:41 am
Subject: Retrieve SipApplicationSession from Servlet Context

Hi guys,

i am wondering if there is a way to retrieve the SipApplicationSession without any SipServlet Message to be present.

My situation is as follows:

- I retrieve SipFactory from ServletContext
- SipFactory creates a Sip Application Session
- SipFactory creates and sends a REGISTER request with SAS as input
- a Sip Servlet handles the succes / error response
- now i would like to submit another request reusing the previous SAS. But at this point, i do not know where this session is stored. I assume it is managed by the context, but cannot find any getApplicationSession() method.

Any ideas?

Thanks in advance,
Alex


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Tom Smith  
View profile  
 More options Aug 30 2012, 12:18 pm
From: Tom Smith <yoto...@gmail.com>
Date: Thu, 30 Aug 2012 12:18:29 -0400
Local: Thurs, Aug 30 2012 12:18 pm
Subject: Re: [mobicents-public] Retrieve SipApplicationSession from Servlet Context
Alex:

Is there a reason you cannot send the second request from the
SipServlet that handles the REGISTER response?  You can retrieve the
SAS from the response passed to the doResponse() method.

As an alternative, if you store the ID of the SAS somewhere, you can
retrieve the SAS via SipSessionsUtil, which can be retrieved from the
ServletContext.

Tom.

On Thu, Aug 30, 2012 at 11:41 AM, Alexander Reichert


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »