[sr-dev] rtpengine add itself only as relay candidate?
Peter Villeneuve
petervnv1 at gmail.com
Tue Oct 7 16:26:57 CEST 2014
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 <jh at tutpro.com> 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
> sr-dev at lists.sip-router.org
> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-dev/attachments/20141007/4cfbbeb3/attachment.html>
More information about the sr-dev
mailing list