diff --git a/libs/esl/ivrd.c b/libs/esl/ivrd.c index 66f6908d5d..40e512e216 100644 --- a/libs/esl/ivrd.c +++ b/libs/esl/ivrd.c @@ -60,7 +60,9 @@ static void mycallback(esl_socket_t server_sock, esl_socket_t client_sock, struc return; } - system(path); + if(system(path)) { + esl_log(ESL_LOG_ERROR, "System Call Failed! [%s]\n", strerror(errno)); + } esl_disconnect(&handle); }