Adds setting of mwi_from field to check_auth_result check_peer_ok

(closes ASTERISK-19057)
Reported By: Yuri
Patches: 348360chan_sip.diff uploaded by Yuri (license 5242)
........

Merged revisions 351759 from http://svn.asterisk.org/svn/asterisk/branches/1.8


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/10@351762 65c4cc65-6c06-0410-ace0-fbb531ad65f3
10-digiumphones
Jonathan Rose 14 years ago
parent e6e5f714e6
commit cba6667e46

@ -16231,6 +16231,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);

Loading…
Cancel
Save