<div dir="ltr">Not that I'm aware of.<div>To duplicate such functionality, however, there are several options:</div><div>1) Use the db to store such variables, see: <meta http-equiv="content-type" content="text/html; charset=utf-8"><a href="http://wiki.freeswitch.org/wiki/Mod_db">http://wiki.freeswitch.org/wiki/Mod_db</a></div>
<div><a href="http://wiki.freeswitch.org/wiki/Mod_db"></a>2) use a complicated script that rewrites the xml and triggers a reload xml (kind of convoluted, I don't recommended it)</div><div>3) Use your own sql interface, e.g. using lua or mod_odbc_query from the git contrib. However, familiarizing yourself with mod_db is probably enough.</div>
<div>4) Use mod_xml_curl to process what happens and run the sql query / or file edits within that ruby/php/etc script.</div><div>I use mod_xml_curl for basically all my dialplan, if you have anything very specific (e.g. dependent on lots of queries, or custom routing and billing) it's the most flexible. Static XML is only so flexible.</div>
<div><br></div><div>-Avi<br><br><div class="gmail_quote">On Mon, Jan 10, 2011 at 3:06 AM, guru singh <span dir="ltr"><<a href="mailto:grsingh750@gmail.com">grsingh750@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Hi,<br>
<br>
Is it possible to manipulate variables defined for users in<br>
/directory/default/1000.xml?<br>
Suppose I have a <variable name="flag" value="0"> for each user. Can I<br>
dial an extension and change this value, only for the specific user<br>
who dialed it?<br>
<br>
Thanks<br>
gs<br>
<br>
_______________________________________________<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
</blockquote></div><br></div></div>