[Freeswitch-dev] How to develop switch_ivr_record_session function?
Michael Collins
msc at freeswitch.org
Fri Jul 12 20:45:55 MSD 2013
I've found that if I want to find something in the source then I start by
using grep while sitting in /usr/src/freeswitch/src/ directory. In your
case a simple grep yields only two files to look at:
serv01:/usr/src/freeswitch/src# grep -n switch_ivr_record_session *c
switch_core_media_bug.c:612:
switch_ivr_record_session(new_session, list[i], stop_times[i], NULL);
switch_ivr_async.c:1310:SWITCH_DECLARE(switch_status_t)
switch_ivr_record_session_mask(switch_core_session_t *session, const char
*file, switch_bool_t on)
switch_ivr_async.c:1872:SWITCH_DECLARE(switch_status_t)
switch_ivr_record_session(switch_core_session_t *session, char *file,
uint32_t limit, switch_file_handle_t *fh)
That should get you going.
-MC
On Fri, Jul 12, 2013 at 6:35 AM, Brian West <brian at freeswitch.org> wrote:
> Look for Media Bugs.
> --
> Brian West
> brian at freeswitch.org
> FreeSWITCH Solutions, LLC
> PO BOX PO BOX 2531
> Brookfield, WI 53008-2531
> Twitter: @FreeSWITCH_Wire
> http://www.freeswitchbook.com
> http://www.freeswitchcookbook.com
>
> T: +1.918.420.9001 | F: +1.918.420.9002 | M: +1.918.424.WEST
> iNUM: +883 5100 1420 9001
> ISN: 410*543
> Skype:briankwest
>
>
>
>
>
>
>
> Em Jul 12, 2013, às 8:09 AM, Sayyed Mohammad Emami Razavi <
> emamirazavi at gmail.com> escreveu:
>
> > I searched in all FS sources and couldn't find switch_ivr_record_session
> function to develop! Anybody knows where it is?
> > _________________________________________________________________________
> > Professional FreeSWITCH Consulting Services:
> > consulting at freeswitch.org
> > http://www.freeswitchsolutions.com
> >
> >
> >
> >
> > Official FreeSWITCH Sites
> > http://www.freeswitch.org
> > http://wiki.freeswitch.org
> > http://www.cluecon.com
> >
> > FreeSWITCH-dev mailing list
> > FreeSWITCH-dev at lists.freeswitch.org
> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev
> > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev
> > http://www.freeswitch.org
>
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
>
>
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://wiki.freeswitch.org
> http://www.cluecon.com
>
> FreeSWITCH-dev mailing list
> FreeSWITCH-dev at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev
> http://www.freeswitch.org
>
--
Michael S Collins
Twitter: @mercutioviz
http://www.FreeSWITCH.org
http://www.ClueCon.com
http://www.OSTAG.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20130712/a9de03f6/attachment.html
Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-dev
mailing list