]> git.ipfire.org Git - thirdparty/asterisk.git/commit
res_pjsip_exten_state: Use the extension for publishing to. 08/2808/5
authorJoshua Colp <jcolp@digium.com>
Tue, 10 May 2016 16:28:04 +0000 (13:28 -0300)
committerJoshua Colp <jcolp@digium.com>
Wed, 18 May 2016 23:37:27 +0000 (18:37 -0500)
commitd4b77dad1b0154eb3b89133d941dd8d624deda54
treefb142127af2a5d983e1f2de3317a3fbbc6705c1e
parent3905997bae4096f04320d409cf1058b1dc378bda
res_pjsip_exten_state: Use the extension for publishing to.

This change uses the newly added multi-user support for
outbound publish to publish to the specific user that an
extension state change is for.

This also extends the res_pjsip_outbound_publish support
to include the user specific From and To URI information in
the outbound publishing of extension state. Since the URI
is used when constructing the body it is important to ensure
that the correct local and remote URIs are used.

Finally the max string growths for the dialog-info+xml
body generator has been increased as through testing it has
proven to be too conservative.

ASTERISK-25965

Change-Id: I668fdf697b1e171d4c7e6f282b2e1590f8356ca1
include/asterisk/res_pjsip_outbound_publish.h
res/res_pjsip_dialog_info_body_generator.c
res/res_pjsip_exten_state.c
res/res_pjsip_outbound_publish.c