diff --git a/channels/chan_pjsip.c b/channels/chan_pjsip.c index fcf2a4c1d9b5a7316993e92a6a8a9ebf8064df8d..ee033b5113c758ebb23ce22c3c03809d3d674da9 100644 --- a/channels/chan_pjsip.c +++ b/channels/chan_pjsip.c @@ -60,6 +60,7 @@ ASTERISK_FILE_VERSION(__FILE__, "$Revision$") #include "asterisk/threadstorage.h" #include "asterisk/features_config.h" #include "asterisk/pickup.h" +#include "asterisk/test.h" #include "asterisk/res_pjsip.h" #include "asterisk/res_pjsip_session.h" @@ -1140,7 +1141,9 @@ static int chan_pjsip_indicate(struct ast_channel *ast, int condition, const voi ao2_cleanup(channel->session); } } + ast_test_suite_event_notify("AST_CONTROL_VIDUPDATE", "Result: Success"); } else { + ast_test_suite_event_notify("AST_CONTROL_VIDUPDATE", "Result: Failure"); res = -1; } break;