diff options
Diffstat (limited to 'channels/chan_sip.c')
-rw-r--r-- | channels/chan_sip.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/channels/chan_sip.c b/channels/chan_sip.c index c1b4bd328..40f44ebab 100644 --- a/channels/chan_sip.c +++ b/channels/chan_sip.c @@ -27081,6 +27081,7 @@ static int sip_msg_send(const struct ast_msg *msg, const char *to, const char *f ast_string_field_set(pvt, username, to_user); } ast_sip_ouraddrfor(&pvt->sa, &pvt->ourip, pvt); + build_via(pvt); ast_set_flag(&pvt->flags[0], SIP_OUTGOING); /* XXX Does pvt->expiry need to be set? */ |