View previous topic :: View next topic |
Author |
Message |
john at feith.com Guest
|
Posted: Fri Jun 26, 2009 4:35 pm Post subject: [Freeswitch-users] Accessing a global variable from lua |
|
|
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 |
|
Back to top |
|
|
brian at freeswitch.org Guest
|
Posted: Fri Jun 26, 2009 4:38 pm Post subject: [Freeswitch-users] Accessing a global variable from lua |
|
|
You can execute global_getvar api call.
/b
On Jun 26, 2009, at 4:33 PM, John Wehle wrote:
Quote: | 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.
|
_______________________________________________
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 |
|
Back to top |
|
|
msc at freeswitch.org Guest
|
|
Back to top |
|
|
brian at freeswitch.org Guest
|
|
Back to top |
|
|
|