"Failed to forward message - Cannot locate user %s@%s\n", vm_cc, cbt->domain);
switch_log_printf(SWITCH_CHANNEL_SESSION_LOG(session),SWITCH_LOG_WARNING,"Failed to forward message - Voicemail is disabled for user %s@%s\n",vm_cc,cbt->domain);
switch_log_printf(SWITCH_CHANNEL_SESSION_LOG(session),SWITCH_LOG_ERROR,"Failed to forward message to %s\n",vm_cc);
if (zstr(var) || zstr(val)) {
continue; /* Ignore empty entires */
}
if (!strcasecmp(var, "vm-enabled")) {
vm_enabled = !switch_false(val);
}
}
if (!vm_enabled) {
switch_log_printf(SWITCH_CHANNEL_SESSION_LOG(session), SWITCH_LOG_WARNING, "Failed to forward message - Voicemail is disabled for user %s@%s\n", vm_cc, cbt->domain);