[asterisk-commits] mjordan: trunk r417400 - in /trunk: ./ channels/chan_pjsip.c

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


Author: mjordan
Date: Thu Jun 26 12:17:25 2014
New Revision: 417400

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

Merged revisions 417399 from http://svn.asterisk.org/svn/asterisk/branches/12

Modified:
    trunk/   (props changed)
    trunk/channels/chan_pjsip.c

Propchange: trunk/
------------------------------------------------------------------------------
Binary property 'branch-12-merged' - no diff available.

Modified: trunk/channels/chan_pjsip.c
URL: http://svnview.digium.com/svn/asterisk/trunk/channels/chan_pjsip.c?view=diff&rev=417400&r1=417399&r2=417400
==============================================================================
--- trunk/channels/chan_pjsip.c (original)
+++ trunk/channels/chan_pjsip.c Thu Jun 26 12:17:25 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