[asterisk-commits] kmoore: branch kmoore/stasis-mwi r382339 - /team/kmoore/stasis-mwi/channels/

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Fri Mar 1 09:38:14 CST 2013


Author: kmoore
Date: Fri Mar  1 09:38:11 2013
New Revision: 382339

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=382339
Log:
Oops...logic inversion

Modified:
    team/kmoore/stasis-mwi/channels/chan_sip.c

Modified: team/kmoore/stasis-mwi/channels/chan_sip.c
URL: http://svnview.digium.com/svn/asterisk/team/kmoore/stasis-mwi/channels/chan_sip.c?view=diff&rev=382339&r1=382338&r2=382339
==============================================================================
--- team/kmoore/stasis-mwi/channels/chan_sip.c (original)
+++ team/kmoore/stasis-mwi/channels/chan_sip.c Fri Mar  1 09:38:11 2013
@@ -16507,7 +16507,7 @@
 static void mwi_event_cb(void *userdata, struct stasis_topic *topic, struct stasis_message *msg)
 {
 	struct sip_peer *peer = userdata;
-	if (stasis_mwi_state() != stasis_message_type(msg)) {
+	if (stasis_mwi_state() == stasis_message_type(msg)) {
 		sip_send_mwi_to_peer(peer, 0);
 	}
 }




More information about the asterisk-commits mailing list