<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">to avoid the overhead of
XML+curl+lua+JSON4Lua and use just XML+curl. I know Lua is light
but it adds up especially if you do more than one per call.<br>
<br>
On 6/18/2012 5:15 PM, Michael Collins wrote:<br>
</div>
<blockquote
cite="mid:CAKzWOxUhukjcVUK3gxdhEVPOa97vxjkDYL--f+zj4EZZBuRsEA@mail.gmail.com"
type="cite">My guess is that if you want/need to skip Lua then
you'll need to do some regex magic to parse out the response data.
However, I'm wondering what the aversion to Lua is. It's
ridiculously light and it's pretty easy to use. What's the
downside?<br>
-MC<br>
<br>
<div class="gmail_quote">On Mon, Jun 18, 2012 at 1:50 PM, Abaci <span
dir="ltr"><<a moz-do-not-send="true"
href="mailto:abaci64@gmail.com" target="_blank">abaci64@gmail.com</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000"> We are looking for a
way to set a few variables in the XML dialplan with
information stored in a MySQL DB, the simplest seems to be
to use mod_odbc_query which will set channel variables (see
<a moz-do-not-send="true"
href="http://wiki.freeswitch.org/wiki/Mod_odbc_query#APP"
target="_blank">http://wiki.freeswitch.org/wiki/Mod_odbc_query#APP</a>),
problem is that we prefer not to access the DB directly from
xml.<br>
The other option is to use mod_curl which gets the result
into a channel variable named 'curl_response_data', problem
is that we have multiple values that we need in separate
channel variables, and I can't find any documentation on how
to do that, is there any way to do this using json etc?<br>
<ol>
</ol>
<br>
</div>
</blockquote>
</div>
<br>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
<a class="moz-txt-link-abbreviated" href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://www.freeswitchsolutions.com">http://www.freeswitchsolutions.com</a>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server
<a class="moz-txt-link-freetext" href="http://www.cudatel.com">http://www.cudatel.com</a>
Official FreeSWITCH Sites
<a class="moz-txt-link-freetext" href="http://www.freeswitch.org">http://www.freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://wiki.freeswitch.org">http://wiki.freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://www.cluecon.com">http://www.cluecon.com</a>
Join Us At ClueCon - Aug 7-9, 2012
FreeSWITCH-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a>
UNSUBSCRIBE:<a class="moz-txt-link-freetext" href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a>
<a class="moz-txt-link-freetext" href="http://www.freeswitch.org">http://www.freeswitch.org</a>
</pre>
</blockquote>
<br>
<br>
</body>
</html>