On 1/18/2012 12:59 PM, Avi Marcus wrote:
How are you setting test to 112? And can you pastbin your fs_cli log of the call? That often makes it clear what is going on.
-Avi
On Wed, Jan 18, 2012 at 11:33 AM, Miha Zoubek <miha@softnet.si <mailto:miha@softnet.si>> wrote:
Hi,
I need a little help about passing variable between dialplans.
I have created one default diaplan. In this dialplan a have set: <action application="execute_extension" data="check special numbers XML default"/>
In check special numbers XML there is a condition (<condition field="destination_number" expression="^check special numbers$" >) and than <action application="execute_extension" data="special numbers XML default"/>.
In special numbers XML I have a condition and if this condition is right the variable $test is set to 112. SO in default dialplan after all this is set must default dialplan execute this <action application="bridge" data="sofia/external/386${test}@xx.xxx.xxx.xxx" <mailto:sofia/external/386$%7Btest%7D@xx.xxx.xxx.xxx>/> where ${test} should be variable from special numbers XML.
Why the value of variable is not passed?
Thanks!
-- Best regards / Lep Pozdrav Miha Zoubek Softnet d.o.o.
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org <mailto: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 <mailto: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 Hi @Avi,
I found out what was causing the problem. Thanks! -- Best regards / Lep Pozdrav Miha Zoubek Softnet d.o.o.