Use the API to execute global_getvar...<br><a href="http://wiki.freeswitch.org/wiki/Mod_lua#For_making_API_calls">http://wiki.freeswitch.org/wiki/Mod_lua#For_making_API_calls</a><br><br>-MC<br><br><div class="gmail_quote">
On Fri, Jun 26, 2009 at 2:33 PM, John Wehle <span dir="ltr">&lt;<a href="mailto:john@feith.com">john@feith.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
How do you get a system variable from within a lua startup script?<br>
Specifically I want domain_name from vars.xml ... normally I&#39;d use<br>
session:getVariable, however there is no session in this case.<br>
<br>
-- John<br>
-------------------------------------------------------------------------<br>
|   Feith Systems  |   Voice: 1-215-646-8000  |  Email: <a href="mailto:john@feith.com">john@feith.com</a>  |<br>
|    John Wehle    |     Fax: 1-215-540-5495  |                         |<br>
-------------------------------------------------------------------------<br>
<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>