[Asterisk-cvs] asterisk/res res_parking.c,1.21,1.22
citats at lists.digium.com
citats at lists.digium.com
Tue Apr 27 17:15:42 CDT 2004
Update of /usr/cvsroot/asterisk/res
In directory mongoose.digium.com:/home/citats/cvs/asterisk/res
Modified Files:
res_parking.c
Log Message:
Revert formatting changes
Index: res_parking.c
===================================================================
RCS file: /usr/cvsroot/asterisk/res/res_parking.c,v
retrieving revision 1.21
retrieving revision 1.22
diff -u -d -r1.21 -r1.22
--- res_parking.c 26 Apr 2004 23:22:34 -0000 1.21
+++ res_parking.c 27 Apr 2004 21:21:57 -0000 1.22
@@ -214,13 +214,11 @@
return 0;
}
-
int ast_bridge_call(struct ast_channel *chan,struct ast_channel *peer,struct ast_bridge_config *config)
{
/* Copy voice back and forth between the two channels. Give the peer
the ability to transfer calls with '#<extension' syntax. */
-
- int len;
+ int len;
struct ast_frame *f;
struct ast_channel *who;
char newext[256], *ptr;
@@ -228,8 +226,8 @@
struct ast_option_header *aoh;
struct ast_channel *transferer;
struct ast_channel *transferee;
- char *transferer_real_context;
- int allowdisconnect,allowredirect_in,allowredirect_out;
+ char *transferer_real_context;
+ int allowdisconnect,allowredirect_in,allowredirect_out;
allowdisconnect = config->allowdisconnect;
allowredirect_in = config->allowredirect_in;
@@ -586,14 +584,14 @@
ast_verbose(VERBOSE_PREFIX_3 "Channel %s connected to parked call %d\n", chan->name, park);
memset(&config,0,sizeof(struct ast_bridge_config));
- config.allowredirect_in = 1;
- config.allowredirect_out = 1;
- config.allowdisconnect = 0;
- config.timelimit = 0;
- config.play_warning = 0;
- config.warning_freq = 0;
- config.warning_sound=NULL;
- res = ast_bridge_call(chan,peer,&config);
+ config.allowredirect_in = 1;
+ config.allowredirect_out = 1;
+ config.allowdisconnect = 0;
+ config.timelimit = 0;
+ config.play_warning = 0;
+ config.warning_freq = 0;
+ config.warning_sound=NULL;
+ res = ast_bridge_call(chan,peer,&config);
/* Simulate the PBX hanging up */
if (res != AST_PBX_NO_HANGUP_PEER)
More information about the svn-commits
mailing list