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
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.Frankie
Thanks in advance.
_______________________________________________
FreeSWITCH-dev mailing list
FreeSWITCH-dev@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev
http://www.freeswitch.org