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:
3212639
)
Use reqprep, not initreqprep for NOTIFY for REFER...
author
Mark Spencer
<markster@digium.com>
Wed, 6 Oct 2004 04:40:57 +0000
(
04:40
+0000)
committer
Mark Spencer
<markster@digium.com>
Wed, 6 Oct 2004 04:40:57 +0000
(
04:40
+0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3919
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
75f9c60
..
c607099
100755
(executable)
--- a/
channels/chan_sip.c
+++ b/
channels/chan_sip.c
@@
-3939,7
+3939,7
@@
static int transmit_notify_with_mwi(struct sip_pvt *p, int newmsgs, int oldmsgs)
char tmp[256];
char tmp2[256];
char clen[20];
- initreqprep(&req, p, "NOTIFY", NULL);
+ reqprep(&req, p, "NOTIFY", 0, 1);
add_header(&req, "Event", "message-summary");
add_header(&req, "Content-Type", notifymime);