[Home]

Summary:ASTERISK-24209: Webrtc ICE negotiation - RTCP port is even number
Reporter:Vikas Agarwal (vagarwal)Labels:
Date Opened:2014-08-12 07:56:38Date Closed:2014-08-12 08:02:17
Priority:MajorRegression?No
Status:Closed/CompleteComponents:
Versions:11.11.0 Frequency of
Occurrence
Constant
Related
Issues:
duplicatesASTERISK-23997 chan_sip: port incorrectly incremented for RTCP ICE candidates in SDP answer
Environment:Asterisk 11 on centos, chrome 36Attachments:
Description:As per definition of RTCP, RTCP port should be a odd number and should be +1 to TCP port. In my set-up, following is the candidates sent by asterisk to chrome-
a=candidate:Ha0000fa 1 UDP 2130706431 10.0.0.250 18012 typ host
a=candidate:Sd0b1264a 1 UDP 1694498815 208.177.38.74 18012 typ srflx
a=candidate:Ha0000fa 2 UDP 2130706430 10.0.0.250 18013 typ host
a=candidate:Sd0b1264a 2 UDP 1694498814 208.177.38.74 18014 typ srflx


If IP 10.0.0.250 is reachable to chrome then call works. But when chrome can reach IP 208.177.38.74 then ICE negotiation never completes. This is because ports for TCP and RTCP both are even numbers.

I tried to a complied version of asterisk after making some custom changes so that RTCP always gets +1 port number (a odd number). This time ICE negotiation completed as expected.
Comments: