Freeswitch as RTP <=> SRTP translator
Hi all! In my case all sip clients uses SRTP, but VoIP provider accepts only RTP packets. I'm thinking about using freeswitch between them, like so: client <=SRTP=> freeswitch <=RTP=> VoIP provider. Is it possible? If so please give me some direction how to implement this setup. Thanks a lot in advance.
It is possible, just set proxy_media to false and have fs process the streams and you get independent legs. Your a-leg can talk SRTP, but it's not necessary that the b-leg talks it. SRTP is user-to-system protection scheme, not user-to-user. On Thu, Sep 27, 2012 at 4:32 PM, Аnton Тeihrib <teihrib@gmail.com> wrote:
Hi all! In my case all sip clients uses SRTP, but VoIP provider accepts only RTP packets. I'm thinking about using freeswitch between them, like so: client <=SRTP=> freeswitch <=RTP=> VoIP provider. Is it possible? If so please give me some direction how to implement this setup. Thanks a lot in advance. _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.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
... proxy_media is false by default. -Avi On Thu, Sep 27, 2012 at 4:35 PM, Daniel Ivanov <sertys@gmail.com> wrote:
It is possible, just set proxy_media to false and have fs process the streams and you get independent legs. Your a-leg can talk SRTP, but it's not necessary that the b-leg talks it. SRTP is user-to-system protection scheme, not user-to-user.
On Thu, Sep 27, 2012 at 4:32 PM, Аnton Тeihrib <teihrib@gmail.com> wrote:
Hi all! In my case all sip clients uses SRTP, but VoIP provider accepts only RTP packets. I'm thinking about using freeswitch between them, like so: client <=SRTP=> freeswitch <=RTP=> VoIP provider. Is it possible? If so please give me some direction how to implement this setup. Thanks a lot in advance. _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.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
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.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
Ok, nice to hear it. Many thanks to you guys! Another question (maybe dumb) about this setup. Is it necessary to freeswitch to handle registrations or FS can forward them to VoIP provider? I mean, for example, user A and user B have sip accounts at voip provider and they can register at voip provider through fs. Or I have to register them in fs independently? 2012/9/27 Daniel Ivanov <sertys@gmail.com>
It is possible, just set proxy_media to false and have fs process the streams and you get independent legs. Your a-leg can talk SRTP, but it's not necessary that the b-leg talks it. SRTP is user-to-system protection scheme, not user-to-user.
On Thu, Sep 27, 2012 at 4:32 PM, Аnton Тeihrib <teihrib@gmail.com> wrote:
Hi all! In my case all sip clients uses SRTP, but VoIP provider accepts only RTP packets. I'm thinking about using freeswitch between them, like so: client <=SRTP=> freeswitch <=RTP=> VoIP provider. Is it possible? If so please give me some direction how to implement this setup. Thanks a lot in advance. _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.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
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.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
Surely. Each leg has codecs, secure, etc, set independently so just proceed as normal. Set up srtp on the client leg and a normal bridge on the B leg. Sorry, I can't really give you any more details than that. -Avi
participants (3)
-
Avi Marcus
-
Daniel Ivanov
-
Аnton Тeihrib