aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorqwell <qwell@f38db490-d61c-443f-a65b-d21fe96a405b>2007-11-13 19:47:45 +0000
committerqwell <qwell@f38db490-d61c-443f-a65b-d21fe96a405b>2007-11-13 19:47:45 +0000
commit54377c6a032421de24ee5d39a2fa8b5a857dfc1b (patch)
treedaa7c034dede098928b6e464178b4b5f3fbc8ed7
parent5c4ebc1e876eb33ead39a245c1840919064463b4 (diff)
Revert change from revision 67064.
It is documented behavior that if a parking extension already exists while using PARKINGEXTEN, dialplan execution will continue. If blind transferring to a Park with PARKINGEXTEN, you must keep this in mind, and handle the failure yourself. Issue 11237, reported by jon. git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@89248 f38db490-d61c-443f-a65b-d21fe96a405b
-rw-r--r--res/res_features.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/res/res_features.c b/res/res_features.c
index 1aa1b8021..ab9422306 100644
--- a/res/res_features.c
+++ b/res/res_features.c
@@ -328,7 +328,7 @@ int ast_park_call(struct ast_channel *chan, struct ast_channel *peer, int timeou
ast_mutex_unlock(&parking_lock);
free(pu);
ast_log(LOG_WARNING, "Requested parking extension already exists: %s@%s\n", parkingexten, parking_con);
- return -1; /* We failed to park this call, plain and simple so we need to error out */
+ return 0; /* Continue execution if possible */
}
ast_copy_string(pu->parkingexten, parkingexten, sizeof(pu->parkingexten));
x = atoi(parkingexten);