[asterisk-commits] res pjsip mwi body generator: Re-order the body items (asterisk[13])
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Tue May 31 12:39:45 CDT 2016
Anonymous Coward #1000019 has submitted this change and it was merged.
Change subject: res_pjsip_mwi_body_generator: Re-order the body items
......................................................................
res_pjsip_mwi_body_generator: Re-order the body items
Re-ordered the body items so Message-Account is second.
Messages-Waiting: no
Message-Account: sip:1571@<IP Removed>:5060
Voice-Message: 0/0 (0/0)
ASTERISK-26065 #close
Reported-by: Ross Beer
Change-Id: If5d35a64656eac98c2dd5e490cc0b2807bed80c3
---
M res/res_pjsip_mwi_body_generator.c
1 file changed, 2 insertions(+), 2 deletions(-)
Approvals:
Richard Mudgett: Looks good to me, but someone else must approve
Anonymous Coward #1000019: Verified
Joshua Colp: Looks good to me, approved
diff --git a/res/res_pjsip_mwi_body_generator.c b/res/res_pjsip_mwi_body_generator.c
index f6aca2d..54b0782 100644
--- a/res/res_pjsip_mwi_body_generator.c
+++ b/res/res_pjsip_mwi_body_generator.c
@@ -61,11 +61,11 @@
ast_str_append(mwi, 0, "Messages-Waiting: %s\r\n",
counter->new_msgs ? "yes" : "no");
- ast_str_append(mwi, 0, "Voice-Message: %d/%d (0/0)\r\n",
- counter->new_msgs, counter->old_msgs);
if (!ast_strlen_zero(counter->message_account)) {
ast_str_append(mwi, 0, "Message-Account: %s\r\n", counter->message_account);
}
+ ast_str_append(mwi, 0, "Voice-Message: %d/%d (0/0)\r\n",
+ counter->new_msgs, counter->old_msgs);
return 0;
}
--
To view, visit https://gerrit.asterisk.org/2921
To unsubscribe, visit https://gerrit.asterisk.org/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: If5d35a64656eac98c2dd5e490cc0b2807bed80c3
Gerrit-PatchSet: 1
Gerrit-Project: asterisk
Gerrit-Branch: 13
Gerrit-Owner: George Joseph <gjoseph at digium.com>
Gerrit-Reviewer: Anonymous Coward #1000019
Gerrit-Reviewer: Joshua Colp <jcolp at digium.com>
Gerrit-Reviewer: Richard Mudgett <rmudgett at digium.com>
More information about the asterisk-commits
mailing list