Problem with enable-post-var
Hello all. In mod_xml_curl in binding configuration I try make dynamic "gateway-url". For example, <param name="gateway-url" value="http://hostname/configuration/<b>$${my_var}*" bindings="configuration"/> Also try to add 'enable-post-var' -- didn't work too. Please, help anyone. Thanks. -- View this message in context: http://freeswitch-users.2379917.n2.nabble.com/Problem-with-enable-post-var-t... Sent from the freeswitch-users mailing list archive at Nabble.com.
I have found solution: <binding name="configuration"> *< param name="use-dynamic-url" value="yes"/>* < param name="gateway-url" value="http://example.com/freeswitch/configuration/${conf_name}" bindings="configuration"/> </binding> In vars.xml <X-PRE-PROCESS cmd="set" data="conf_name="/> (variable 'conf_name' is empty default) And in dialplan < action application='set_global' data='conf_name=test@test'/> Set conf_name some value or make it empty (data='conf_name=') -- View this message in context: http://freeswitch-users.2379917.n2.nabble.com/Problem-with-enable-post-var-t... Sent from the freeswitch-users mailing list archive at Nabble.com.
participants (1)
-
Anatolii