What is the ultimate goal of this process? The reason I ask is that if the only trigger for running "g729_used" API is an event related to a channel then maybe you could just poll the server at regular intervals. ESL can totally handle that, as long as you're not doing something crazy like polling 1000 times per second.

-MC

On Tue, Feb 14, 2012 at 4:00 AM, Antonio <asilva@wirelessmundi.com> wrote:
Hi,

I'm trying to keep tracking  on the use of codec g729 licenses on my server.

I've a little ESL program that check all the events for a new call and if the call uses g729 i execute the api "g729_used" to fetch the value.
This doesn't work, i try it on event CODEC, and EXECUTE.

Is there any event that i can use that is trigger by the encoder/decoder in mod_com_g729 when it actives a license?

Thanks,
_________________________

António Silva


_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com

FreeSWITCH-powered IP PBX: The CudaTel Communication Server
http://www.cudatel.com

Official FreeSWITCH Sites
http://www.freeswitch.org
http://wiki.freeswitch.org
http://www.cluecon.com

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