some simple c code is in freeswitch/libs/esl/test*
more complex c code is the fs_cli code - freeswitch/libs/esl/fs_cli.c

Mostly, whatever you need to do, you just send a command similar to what you'd send using the fs_cli prefixed with "api " or "bgapi "

thanks,
Shlomi


On Sun, Aug 17, 2014 at 1:48 PM, Andre Demattia <andretodd@verizon.net> wrote:
Where can I find a sample c++ code to program FreeSWITCH and fire a dial plan, directory ?
Thanks

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

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

FreeSWITCH-powered IP PBX: The CudaTel Communication Server
http://www.cudatel.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