Re: [SR-Users] Is there a way to detect inactive MSRP chat sessions without using SIP session timers

2016-11-18 Thread Pranathi Venkatayogi
That’s a good idea. But unfortunately blink client does not support “OPTIONS”
  Allow: SUBSCRIBE, NOTIFY, PRACK, INVITE, ACK, BYE, CANCEL, UPDATE, MESSAGE, 
REFER

Only way is to do it the hard way - Keep track of messages sent by an endpoint 
and keep it alive as long as the server receives them.

One question about dialog module in this regard –
In “How it works” section in the module description, it says -  “The dialog 
timeout is reset each time a sequential request is processed.”
What does this mean?

-Only request at SIP level for that call sent by the client causes 
reset of the timer?  Or

-Is the module smart enough to consider MSRP message sent from that 
endpoint during that call as well?

Thanks for your clarification,
Pranathi

From: Daniel-Constantin Mierla [mailto:mico...@gmail.com]
Sent: Friday, November 18, 2016 2:26 AM
To: Pranathi Venkatayogi; Kamailio (SER) - Users Mailing List
Cc: Mick McGrellis
Subject: Re: Is there a way to detect inactive MSRP chat sessions without using 
SIP session timers


Hello,

see dialog module - maybe it works solving your problem by sending OPTIONS 
keepalives within dialogs.

Cheers,
Daniel

On 17/11/16 19:02, Pranathi Venkatayogi wrote:

Hi,

  I am using MSRP feature of Blink client. I want to track when the chat starts 
and ends so I can free up server resources.

  Apparently Blink client does not send BYE when MSRP chat window closes. It 
does not support SIP session timers even.



  So potential use of SIP session timers (sst and dialog modules) is ruled out.



  Only possible way is to track every message that goes through the server and 
keep the session alive.

  If no message comes within “expiry time period”, server can send “bye” to all 
parties and tear up the session.



  Can you please comment if there are other approaches to solve this problem?

  If not, are they any modules that will help me implement the above approach 
easily?



Thanks

Pranathi



--

Daniel-Constantin Mierla

http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda

Kamailio Advanced Training, Berlin, Nov 28-30, 2016 - http://www.asipto.com
___
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users


Re: [SR-Users] Is there a way to detect inactive MSRP chat sessions without using SIP session timers

2016-11-18 Thread Daniel-Constantin Mierla
Hello,

see dialog module - maybe it works solving your problem by sending
OPTIONS keepalives within dialogs.

Cheers,
Daniel


On 17/11/16 19:02, Pranathi Venkatayogi wrote:
> Hi,
>   I am using MSRP feature of Blink client. I want to track when the
> chat starts and ends so I can free up server resources.
>   Apparently Blink client does not send BYE when MSRP chat window
> closes. It does not support SIP session timers even.
>   So potential use of SIP session timers (sst and dialog modules) is
> ruled out.
>  
>   Only possible way is to track every message that goes through the
> server and keep the session alive.
>   If no message comes within “expiry time period”, server can send
> “bye” to all parties and tear up the session.
>  
>   Can you please comment if there are other approaches to solve this
> problem?
>   If not, are they any modules that will help me implement the above
> approach easily?
>  
> Thanks
> Pranathi

-- 
Daniel-Constantin Mierla
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
Kamailio Advanced Training, Berlin, Nov 28-30, 2016 - http://www.asipto.com

___
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users


[SR-Users] Is there a way to detect inactive MSRP chat sessions without using SIP session timers

2016-11-17 Thread Pranathi Venkatayogi
Hi,

  I am using MSRP feature of Blink client. I want to track when the chat starts 
and ends so I can free up server resources.

  Apparently Blink client does not send BYE when MSRP chat window closes. It 
does not support SIP session timers even.



  So potential use of SIP session timers (sst and dialog modules) is ruled out.



  Only possible way is to track every message that goes through the server and 
keep the session alive.

  If no message comes within “expiry time period”, server can send “bye” to all 
parties and tear up the session.



  Can you please comment if there are other approaches to solve this problem?

  If not, are they any modules that will help me implement the above approach 
easily?



Thanks

Pranathi
___
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users