[asterisk-commits] jrose: trunk r366896 - /trunk/channels/sip/dialplan_functions.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Fri May 18 09:27:06 CDT 2012


Author: jrose
Date: Fri May 18 09:27:01 2012
New Revision: 366896

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=366896
Log:
chan_sip: Fix a small TEST_FRAMEWORK related error that prevents compiling

Introduced with r366842, a function call made only with TEST_FRAMEWORK enabled
was missing an argument since the function arguments were changed.

Modified:
    trunk/channels/sip/dialplan_functions.c

Modified: trunk/channels/sip/dialplan_functions.c
URL: http://svnview.digium.com/svn/asterisk/trunk/channels/sip/dialplan_functions.c?view=diff&rev=366896&r1=366895&r2=366896
==============================================================================
--- trunk/channels/sip/dialplan_functions.c (original)
+++ trunk/channels/sip/dialplan_functions.c Fri May 18 09:27:01 2012
@@ -334,7 +334,7 @@
 
 	ast_rtp_engine_register2(&test_engine, NULL);
 	/* Have to associate this with a SIP pvt and an ast_channel */
-	if (!(p = sip_alloc(NULL, NULL, 0, SIP_NOTIFY, NULL))) {
+	if (!(p = sip_alloc(NULL, NULL, 0, SIP_NOTIFY, NULL, NULL))) {
 		res = AST_TEST_NOT_RUN;
 		goto done;
 	}




More information about the asterisk-commits mailing list