I've setup the FS with bypass_media mode to let endpoints to pass media through a TURN server. The dialplan is set dynamically to bypass_mode=true. The endpoints can now register SIP with FS and then pass media between thenself via the TURN relay (FS not in between) with no one-way-audio issue. The problem is when I setup FS and the endpoints with ZRTP. Even though all RTPs are passing directly between endpoints and FS log indications show that ZRTP is activated on both endpoints (including a=zrtp-hash: in both SDPs) and still the ZRTP is not poping up in the endpoints display. I assume that once media is being relayed between endpoints then ZRTP should pass between like it happens when both endpoints on the same LAN network. What could cause the ZRTP not to work between endpoints when media is bypassing the FS? regards Assaf -- View this message in context: http://freeswitch-users.2379917.n2.nabble.com/FS-bypass-ZRTP-with-TURN-relay... Sent from the freeswitch-users mailing list archive at Nabble.com.
Check in you profile that you have <param name="inbound-zrtp-passthru" value="true"/> Otherwise zrtp won't work on some UAs(like the pjsip based) even though the zrtp-hash is passed along. On Tue, May 28, 2013 at 10:39 AM, adahary <adahary@gmail.com> wrote:
I've setup the FS with bypass_media mode to let endpoints to pass media through a TURN server. The dialplan is set dynamically to bypass_mode=true. The endpoints can now register SIP with FS and then pass media between thenself via the TURN relay (FS not in between) with no one-way-audio issue.
The problem is when I setup FS and the endpoints with ZRTP. Even though all RTPs are passing directly between endpoints and FS log indications show that ZRTP is activated on both endpoints (including a=zrtp-hash: in both SDPs) and still the ZRTP is not poping up in the endpoints display. I assume that once media is being relayed between endpoints then ZRTP should pass between like it happens when both endpoints on the same LAN network.
What could cause the ZRTP not to work between endpoints when media is bypassing the FS?
regards
Assaf
-- View this message in context: http://freeswitch-users.2379917.n2.nabble.com/FS-bypass-ZRTP-with-TURN-relay... Sent from the freeswitch-users mailing list archive at Nabble.com.
_________________________________________________________________________ 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
Daniel, It is already set to: . ZRTP is working end-2-end in bypass_mode when the two endpoints are on the same LAN network. It is just NOT working when the enpoints are on different networks and being relayed via a TURN server (endpoints setup with STUN/TURN/ICE). I can see that the FS handing over the SDPs between the endpoints with endpoints direct relay ip:port and the zrtp hash and also the FS log indicated that the ZRTP is passthru a<->b BUT somehow the ZRTP doesn't happen on both endpoints! Assaf -- View this message in context: http://freeswitch-users.2379917.n2.nabble.com/FS-bypass-ZRTP-with-TURN-relay... Sent from the freeswitch-users mailing list archive at Nabble.com.
What are the useragents for the legs. Ive never used the TURN relay, but would suggest looking there if it's doing some handling. Or also look at the verbose logs on the UAs. On May 28, 2013 1:40 PM, "adahary" <adahary@gmail.com> wrote:
Daniel,
It is already set to: .
ZRTP is working end-2-end in bypass_mode when the two endpoints are on the same LAN network. It is just NOT working when the enpoints are on different networks and being relayed via a TURN server (endpoints setup with STUN/TURN/ICE). I can see that the FS handing over the SDPs between the endpoints with endpoints direct relay ip:port and the zrtp hash and also the FS log indicated that the ZRTP is passthru a<->b BUT somehow the ZRTP doesn't happen on both endpoints!
Assaf
-- View this message in context: http://freeswitch-users.2379917.n2.nabble.com/FS-bypass-ZRTP-with-TURN-relay... Sent from the freeswitch-users mailing list archive at Nabble.com.
_________________________________________________________________________ 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
I'm using Android CSimpleSip for both endpoints. I also suspect that the problem may be related to the CSimpleSip client but I do not familer with another Win/Linux client that supports both TURN and ZRTP. If anyone knows then please update me. -- View this message in context: http://freeswitch-users.2379917.n2.nabble.com/FS-bypass-ZRTP-with-TURN-relay... Sent from the freeswitch-users mailing list archive at Nabble.com.
participants (2)
-
adahary
-
Daniel Ivanov