[Freeswitch-dev] How to read RTP package/data?

Steven Ayre steveayre at gmail.com
Wed Feb 9 13:50:56 MSK 2011


You want a media bug. It registers a callback to your module where FS will
decode the data and pass it to your module. You can then process it, and
even modify it if you wish.

API Documentation is on http://docs.freeswitch.org/ at Modules -> Core
Library -> Media Bugs

-Steve



On 9 February 2011 10:45, Frankie Yiu <yky1628 at yahoo.com> wrote:

>  Hi there,
>
> I am new to FreeSwitch, and I have a question to ask.
>
> If I want to read the RTP package (data from a person picking up a phone
> and speak or an answer machine) in C++ or C#, what function should I call to
> get it?  Currently I can make a call to a phone and play an audio.
>
> Thanks in advance.
>
> Frankie
>
> ------------------------------
> Food fight?<http://answers.yahoo.com/dir/index;_ylc=X3oDMTFvbGNhMGE3BF9TAzM5NjU0NTEwOARfcwMzOTY1NDUxMDMEc2VjA21haWxfdGFnbGluZQRzbGsDbWFpbF90YWcx?link=ask&sid=396545367>Enjoy some healthy debate
> in the Yahoo! Answers Food & Drink Q&A.<http://answers.yahoo.com/dir/index;_ylc=X3oDMTFvbGNhMGE3BF9TAzM5NjU0NTEwOARfcwMzOTY1NDUxMDMEc2VjA21haWxfdGFnbGluZQRzbGsDbWFpbF90YWcx?link=ask&sid=396545367>
>
> _______________________________________________
> 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
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20110209/fa59573e/attachment.html 


More information about the FreeSWITCH-dev mailing list