mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-12 15:45:18 +00:00
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
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
Reference in New Issue
Block a user