summaryrefslogtreecommitdiff
path: root/channels
diff options
context:
space:
mode:
authorTerry Wilson <twilson@digium.com>2011-06-28 00:07:47 +0000
committerTerry Wilson <twilson@digium.com>2011-06-28 00:07:47 +0000
commit04fc1c6ceadc51ffd7bebc8540d256ed57a79d1f (patch)
tree96e3b825fc077239fb74b71464d27560f367f7d0 /channels
parentdb15b0010cc8c31faa25d235bd50091ff5e79dd5 (diff)
Don't forget to build the Via when sending MESSAGE
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@325046 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'channels')
-rw-r--r--channels/chan_sip.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/channels/chan_sip.c b/channels/chan_sip.c
index 0efff8c89..1bfe85bd6 100644
--- 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);