From: Jonathan Rose Date: Tue, 29 Mar 2011 13:17:01 +0000 (+0000) Subject: When comebacktoorigin=no, Asterisk no longer tries to dial extension @parkedcalltimeout and instead dials s without going through fallback. (closes issue #18650) Reported by: davidw Patches: patch.diff uploaded by jrose (license 1225) https://reviewboard.asterisk.org/r/1150/ git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.2@311844 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/main/features.c b/main/features.c index 64dbf46633..dc6fe8eaf5 100644 --- a/main/features.c +++ b/main/features.c @@ -3542,10 +3542,10 @@ int manage_parkinglot(struct ast_parkinglot *curlot, const struct pollfd *pfds, if (comebacktoorigin) { set_c_e_p(chan, pu->parkinglot->parking_con_dial, peername_flat, 1); } else { - ast_log(LOG_WARNING, "now going to parkedcallstimeout,s,1 | ps is %d\n",pu->parkingnum); + ast_verb(2, "comebacktoorigin is disabled - now going to parkedcallstimeout,s,1 | ps is %d\n",pu->parkingnum); snprintf(parkingslot, sizeof(parkingslot), "%d", pu->parkingnum); pbx_builtin_setvar_helper(chan, "PARKINGSLOT", parkingslot); - set_c_e_p(chan, "parkedcallstimeout", peername_flat, 1); + set_c_e_p(chan, "parkedcallstimeout", "s", 1); } } } else {