[asterisk-commits] qwell: branch qwell/ari_channel_dial r392269 - /team/qwell/ari_channel_dial/r...

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Wed Jun 19 13:33:09 CDT 2013


Author: qwell
Date: Wed Jun 19 13:33:08 2013
New Revision: 392269

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=392269
Log:
We have the dialing channel now.  Use it in ast_dial.

Modified:
    team/qwell/ari_channel_dial/res/stasis/control.c

Modified: team/qwell/ari_channel_dial/res/stasis/control.c
URL: http://svnview.digium.com/svn/asterisk/team/qwell/ari_channel_dial/res/stasis/control.c?view=diff&rev=392269&r1=392268&r2=392269
==============================================================================
--- team/qwell/ari_channel_dial/res/stasis/control.c (original)
+++ team/qwell/ari_channel_dial/res/stasis/control.c Wed Jun 19 13:33:08 2013
@@ -104,7 +104,7 @@
 
 	dial = ast_dial_create();
 	ast_dial_append(dial, tech, resource);
-	res = ast_dial_run(dial, NULL, 0);
+	res = ast_dial_run(dial, chan, 0);
 
 	if (res != AST_DIAL_RESULT_ANSWERED || !(new_chan = ast_dial_answered_steal(dial))) {
 		return NULL;




More information about the asterisk-commits mailing list