Use the API to execute global_getvar... http://wiki.freeswitch.org/wiki/Mod_lua#For_making_API_calls -MC On Fri, Jun 26, 2009 at 2:33 PM, John Wehle <john@feith.com> wrote:
How do you get a system variable from within a lua startup script? Specifically I want domain_name from vars.xml ... normally I'd use session:getVariable, however there is no session in this case.
-- John ------------------------------------------------------------------------- | Feith Systems | Voice: 1-215-646-8000 | Email: john@feith.com | | John Wehle | Fax: 1-215-540-5495 | | -------------------------------------------------------------------------
_______________________________________________ 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