[asterisk-commits] jrose: branch 1.6.2 r311844 - /branches/1.6.2/main/features.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Tue Mar 29 08:17:09 CDT 2011


Author: jrose
Date: Tue Mar 29 08:17:01 2011
New Revision: 311844

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=311844
Log:
When comebacktoorigin=no, Asterisk no longer tries to dial extension <Originating Channe>@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/


Modified:
    branches/1.6.2/main/features.c

Modified: branches/1.6.2/main/features.c
URL: http://svnview.digium.com/svn/asterisk/branches/1.6.2/main/features.c?view=diff&rev=311844&r1=311843&r2=311844
==============================================================================
--- branches/1.6.2/main/features.c (original)
+++ branches/1.6.2/main/features.c Tue Mar 29 08:17:01 2011
@@ -3542,10 +3542,10 @@
 					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 {




More information about the asterisk-commits mailing list