]> git.ipfire.org Git - thirdparty/asterisk.git/commit
res_pjsip_pubsub: Use common datastores container API. 78/2778/2
authorJoshua Colp <jcolp@digium.com>
Thu, 5 May 2016 14:14:00 +0000 (11:14 -0300)
committerJoshua Colp <jcolp@digium.com>
Mon, 9 May 2016 13:40:36 +0000 (10:40 -0300)
commitd03e170ae7e9ac577a53a948548b1871d722a9f9
treea279035a360af7c37bedd2e02cc88af5b71aec1d
parent94cd351ec422287295c79658fb3d36f04b5966a5
res_pjsip_pubsub: Use common datastores container API.

This migrates res_pjsip_pubsub over to using the newly
introduce common datastores management API instead of using
its own implementations for both subscriptions and
publications.

As well the extension state data now provides a generic
datastores container instead of a subscription. This allows
the dialog-info+xml body generator to work for both
subscriptions and publications.

ASTERISK-25999 #close

Change-Id: I773f9e4f35092da0f653566736a8647e8cfebef1
include/asterisk/res_pjsip_body_generator_types.h
include/asterisk/res_pjsip_pubsub.h
res/res_pjsip_dialog_info_body_generator.c
res/res_pjsip_exten_state.c
res/res_pjsip_pubsub.c