diff options
author | Malcolm Davenport <malcolmd@digium.com> | 2005-07-07 19:51:33 +0000 |
---|---|---|
committer | Malcolm Davenport <malcolmd@digium.com> | 2005-07-07 19:51:33 +0000 |
commit | f1a18b8066d100676b06cf7ee62c6a76c53b2530 (patch) | |
tree | 4f5889ea09e2b1a520977eb226c6a51a5621dce0 | |
parent | 6b7255789093d657ab5b2d9382a8b4309d85d13c (diff) |
Hardcode urgent messages option in Voice-Message to 0
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6046 65c4cc65-6c06-0410-ace0-fbb531ad65f3
-rwxr-xr-x | channels/chan_sip.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/channels/chan_sip.c b/channels/chan_sip.c index a5091e73e..e26ff1902 100755 --- a/channels/chan_sip.c +++ b/channels/chan_sip.c @@ -4563,7 +4563,7 @@ static int transmit_notify_with_mwi(struct sip_pvt *p, int newmsgs, int oldmsgs) add_header(&req, "Content-Type", default_notifymime); snprintf(tmp, sizeof(tmp), "Messages-Waiting: %s\r\n", newmsgs ? "yes" : "no"); - snprintf(tmp2, sizeof(tmp2), "Voice-Message: %d/%d\r\n", newmsgs, oldmsgs); + snprintf(tmp2, sizeof(tmp2), "Voice-Message: %d/%d (0/0)\r\n", newmsgs, oldmsgs); snprintf(clen, sizeof(clen), "%d", (int)(strlen(tmp) + strlen(tmp2))); add_header(&req, "Content-Length", clen); add_line(&req, tmp); |