I have the following defined: <!-- Billing Open? --> <extension name="billing_open" continue="true"> <!-- man strftime - M-F, 9AM to 5PM --> <condition field="${strftime(%w)}" expression="^([1-5])$"/> <condition field="${strftime(%H%M)}" expression="^((09|1[0-6])[0-5][0-9]|1700)$"> <action application="set" data="billingopen=true"/> </condition> </extension>
<!-- billing line --> <extension name="billing"> <condition field="destination_number" expression="^billing$|^2001$"/> <condition field="billingopen" expression="^true$"> <...> But despite the "Billing Open" ext firing correctly: Action set(billingopen=true) The Billing extenstion fails to get the data: Regex (FAIL) [billing] billingopen() =~ /^true$/ break=on-false Please could someone point me in the right direction for using variables correctly in a dialplan? I must be missing something simple... Thanks, Chris. _______________________________________________ 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