You need to use eval. From the fs_cli it's like this:
Hi,
Is it possible to get a channel's Call-State in LUA? Is there a function for this similar to
session:getState()?
(I would like to know if a channel is in HELD state.)
Thanks
_______________________________________________
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