[Freeswitch-users] how can run fs_cli commands in lua script?
Peter Olsson
peter.olsson at visionutveckling.se
Wed Jun 27 23:35:49 MSD 2012
Please have a look here: http://wiki.freeswitch.org/wiki/Make_API_calls_directly_from_Lua_code
There is a description for how to execute API commands from within lua.
/Peter
________________________________
Från: freeswitch-users-bounces at lists.freeswitch.org [freeswitch-users-bounces at lists.freeswitch.org] för Samira Mh [saami_mh at ymail.com]
Skickat: den 27 juni 2012 21:26
Till: Free SWITCH Users Help
Ämne: [Freeswitch-users] how can run fs_cli commands in lua script?
hi all,
i want to run the following command in lua script that is located on (/usr/local/freeswitch/scripts/lua1.lua)
sofia_count_reg 1001-Q0ErXNX1RuYwPdctyuGeiA at public.gmane.org<mailto:1001-Q0ErXNX1RuYwPdctyuGeiA at public.gmane.org>
i ned to use the output of the above command
how can i do that?
!DSPAM:4feb5c4d32761687116813!
Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users
mailing list