]> git.ipfire.org Git - thirdparty/asterisk.git/commit
res_pjsip_pubsub: Persist subscriptions in sorcery so they are recreated on startup.
authorJoshua Colp <jcolp@digium.com>
Thu, 12 Jun 2014 11:33:13 +0000 (11:33 +0000)
committerJoshua Colp <jcolp@digium.com>
Thu, 12 Jun 2014 11:33:13 +0000 (11:33 +0000)
commit197505339d71df53be33a2c6f2b7936333f5c25e
tree03c8c7c225cd5c05cf807ecaf0af1bcdf22bbf08
parent3673d2978bb8a0f8ca5762fafe83af89a11ab532
res_pjsip_pubsub: Persist subscriptions in sorcery so they are recreated on startup.

This change makes res_pjsip_pubsub persist inbound subscriptions in sorcery. By default
this uses the local astdb but it can also be configured to store within an outside
database. When Asterisk is started these subscriptions are recreated if they have not
expired. Notifications are sent to the devices which have subscribed and they are none
the wiser that the system has restarted.

Review: https://reviewboard.asterisk.org/r/3598/

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/12@415766 65c4cc65-6c06-0410-ace0-fbb531ad65f3
contrib/ast-db-manage/config/versions/c6d929b23a8_create_pjsip_subscription_persistence_.py [new file with mode: 0644]
include/asterisk/res_pjsip.h
include/asterisk/res_pjsip_pubsub.h
res/res_pjsip.c
res/res_pjsip_exten_state.c
res/res_pjsip_mwi.c
res/res_pjsip_pubsub.c
res/res_pjsip_pubsub.exports.in