[svn-commits] qwell: branch 1.4 r89248 - /branches/1.4/res/res_features.c
SVN commits to the Digium repositories
svn-commits at lists.digium.com
Tue Nov 13 13:47:46 CST 2007
Author: qwell
Date: Tue Nov 13 13:47:45 2007
New Revision: 89248
URL: http://svn.digium.com/view/asterisk?view=rev&rev=89248
Log:
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.
Modified:
branches/1.4/res/res_features.c
Modified: branches/1.4/res/res_features.c
URL: http://svn.digium.com/view/asterisk/branches/1.4/res/res_features.c?view=diff&rev=89248&r1=89247&r2=89248
==============================================================================
--- branches/1.4/res/res_features.c (original)
+++ branches/1.4/res/res_features.c Tue Nov 13 13:47:45 2007
@@ -328,7 +328,7 @@
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);
More information about the svn-commits
mailing list