aboutsummaryrefslogtreecommitdiffstats
path: root/res/res_parking.c
diff options
context:
space:
mode:
authorcitats <citats@f38db490-d61c-443f-a65b-d21fe96a405b>2004-04-27 21:21:57 +0000
committercitats <citats@f38db490-d61c-443f-a65b-d21fe96a405b>2004-04-27 21:21:57 +0000
commitbd44ffbbd0b38ed1598481b0f9b7a24865b52d9f (patch)
tree188dc2b8f18557b1f0c2095a8f122821394a09d5 /res/res_parking.c
parenta795f8eae3aabb3a99af818ec011c330f621d4a5 (diff)
Revert formatting changes
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@2786 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'res/res_parking.c')
-rwxr-xr-xres/res_parking.c24
1 files changed, 11 insertions, 13 deletions
diff --git a/res/res_parking.c b/res/res_parking.c
index 9c11f6a38..29b63684c 100755
--- a/res/res_parking.c
+++ b/res/res_parking.c
@@ -214,13 +214,11 @@ int ast_masq_park_call(struct ast_channel *rchan, struct ast_channel *peer, int
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 @@ int ast_bridge_call(struct ast_channel *chan,struct ast_channel *peer,struct ast
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 @@ static int park_exec(struct ast_channel *chan, void *data)
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)