diff options
author | malcolmd <malcolmd@f38db490-d61c-443f-a65b-d21fe96a405b> | 2005-07-07 19:51:33 +0000 |
---|---|---|
committer | malcolmd <malcolmd@f38db490-d61c-443f-a65b-d21fe96a405b> | 2005-07-07 19:51:33 +0000 |
commit | 3b6e3a55a2ee320d30c3e4f0701a6bc8a5e230f9 (patch) | |
tree | 4f5889ea09e2b1a520977eb226c6a51a5621dce0 | |
parent | 3b3ea2d2e4bf8993e810f840e615c28bdf8748f5 (diff) |
Hardcode urgent messages option in Voice-Message to 0
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6046 f38db490-d61c-443f-a65b-d21fe96a405b
-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); |