also if you look at switch_cpp.cpp its the c++ wrapper we use to create all the embedded language modules so the documentation for the embedded lua api's would also apply to that C++ wrapper if you chose to use it directly. On Tue, Aug 16, 2011 at 10:53 AM, xl127 <x.liu@hw.ac.uk> wrote:
Thanks for everybody's points, helpful!
Cheers, Xing
On 14/08/11 04:04, Campbell Steven wrote:
Try here:
http://fisheye.freeswitch.org/browse/freeswitch.git/src/mod/applications/mod...
Campbell
On Sun, Aug 14, 2011 at 11:58 AM,<covici@ccs.covici.com> wrote:
Where can I find Mock's voicemail -- I don't see it in contrib?
Giovanni Maruzzelli<gmaruzz@gmail.com> wrote:
Also, you can check mod-voicemail.c and the new mod-voicemail made by Moc, those are the only IVR written in C that I know about (they're written in C because voicemail is considered a base feature, and been written in C assure stability because people does not fiddle with them)
On 8/13/11, Moises Silva<moises.silva@gmail.com> wrote:
On Thu, Aug 11, 2011 at 10:59 AM, xl127<x.liu@hw.ac.uk> wrote:
I am wondering how I could do this for a C/C++ application? And in the scripts languages I can set a callback method, e.g. session.setInputCallback(myInputCallback) but I didn't find how to do this in C/C++. The default question here is, why do you need C/C++ for an IVR? FreeSWITCH allows you to use simpler/safer languages to build IVR's.
You can certainly do it, but the reason you don't find examples is probably because most people understand there is no need for C/C++ there. Having said that, you can take a look at the IVR/say/play API's in switch_ivr_play_say.c to find out how to provide a callback to the different API's thru the switch_input_args_t structure.
Moises Silva Senior Software Engineer, Software Development Manager Sangoma Technologies Inc. | 100 Renfrew Drive, Suite 100, Markham ON L3R 9R6 Canada t. 1 905 474 1990 x128 | e. moy@sangoma.com
_______________________________________________ Join us at ClueCon 2011, Aug 9-11, Chicago http://www.cluecon.com 877-7-4ACLUE
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
-- Sent from my mobile device
Sincerely,
Giovanni Maruzzelli Cell : +39-347-2665618
_______________________________________________ Join us at ClueCon 2011, Aug 9-11, Chicago http://www.cluecon.com 877-7-4ACLUE
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 -- Your life is like a penny. You're going to lose it. The question is: How do you spend it?
John Covici covici@ccs.covici.com
_______________________________________________ Join us at ClueCon 2011, Aug 9-11, Chicago http://www.cluecon.com 877-7-4ACLUE
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
_______________________________________________ Join us at ClueCon 2011, Aug 9-11, Chicago http://www.cluecon.com 877-7-4ACLUE
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
-- Heriot-Watt University is a Scottish charity registered under charity number SC000278.
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
-- Anthony Minessale II FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ Twitter: http://twitter.com/FreeSWITCH_wire AIM: anthm MSN:anthony_minessale@hotmail.com GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com IRC: irc.freenode.net #freeswitch FreeSWITCH Developer Conference sip:888@conference.freeswitch.org googletalk:conf+888@conference.freeswitch.org pstn:+19193869900