diff options
author | zuul <zuul@gerrit.asterisk.org> | 2016-05-31 12:39:51 -0500 |
---|---|---|
committer | Gerrit Code Review <gerrit2@gerrit.digium.api> | 2016-05-31 12:39:51 -0500 |
commit | dffbb2d7c31481df2aa4b3624b90a131507a7a5f (patch) | |
tree | dd1f203139d960053f0a7832622bb49fa690f014 /res | |
parent | 11ea121cc86ef9387944856677d91dea17955fcb (diff) | |
parent | 8a6a14590d4c2f6c840d0e192c4113f700c682fa (diff) |
Merge "res_pjsip_mwi_body_generator: Re-order the body items"
Diffstat (limited to 'res')
-rw-r--r-- | res/res_pjsip_mwi_body_generator.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/res/res_pjsip_mwi_body_generator.c b/res/res_pjsip_mwi_body_generator.c index f46ce04e3..e8279101c 100644 --- a/res/res_pjsip_mwi_body_generator.c +++ b/res/res_pjsip_mwi_body_generator.c @@ -61,11 +61,11 @@ static int mwi_generate_body_content(void *body, void *data) 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; } |