Check out this module that does something similar.

https://freeswitch.org/confluence/display/FREESWITCH/mod_oreka

it does require some signaling to tell the other end whats coming their way, but its not sip.  You can likely take this mod and modify it to your needs.  I wouldn’t do encapsulation of the rtp itself, it would be significantly more computational work than a small custom signaling and would require significant rework of code to do so.

On Feb 8, 2017, at 8:15 PM, hide name <getssa@gmail.com> wrote:

Hello,

I am trying to build Media analysis software and need help to figure out how to tag media packets and send it to another process running on different box.

1. Call comes in, dialplan answers channel  and I have inbound event socket module to get call details.
2. If this call needs media analysis then I want to send all RTP packets received on channel to a process (UDP socket) running on same/different machine. I only want to send media packets without SIP signaling. If possible tag/encapsulate media packets with uuid or other identification.
3. If inbound channel receive SRTP media then is it possible to send RTP to media analysis process?


Thanks in advance.

Regards,
Ashutosh
_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com

Official FreeSWITCH Sites
http://www.freeswitch.org
http://confluence.freeswitch.org
http://www.cluecon.com

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