[asterisk-commits] jrose: trunk r351764 - in /trunk: ./ channels/chan_sip.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Fri Jan 20 10:01:02 CST 2012
Author: jrose
Date: Fri Jan 20 10:00:58 2012
New Revision: 351764
URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=351764
Log:
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
........
Merged revisions 351762 from http://svn.asterisk.org/svn/asterisk/branches/10
Modified:
trunk/ (props changed)
trunk/channels/chan_sip.c
Propchange: trunk/
------------------------------------------------------------------------------
Binary property 'branch-10-merged' - no diff available.
Modified: trunk/channels/chan_sip.c
URL: http://svnview.digium.com/svn/asterisk/trunk/channels/chan_sip.c?view=diff&rev=351764&r1=351763&r2=351764
==============================================================================
--- trunk/channels/chan_sip.c (original)
+++ trunk/channels/chan_sip.c Fri Jan 20 10:00:58 2012
@@ -16259,6 +16259,9 @@
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);
More information about the asterisk-commits
mailing list