In Italy the proverb says: four eyes are better than two :-) Yes, you're right! Thank you very much for the .. eyes... ehm help! :-) Denis Il giorno 01/mar/2013, alle ore 02:07, Michael Collins <msc@freeswitch.org> ha scritto:
Sometimes the new eye is the one that sees the obvious. You are quite correct. An action MUST be inside a condition, no exceptions. I suspect your edited version of the condition block will function as the OP hopes it would.
-MC
On Thu, Feb 28, 2013 at 10:05 AM, Steven Schoch <schoch+freeswitch.org@xwin32.com> wrote:
On Thu, Feb 28, 2013 at 12:20 AM, Denis Gasparin <denis.gasparin@edistar.com> wrote:
The extension MYSETUP is: <extension name="MYSETUP_EXTENSION"> <condition field="destination_number" expression="^MYSETUP$"/> <action application="log" data="INFO MYSETUP exec"/> </extension>
I'm rather new at this, so I could be wrong, but I believe an action must be contained inside a condition. So extension from above should be:
<extension name="MYSETUP_EXTENSION"> <condition field="destination_number" expression="^MYSETUP$"> <action application="log" data="INFO MYSETUP exec"/> </condition> </extension>
-- Steve
_________________________________________________________________________ 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
-- Michael S Collins Twitter: @mercutioviz http://www.FreeSWITCH.org http://www.ClueCon.com http://www.OSTAG.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