[asterisk-commits] crichter: branch crichter/0.4.0 r39477 - /team/crichter/0.4.0/channels/

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Wed Aug 9 02:13:05 MST 2006


Author: crichter
Date: Wed Aug  9 04:13:03 2006
New Revision: 39477

URL: http://svn.digium.com/view/asterisk?rev=39477&view=rev
Log:
changed ast_pbx_start to pbx_start_chan on overlapdial as well. also made pbx_start_chan static

Modified:
    team/crichter/0.4.0/channels/chan_misdn.c

Modified: team/crichter/0.4.0/channels/chan_misdn.c
URL: http://svn.digium.com/view/asterisk/team/crichter/0.4.0/channels/chan_misdn.c?rev=39477&r1=39476&r2=39477&view=diff
==============================================================================
--- team/crichter/0.4.0/channels/chan_misdn.c (original)
+++ team/crichter/0.4.0/channels/chan_misdn.c Wed Aug  9 04:13:03 2006
@@ -260,6 +260,7 @@
 static struct ast_channel *misdn_new(struct chan_list *cl, int state,  char *exten, char *callerid, int format, int port, int c);
 static void send_digit_to_chan(struct chan_list *cl, char digit );
 
+static int pbx_start_chan(struct chan_list *ch);
 
 #define AST_CID_P(ast) ast->cid.cid_num
 #define AST_BRIDGED_P(ast) ast_bridged_channel(ast) 
@@ -562,7 +563,7 @@
 		stop_indicate(ch);
 		if (ast_exists_extension(ch->ast, ch->context, ch->bc->dad, 1, ch->bc->oad)) {
 			ch->state=MISDN_DIALING;
-			if (ast_pbx_start(ch->ast) < 0) {
+			if (pbx_start_chan(ch) < 0) {
 				chan_misdn_log(-1, ch->bc->port, "ast_pbx_start returned < 0 in misdn_overlap_dial_task\n");
 				goto misdn_overlap_dial_task_disconnect;
 			}
@@ -3278,7 +3279,7 @@
 /** Channel Queue End **/
 
 
-int pbx_start_chan(struct chan_list *ch)
+static int pbx_start_chan(struct chan_list *ch)
 {
 	int ret=ast_pbx_start(ch->ast);	
 



More information about the asterisk-commits mailing list