Michael, thank you for showing me, it is clear in the logs now, i did not have that clear before but i see it now ... i implemented Avi's suggestion 1 and it works now but i noticed that execute_extension parses the dialplan again, is there anyway to avoid reading the dialplan again ? regards!
Date: Wed, 5 Dec 2012 15:41:45 -0800
From: msc@freeswitch.org
To: freeswitch-users@lists.freeswitch.org
Subject: Re: [Freeswitch-users] get a variable at hunting phase that is set at executing phaseOn Wed, Dec 5, 2012 at 1:19 PM, Juan Pablo L. <jpablolorenzetti@hotmail.com> wrote:Okay, this is why PB is good. It's just as you and Avi suspected - the variable is being tested prior to the Lua script running. If you want to see how to determine that yourself then look at your pastebin entry. Lines 48-72 are the dialplan hunting. The executing starts at line 80 with the Lua script. The Lua script is being executed after the variable is being check, which you'll see on line # 66.
Thanks Avi for you answer, i m going to try that (i already have and the ${int} got lost somewhere but i ll try again)Michael, thanks for your suggestion, i have put it in pastebin: http://pastebin.freeswitch.org/20293
Either of Avi's suggestions should help.
-MC
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server
http://www.cudatel.com
Official FreeSWITCH Sites
http://www.freeswitch.org
http://wiki.freeswitch.org
http://www.cluecon.com
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org