Hi,

Can any tell me how to access/call freeswitch client and then execute command on it.
like reply = fs.command("show channels");

Thanks.


Regards,
Shan randhawa







On Mon, Jan 25, 2016 at 10:03 PM, Shan Randhawa <randhawaay@gmail.com> wrote:

Hi,

i need some help.
Is there a way in scripting like in lua  like using  freeswitch.API() through which i can get active channels .

I can get active channels  in fs cli by running command "active channels".But how to do it in scripts.


Thanks.


Regards,
Shan randhawa