summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--channels/chan_sip.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/channels/chan_sip.c b/channels/chan_sip.c
index 2bdd64da6..1ea54538b 100644
--- a/channels/chan_sip.c
+++ b/channels/chan_sip.c
@@ -16259,6 +16259,9 @@ static enum check_auth_result check_peer_ok(struct sip_pvt *p, char *of,
if (!ast_strlen_zero(peer->messagecontext)) {
ast_string_field_set(p, messagecontext, peer->messagecontext);
}
+ if (!ast_strlen_zero(peer->mwi_from)) {
+ ast_string_field_set(p, mwi_from, peer->mwi_from);
+ }
ast_string_field_set(p, peersecret, peer->secret);
ast_string_field_set(p, peermd5secret, peer->md5secret);
ast_string_field_set(p, language, peer->language);