summaryrefslogtreecommitdiff
path: root/res/res_pjsip_dialog_info_body_generator.c
diff options
context:
space:
mode:
authorJoshua Colp <jcolp@digium.com>2016-05-10 13:28:04 -0300
committerJoshua Colp <jcolp@digium.com>2016-05-18 18:37:27 -0500
commitd4b77dad1b0154eb3b89133d941dd8d624deda54 (patch)
treefb142127af2a5d983e1f2de3317a3fbbc6705c1e /res/res_pjsip_dialog_info_body_generator.c
parent3905997bae4096f04320d409cf1058b1dc378bda (diff)
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
Diffstat (limited to 'res/res_pjsip_dialog_info_body_generator.c')
-rw-r--r--res/res_pjsip_dialog_info_body_generator.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/res/res_pjsip_dialog_info_body_generator.c b/res/res_pjsip_dialog_info_body_generator.c
index d21af2ae6..5006b9efb 100644
--- a/res/res_pjsip_dialog_info_body_generator.c
+++ b/res/res_pjsip_dialog_info_body_generator.c
@@ -157,7 +157,7 @@ static int dialog_info_generate_body_content(void *body, void *data)
/* The maximum number of times the ast_str() for the body text can grow before we declare an XML body
* too large to send.
*/
-#define MAX_STRING_GROWTHS 3
+#define MAX_STRING_GROWTHS 6
static void dialog_info_to_string(void *body, struct ast_str **str)
{