1
0
mirror of https://github.com/signalwire/freeswitch.git synced 2025-04-23 03:33:48 +00:00

sigh, wip cisco mwi issue

This commit is contained in:
Brian West 2013-01-29 14:45:37 -06:00
parent 25a992bc27
commit ccad34f0b5

@ -1829,6 +1829,8 @@ static void update_mwi(vm_profile_t *profile, const char *id, const char *domain
switch_event_add_header(event, SWITCH_STACK_BOTTOM, "MWI-Message-Account", "%s@%s", id, domain_name); switch_event_add_header(event, SWITCH_STACK_BOTTOM, "MWI-Message-Account", "%s@%s", id, domain_name);
switch_event_add_header(event, SWITCH_STACK_BOTTOM, "MWI-Voice-Message", "%d/%d (%d/%d)", total_new_messages, total_saved_messages, switch_event_add_header(event, SWITCH_STACK_BOTTOM, "MWI-Voice-Message", "%d/%d (%d/%d)", total_new_messages, total_saved_messages,
total_new_urgent_messages, total_saved_urgent_messages); total_new_urgent_messages, total_saved_urgent_messages);
switch_event_add_header(event, SWITCH_STACK_BOTTOM, "Cisco-MWI-Voice-Message", "%d/%d", total_new_messages, total_saved_messages);
switch_event_fire(&event); switch_event_fire(&event);