diff options
author | markster <markster@f38db490-d61c-443f-a65b-d21fe96a405b> | 2003-11-23 23:33:56 +0000 |
---|---|---|
committer | markster <markster@f38db490-d61c-443f-a65b-d21fe96a405b> | 2003-11-23 23:33:56 +0000 |
commit | b6619835a9c1e82c24f177e5755d73d5726e4746 (patch) | |
tree | d256a6f2fc82b49ce73370b0c2ef13f22b9a0e7b /res | |
parent | 7a52210c98ab90fe5277160a80f7a6b125bddadf (diff) |
Hangup calling channel when transferring peer
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@1786 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'res')
-rwxr-xr-x | res/res_parking.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/res/res_parking.c b/res/res_parking.c index ada9723fe..49168e170 100755 --- a/res/res_parking.c +++ b/res/res_parking.c @@ -355,6 +355,7 @@ int ast_bridge_call(struct ast_channel *chan, struct ast_channel *peer, int allo ,transferee->name, newext, transferer_real_context); if (ast_async_goto(transferee, transferer_real_context, newext, 1, 1)) ast_log(LOG_WARNING, "Async goto fialed :(\n"); + res = -1; } else { /* Set the channel's new extension, since it exists, using transferer context */ strncpy(transferee->exten, newext, sizeof(transferee->exten)-1); |