summaryrefslogtreecommitdiff
path: root/channels/chan_pjsip.c
diff options
context:
space:
mode:
authorMatthew Jordan <mjordan@digium.com>2014-06-26 17:17:25 +0000
committerMatthew Jordan <mjordan@digium.com>2014-06-26 17:17:25 +0000
commit299e255aa931b5bb851b0e6c1aaa434afbd64ed9 (patch)
treeeb75bca1ac3b0e2d620ae1bbf9adad3ff543c1e4 /channels/chan_pjsip.c
parent6145a57c8304e6188d58d821b48cd185f55f7748 (diff)
chan_pjsip: Add a test event for fast picture updates
This will drive the test on review r3419. Note that the patch for this was done by Ben Ford, although it was slightly modified for this commit. ASTERISK-23562 Reported by: Matt Jordan ........ Merged revisions 417399 from http://svn.asterisk.org/svn/asterisk/branches/12 git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@417400 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'channels/chan_pjsip.c')
-rw-r--r--channels/chan_pjsip.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/channels/chan_pjsip.c b/channels/chan_pjsip.c
index fcf2a4c1d..ee033b511 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;