[Freeswitch-users] any IVR example in C/C++?
covici at ccs.covici.com
covici at ccs.covici.com
Sun Aug 14 03:58:45 MSD 2011
Where can I find Mock's voicemail -- I don't see it in contrib?
Giovanni Maruzzelli <gmaruzz at 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 at gmail.com> wrote:
> > On Thu, Aug 11, 2011 at 10:59 AM, xl127 <x.liu at 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 at sangoma.com
> >
> > _______________________________________________
> > Join us at ClueCon 2011, Aug 9-11, Chicago
> > http://www.cluecon.com 877-7-4ACLUE
> >
> > FreeSWITCH-users mailing list
> > FreeSWITCH-users at 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 at 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 at ccs.covici.com
Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users
mailing list