mirror of
				https://github.com/asterisk/asterisk.git
				synced 2025-10-31 02:37:10 +00:00 
			
		
		
		
	Convert MWI state message type to the new stasis naming convention
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@384219 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
		| @@ -8768,7 +8768,7 @@ static void sig_pri_mwi_event_cb(void *userdata, struct stasis_subscription *sub | ||||
| 	int idx; | ||||
| 	struct stasis_mwi_state *mwi_state; | ||||
|  | ||||
| 	if (stasis_mwi_state_message() != stasis_message_type(msg)) { | ||||
| 	if (stasis_mwi_state_type() != stasis_message_type(msg)) { | ||||
| 		return; | ||||
| 	} | ||||
|  | ||||
| @@ -8826,7 +8826,7 @@ static void sig_pri_mwi_cache_update(struct sig_pri_span *pri) | ||||
| 		ast_str_reset(uniqueid); | ||||
| 		ast_str_set(&uniqueid, 0, "%s@%s", pri->mbox[idx].number, pri->mbox[idx].context); | ||||
|  | ||||
| 		msg = stasis_cache_get(stasis_mwi_topic_cached(), stasis_mwi_state_message(), ast_str_buffer(uniqueid)); | ||||
| 		msg = stasis_cache_get(stasis_mwi_topic_cached(), stasis_mwi_state_type(), ast_str_buffer(uniqueid)); | ||||
| 		if (!msg) { | ||||
| 			/* No cached event for this mailbox. */ | ||||
| 			continue; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user