Hi, After I do some operation on switch_extension_t, basically adding some actions into it, I would like to display its content in the form of: <extension name="xxx"> <condition> <action>xxxx</action> </condition> </extension> Is that doable? If so, is there any existing functional call that I can use? Thanks, Mark
Hi, caller_extension->applications is a linked list so you can loop through it and print the app name & params, but the structure doesn't contain any information about the conditions that were matched as this is a mod_xml_dialplan feature. Mathieu Rene Avant-Garde Solutions Inc Office: + 1 (514) 664-1044 x100 Cell: +1 (514) 664-1044 x200 mrene@avgs.ca On 15-Aug-09, at 11:44 PM, mark morreny wrote:
Hi,
After I do some operation on switch_extension_t, basically adding some actions into it, I would like to display its content in the form of:
<extension name="xxx"> <condition> <action>xxxx</action> </condition>
</extension>
Is that doable? If so, is there any existing functional call that I can use?
Thanks, Mark _______________________________________________ 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
participants (2)
-
mark morreny
-
Mathieu Rene