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
Check out this module that does something similar. https://freeswitch.org/confluence/display/FREESWITCH/mod_oreka <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
maybe try the rtp endpoint, something like originate {local_addr=192.168.1.1,local_port=4444,remote_addr=192.168.1.124,remote_port=6666,codec=PCMU,pt=0,rate=8000}rtp &eavesdrop(channel-uuid) -- Seven Du Sent with Sparrow (http://www.sparrowmailapp.com/?sig) On Friday, 10 February 2017 at 1:19 AM, Michael Jerris wrote:
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 (mailto: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 (mailto: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 (mailto: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
Professional FreeSWITCH Consulting Services: consulting@freeswitch.org (mailto: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 (mailto: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
I tried both options but couldn't achieve sending RTP stream without SIP signaling. mod_oreka sends SIP signaling before passing media to RTP Server and also allocates new port to send RTP. and "originate {local_addr=192.168.1.1,local_port=4444,remote_addr=192.168. 1.124,remote_port=6666,codec=PCMU,pt=0,rate=8000}rtp &eavesdrop(channel-uuid)" is not sending RTP packets. I see some UDP packets with 172 bytes sent to destination ip:port but these are not RTP packets. On Thu, Feb 9, 2017 at 3:34 PM, Seven Du <dujinfang@gmail.com> wrote:
maybe try the rtp endpoint, something like
originate {local_addr=192.168.1.1,local_port=4444,remote_addr=192.168. 1.124,remote_port=6666,codec=PCMU,pt=0,rate=8000}rtp &eavesdrop(channel-uuid)
-- Seven Du Sent with Sparrow <http://www.sparrowmailapp.com/?sig>
On Friday, 10 February 2017 at 1:19 AM, Michael Jerris wrote:
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
_________________________________________________________________________ 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
_________________________________________________________________________ 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
i was suggesting oreka as an example of how you might do it. rtp endpoint is a better solution. what exactly is your issue with that, it matches your requirements perfectly! On Tue, Feb 21, 2017 at 6:39 PM Ashutosh S <getssa@gmail.com> wrote:
I tried both options but couldn't achieve sending RTP stream without SIP signaling.
mod_oreka sends SIP signaling before passing media to RTP Server and also allocates new port to send RTP.
and "originate {local_addr=192.168.1.1,local_ port=4444,remote_addr=192.168.1.124,remote_port=6666,codec=PCMU,pt=0,rate=8000}rtp &eavesdrop(channel-uuid)" is not sending RTP packets. I see some UDP packets with 172 bytes sent to destination ip:port but these are not RTP packets.
On Thu, Feb 9, 2017 at 3:34 PM, Seven Du <dujinfang@gmail.com> wrote:
maybe try the rtp endpoint, something like
originate {local_addr=192.168.1.1,local_port=4444,remote_addr=192.168.1.124,remote_port=6666,codec=PCMU,pt=0,rate=8000}rtp &eavesdrop(channel-uuid)
-- Seven Du Sent with Sparrow <http://www.sparrowmailapp.com/?sig>
On Friday, 10 February 2017 at 1:19 AM, Michael Jerris wrote:
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
_________________________________________________________________________ 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
_________________________________________________________________________ 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
_________________________________________________________________________ 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
participants (4)
-
Ashutosh S
-
hide name
-
Michael Jerris
-
Seven Du