mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-27 06:31:54 +00:00
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) git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@351759 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -15900,8 +15900,14 @@ static enum check_auth_result check_peer_ok(struct sip_pvt *p, char *of,
|
||||
p->callingpres = peer->callingpres;
|
||||
}
|
||||
ast_string_field_set(p, fullcontact, peer->fullcontact);
|
||||
if (!ast_strlen_zero(peer->context))
|
||||
|
||||
if (!ast_strlen_zero(peer->context)) {
|
||||
ast_string_field_set(p, context, peer->context);
|
||||
}
|
||||
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);
|
||||
|
||||
Reference in New Issue
Block a user