projects
/
asterisk/asterisk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Don't forget to build the Via when sending MESSAGE
[asterisk/asterisk.git]
/
channels
/
chan_sip.c
diff --git
a/channels/chan_sip.c
b/channels/chan_sip.c
index
0efff8c
..
1bfe85b
100644
(file)
--- a/
channels/chan_sip.c
+++ b/
channels/chan_sip.c
@@
-13175,6
+13175,7
@@
static int transmit_message_with_msg(struct sip_pvt *p, const struct ast_msg *ms
struct ast_msg_var_iterator *i;
const char *var, *val;
+ build_via(p);
initreqprep(&req, p, SIP_MESSAGE, NULL);
ast_string_field_set(p, msg_body, ast_msg_get_body(msg));
initialize_initreq(p, &req);