[asterisk-commits] mjordan: branch 12 r417399 - /branches/12/channels/chan_pjsip.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Thu Jun 26 12:16:51 CDT 2014


Author: mjordan
Date: Thu Jun 26 12:16:44 2014
New Revision: 417399

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=417399
Log:
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


Modified:
    branches/12/channels/chan_pjsip.c

Modified: branches/12/channels/chan_pjsip.c
URL: http://svnview.digium.com/svn/asterisk/branches/12/channels/chan_pjsip.c?view=diff&rev=417399&r1=417398&r2=417399
==============================================================================
--- branches/12/channels/chan_pjsip.c (original)
+++ branches/12/channels/chan_pjsip.c Thu Jun 26 12:16:44 2014
@@ -60,6 +60,7 @@
 #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 @@
 					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;




More information about the asterisk-commits mailing list