Hi,
   I am using sip accounts from opensips.org for testing. using TCP as sip
transport.

   I find server changes the "c=" line to server's public address, and this
make ice mismatch because the server public address is not in ice candidate
list. Is it normal? Any suggestion.



caller send:

INVITE sip:aaaaaaaaa...@opensips.org;transport=tcp SIP/2.0
Via: SIP/2.0/TCP 192.168.0.2:3719
;rport;branch=z9hG4bKPj38e9f128d29b4da08f32c904
a14a808d
Max-Forwards: 70
From: sip:bbbbbbbbb...@opensips.org;tag=0f01868840054feaae85bb57fac2c895
To: sip:aaaaaaaaa...@opensips.org
Contact: <sip:bbbbbbbbbbbb@192.168.0.2:5060;transport=TCP;ob>;+sip.ice
Call-ID: 24a38e6ab95b43a6bad890246459c2d5
CSeq: 18457 INVITE
Allow: PRACK, INVITE, ACK, BYE, CANCEL, UPDATE, SUBSCRIBE, NOTIFY, REFER,
MESSAG
E, OPTIONS
Supported: replaces, 100rel, timer, norefersub
Session-Expires: 1800
Min-SE: 90
Content-Type: application/sdp
Content-Length:  1818

v=0
o=- 3538405122 3538405122 IN IP4 125.114.188.111
s=pjmedia
c=IN IP4 125.114.188.111
b=AS:352
t=0 0
a=X-nat:5
m=audio 64197 RTP/AVP 0 8 96
c=IN IP4 125.114.188.111
b=TIAS:64000
a=rtcp:64567 IN IP4 125.114.188.111
a=sendrecv
a=rtpmap:0 PCMU/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:96 telephone-event/8000
a=fmtp:96 0-15
a=ice-ufrag:575360bf
a=ice-pwd:5c673cd6
a=candidate:Sc0a80002 1 UDP 1694498815 125.114.188.111 64197 typ srflx
raddr 192
.168.0.2 rport 3957
a=candidate:Hc0a80002 1 UDP 2130706431 192.168.0.2 3957 typ host
a=candidate:Hc0a87901 1 UDP 2130706431 192.168.121.1 3957 typ host
a=candidate:Hc0a80301 1 UDP 2130706431 192.168.3.1 3957 typ host
a=candidate:Sc0a80002 2 UDP 1694498814 125.114.188.111 64567 typ srflx
raddr 192
.168.0.2 rport 3960
a=candidate:Hc0a80002 2 UDP 2130706430 192.168.0.2 3960 typ host
a=candidate:Hc0a87901 2 UDP 2130706430 192.168.121.1 3960 typ host
a=candidate:Hc0a80301 2 UDP 2130706430 192.168.3.1 3960 typ host
m=video 63577 RTP/AVP 97
c=IN IP4 125.114.188.111
b=TIAS:256000
a=rtcp:60443 IN IP4 125.114.188.111
a=sendrecv
a=rtpmap:97 H264/90000
a=fmtp:97 profile-level-id=42e01e; packetization-mode=1
a=ice-ufrag:422d54dc
a=ice-pwd:368e0d66
a=candidate:Sc0a80002 1 UDP 1694498815 125.114.188.111 63577 typ srflx
raddr 192
.168.0.2 rport 3963
a=candidate:Hc0a80002 1 UDP 2130706431 192.168.0.2 3963 typ host
a=candidate:Hc0a87901 1 UDP 2130706431 192.168.121.1 3963 typ host
a=candidate:Hc0a80301 1 UDP 2130706431 192.168.3.1 3963 typ host
a=candidate:Sc0a80002 2 UDP 1694498814 125.114.188.111 60443 typ srflx
raddr 192
.168.0.2 rport 3966
a=candidate:Hc0a80002 2 UDP 2130706430 192.168.0.2 3966 typ host
a=candidate:Hc0a87901 2 UDP 2130706430 192.168.121.1 3966 typ host
a=candidate:Hc0a80301 2 UDP 2130706430 192.168.3.1 3966 typ host



=========================================================================================================================================
callee received through opensips.org sip server:


INVITE sip:aaaaaaaaaaaa@192.168.0.5:5060;transport=TCP;ob SIP/2.0
Record-Route:
<sip:78.46.64.50;transport=tcp;lr;ftag=0f01868840054feaae85bb57fac2c895;did=3f8.d371e2a6>
Via: SIP/2.0/TCP 78.46.64.50;branch=z9hG4bK339.c6938285.0;i=907
Via: SIP/2.0/TCP 192.168.0.2:3719
;received=125.114.188.111;rport=64325;branch=z9hG4bKPjf6b7575ef22845d59a1e4d077311603c
Max-Forwards: 12
From: sip:bbbbbbbbb...@opensips.org;tag=0f01868840054feaae85bb57fac2c895
To: sip:aaaaaaaaa...@opensips.org
Contact: <sip:bbbbbbbbbbbb@125.114.188.111:64325
;transport=TCP;ob;bnat=yes>;+sip.ice
Call-ID: 24a38e6ab95b43a6bad890246459c2d5
CSeq: 18458 INVITE
Allow: PRACK, INVITE, ACK, BYE, CANCEL, UPDATE, SUBSCRIBE, NOTIFY, REFER,
MESSAGE, OPTIONS
Supported: replaces, 100rel, timer, norefersub
Session-Expires: 1800
Min-SE: 90
Content-Type: application/sdp
Content-Length: 1812

v=0
o=- 3538405122 3538405122 IN IP4 78.46.64.50
s=pjmedia
c=IN IP4 78.46.64.50
b=AS:352
t=0 0
a=X-nat:5
m=audio 63996 RTP/AVP 0 8 96
c=IN IP4 78.46.64.50
b=TIAS:64000
a=rtcp:63997 IN IP4 78.46.64.50
a=sendrecv
a=rtpmap:0 PCMU/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:96 telephone-event/8000
a=fmtp:96 0-15
a=ice-ufrag:575360bf
a=ice-pwd:5c673cd6
a=candidate:Sc0a80002 1 UDP 1694498815 125.114.188.111 64197 typ srflx
raddr 192.168.0.2 rport 3957
a=candidate:Hc0a80002 1 UDP 2130706431 192.168.0.2 3957 typ host
a=candidate:Hc0a87901 1 UDP 2130706431 192.168.121.1 3957 typ host
a=candidate:Hc0a80301 1 UDP 2130706431 192.168.3.1 3957 typ host
a=candidate:Sc0a80002 2 UDP 1694498814 125.114.188.111 64567 typ srflx
raddr 192.168.0.2 rport 3960
a=candidate:Hc0a80002 2 UDP 2130706430 192.168.0.2 3960 typ host
a=candidate:Hc0a87901 2 UDP 2130706430 192.168.121.1 3960 typ host
a=candidate:Hc0a80301 2 UDP 2130706430 192.168.3.1 3960 typ host
m=video 60104 RTP/AVP 97
c=IN IP4 78.46.64.50
b=TIAS:256000
a=rtcp:60105 IN IP4 78.46.64.50
a=sendrecv
a=rtpmap:97 H264/90000
a=fmtp:97 profile-level-id=42e01e; packetization-mode=1
a=ice-ufrag:422d54dc
a=ice-pwd:368e0d66
a=candidate:Sc0a80002 1 UDP 1694498815 125.114.188.111 63577 typ srflx
raddr 192.168.0.2 rport 3963
a=candidate:Hc0a80002 1 UDP 2130706431 192.168.0.2 3963 typ host
a=candidate:Hc0a87901 1 UDP 2130706431 192.168.121.1 3963 typ host
a=candidate:Hc0a80301 1 UDP 2130706431 192.168.3.1 3963 typ host
a=candidate:Sc0a80002 2 UDP 1694498814 125.114.188.111 60443 typ srflx
raddr 192.168.0.2 rport 3966
a=candidate:Hc0a80002 2 UDP 2130706430 192.168.0.2 3966 typ host
a=candidate:Hc0a87901 2 UDP 2130706430 192.168.121.1 3966 typ host
a=candidate:Hc0a80301 2 UDP 2130706430 192.168.3.1 3966 typ host
a=nortpproxy:yes
_______________________________________________
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Reply via email to