Hi thanks, i also tried as in the default configurations: <extension name="gw_outbound_call"> <condition field="destination_number" expression="^[\d]{7}?$"> <action application="export" data="dialed_extension=$1"/> <action application="set" data="effective_caller_id_number=1000"/> <action application="bridge" data="sofia/gateway/gw/${dialed_extension}"/> </condition> </extension> but still it replaces the ${dialed_extension} by $1 ... i have not tried what you suggest, i will try it but still cant find a reason why the above does not work ... thanks! ----------------------------------------
Date: Fri, 22 Jun 2012 17:15:32 +0100 From: alex@thewinelake.com To: freeswitch-users@lists.freeswitch.org Subject: Re: [Freeswitch-users] variable not being replaced in dialplan
Is there a reason you're not just doing
<action application="bridge" data="sofia/gateway/gw/${destination_number}"/>
_________________________________________________________________________ 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
Join Us At ClueCon - Aug 7-9, 2012
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