Hi Juha, Thanks for your help and detailed testing. You beat me to it in your tests. Apparently the syntax force-relay in my config wasn't doing anything since my version of rtpengine and kamailio was expecting force_relay instead. I believe there's been a recent update to the code for this. I will update both rtpengine and kamailio 4.2 today and will test out the force-relay option.
Cheers, Peter On Tue, Oct 7, 2014 at 7:12 AM, Juha Heinanen <[email protected]> wrote: > Peter Villeneuve writes: > > > I have tried force-relay but I belive that only works when the clients > > already have ICE relay candidates, in that case rtpengine simply replaces > > them with its own. > > i tested and (as i thought) the above is not true. > > incoming: > > a=candidate:c062661e 1 UDP 2113932031 192.98.102.30 10490 typ host. > a=candidate:c062661e 2 UDP 2113932030 192.98.102.30 10491 typ host. > a=candidate:c0a82b92 1 UDP 2113932031 192.168.43.146 10490 typ host. > a=candidate:c0a82b92 2 UDP 2113932030 192.168.43.146 10491 typ host. > a=candidate:c062671e 1 UDP 2113932031 192.98.103.30 10490 typ host. > a=candidate:c062671e 2 UDP 2113932030 192.98.103.30 10491 typ host. > a=candidate:63c01c46 1 UDP 2113932031 2002:c062:661e::1 10490 typ host. > a=candidate:63c01c46 2 UDP 2113932030 2002:c062:661e::1 10491 typ host. > a=candidate:1e6662c0 1 UDP 2113932031 ::192.98.102.30 10490 typ host. > a=candidate:1e6662c0 2 UDP 2113932030 ::192.98.102.30 10491 typ host. > a=candidate:5d6a04d2 1 UDP 1677721855 93.106.4.211 10490 typ srflx raddr > 192.98.102.30 rport 10490. > a=candidate:5d6a04d2 2 UDP 1677721854 93.106.4.211 10491 typ srflx raddr > 192.98.102.30 rport 10491. > > outgoing after force-relay: > > a=candidate:c062661e 1 UDP 2113932031 192.98.102.30 10490 typ host. > a=candidate:c062661e 2 UDP 2113932030 192.98.102.30 10491 typ host. > a=candidate:c0a82b92 1 UDP 2113932031 192.168.43.146 10490 typ host. > a=candidate:c0a82b92 2 UDP 2113932030 192.168.43.146 10491 typ host. > a=candidate:c062671e 1 UDP 2113932031 192.98.103.30 10490 typ host. > a=candidate:c062671e 2 UDP 2113932030 192.98.103.30 10491 typ host. > a=candidate:63c01c46 1 UDP 2113932031 2002:c062:661e::1 10490 typ host. > a=candidate:63c01c46 2 UDP 2113932030 2002:c062:661e::1 10491 typ host. > a=candidate:1e6662c0 1 UDP 2113932031 ::192.98.102.30 10490 typ host. > a=candidate:1e6662c0 2 UDP 2113932030 ::192.98.102.30 10491 typ host. > a=candidate:5d6a04d2 1 UDP 1677721855 93.106.4.211 10490 typ srflx raddr > 192.98.102.30 rport 10490. > a=candidate:5d6a04d2 2 UDP 1677721854 93.106.4.211 10491 typ srflx raddr > 192.98.102.30 rport 10491. > a=candidate:UrghmdNHD8slTr03 1 UDP 16777215 192.98.102.30 50350 typ relay. > a=candidate:UrghmdNHD8slTr03 2 UDP 16777214 192.98.102.30 50351 typ relay. > > -- juha > > _______________________________________________ > sr-dev mailing list > [email protected] > http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev >
_______________________________________________ sr-dev mailing list [email protected] http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev
