projects
/
asterisk/asterisk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f7e9213
)
Fix to "Messages-waiting"
author
Mark Spencer
<markster@digium.com>
Wed, 30 Apr 2003 18:52:40 +0000
(18:52 +0000)
committer
Mark Spencer
<markster@digium.com>
Wed, 30 Apr 2003 18:52:40 +0000
(18:52 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@938
65c4cc65
-6c06-0410-ace0-
fbb531ad65f3
channels/chan_sip.c
patch
|
blob
|
history
diff --git
a/channels/chan_sip.c
b/channels/chan_sip.c
index
919a1fd
..
1aeeb28
100755
(executable)
--- a/
channels/chan_sip.c
+++ b/
channels/chan_sip.c
@@
-2476,7
+2476,7
@@
static int transmit_notify(struct sip_pvt *p, int newmsgs, int oldmsgs)
add_header(&req, "Event", "message-summary");
add_header(&req, "Content-Type", notifymime);
- snprintf(tmp, sizeof(tmp), "Message-Waiting: %s\n", newmsgs ? "yes" : "no");
+ snprintf(tmp, sizeof(tmp), "Messages-Waiting: %s\n", newmsgs ? "yes" : "no");
snprintf(tmp2, sizeof(tmp2), "Voicemail: %d/%d\n", newmsgs, oldmsgs);
snprintf(clen, sizeof(clen), "%d", strlen(tmp) + strlen(tmp2));
add_header(&req, "Content-Length", clen);