Olle E. Johansson wrote:
On 04 Jun 2014, at 19:49, SVN commits to the Digium 
repositories<[email protected]>  wrote:

Creating a branch for persisting subscriptions across restarts in PJSIP.

Why? You can terminate subscriptions at shutdown and the UA will re-subscribe 
when you're back.

The goal of my branch is to cover both best cases and worst cases. In normal circumstances then yes, we can terminate with probation or deactivated and assume the other side will re-subscribe. In worst case Asterisk has terminated unexpectedly (or "core restart now" is used) and we don't have a chance to do this. I would like the experience for the user to be that Asterisk comes back and they are subscribed, persistence achieves this in both the best and worst case scenarios.


The problem with registrations is that you can not do that.

Can you clarify what you mean by this?

--
Joshua Colp
Digium, Inc. | Senior Software Developer
445 Jan Davis Drive NW - Huntsville, AL 35806 - US
Check us out at: www.digium.com & www.asterisk.org

--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-dev mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-dev

Reply via email to