--- app_txfax.c 2007-03-13 09:44:31.000000000 +0100 +++ app_txfaxParcheada.c 2007-03-13 09:48:39.000000000 +0100 @@ -86,12 +86,14 @@ { t30_get_far_ident(s, far_ident); pbx_builtin_setvar_helper(chan, "REMOTESTATIONID", far_ident); + pbx_builtin_setvar_helper(chan, "RESULTADO", "ENVIADO"); } else { ast_log(LOG_DEBUG, "==============================================================================\n"); ast_log(LOG_DEBUG, "Fax send not successful - result (%d) %s.\n", result, t30_completion_code_to_str(result)); ast_log(LOG_DEBUG, "==============================================================================\n"); + pbx_builtin_setvar_helper(chan, "RESULTADO", "ERROR"); } } /*- End of function --------------------------------------------------------*/