dect
/
asterisk
Archived
13
0
Fork 0

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
This commit is contained in:
twilson 2011-06-28 00:07:47 +00:00
parent d49f8f3715
commit 5fc48e517e
1 changed files with 1 additions and 0 deletions

View File

@ -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);