aboutsummaryrefslogtreecommitdiffstats
path: root/channels/chan_sip.c
diff options
context:
space:
mode:
authortwilson <twilson@f38db490-d61c-443f-a65b-d21fe96a405b>2011-06-28 00:07:47 +0000
committertwilson <twilson@f38db490-d61c-443f-a65b-d21fe96a405b>2011-06-28 00:07:47 +0000
commit5fc48e517ea50a9703e6efa5054723472a087cd7 (patch)
tree96e3b825fc077239fb74b71464d27560f367f7d0 /channels/chan_sip.c
parentd49f8f3715cf69ccdd47f191df8042abf9af78f1 (diff)
Don't forget to build the Via when sending MESSAGE
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@325046 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'channels/chan_sip.c')
-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);