[OpenSIPS-Users] udp or tcp for nat traversal?

george wu aihuawu2012 at 163.com
Wed Oct 15 16:32:27 CEST 2014


//part 2

 
    103.24.228.158.5060 > 124.193.138.210.6001: SIP, length: 1472
    INVITE sip:test2 at 192.168.1.3:5080 SIP/2.0
    Record-Route: <sip:103.24.228.158;lr;nat=yes>
    Via: SIP/2.0/UDP 103.24.228.158:5060;branch=z9hG4bK57b9.3415f0e2.0
    Via: SIP/2.0/UDP 192.168.1.3:5070;received=124.193.138.210;branch=z9hG4bK.FohJ-Pjji;rport=5758
    From: <sip:test1 at 103.24.228.158>;tag=OGCx7gRon
    To: sip:test2 at 103.24.228.158
    CSeq: 20 INVITE
    Call-ID: xHqVFVS-lk
    Max-Forwards: 69
    Supported: outbound
    Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, NOTIFY, MESSAGE, SUBSCRIBE, INFO, UPDATE
    Content-Type: application/sdp
    Content-Length: 872
    Contact: <sip:test1 at 124.193.138.210:5758>;+sip.instance="<urn:uuid:866598bd-4f5e-47f9-b7fa-8be6c6883a57>"
    User-Agent: Linphonec/3.7.0 (belle-sip/1.3.2)
   
    v=0
    o=test1 1433 1939 IN IP4 192.168.1.3
    s=Talk
    c=IN IP4 103.24.228.158
    t=0 0
    a=ice-pwd:84505b9d160c756b6b138ac5
    a=ice-ufrag:5e5508d3
    a=rtcp-xr:rcvr-rtt=all:10000 stat-summary=loss,dup,jitt,TTL voip-metrics
    m=audio 50002 RTP/AVP 111 110 0 8 101
    c=IN IP4 103.24.228.158
    a=rtpmap:111 speex/16000
    a=fmtp:111 vbr=on
    a=rtpmap:110 speex/8000
    a=fmtp:110 vbr=on
    a=rtpmap:101 telephone-event/8000
    a=fmtp:101 0-15
    a=rtcp:50003
    a=candidate:R9ee41867 1 UDP 16777215 103.24.228.158 50002 typ relay
    a=candidate:R9ee41867 2 UDP 16777214 103.24.228.158 50003 typ relay
    a=candidate:1 1 UDP 2130706431 192.168.1.3 7078 typ host
    a=candidate:1 2 UDP 2130706430 192.168.1.3 7079 typ host
    a=candidate:2 2 UDP 1694498814 124.193.138.210 5060 typ srflx raddr 192.168[|sip]
22:20:20.414018 IP (tos 0x10, ttl 64, id 55680, offset 0, flags [+], proto UDP (17), length 1500)
    103.24.228.158.5060 > 124.193.138.210.6001: SIP, length: 1472
    INVITE sip:test2 at 124.193.138.210:6001 SIP/2.0
    Record-Route: <sip:103.24.228.158;lr;nat=yes>
    Via: SIP/2.0/UDP 103.24.228.158:5060;branch=z9hG4bK57b9.3415f0e2.1
    Via: SIP/2.0/UDP 192.168.1.3:5070;received=124.193.138.210;branch=z9hG4bK.FohJ-Pjji;rport=5758
    From: <sip:test1 at 103.24.228.158>;tag=OGCx7gRon
    To: sip:test2 at 103.24.228.158
    CSeq: 20 INVITE
    Call-ID: xHqVFVS-lk
    Max-Forwards: 69
    Supported: outbound
    Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, NOTIFY, MESSAGE, SUBSCRIBE, INFO, UPDATE
    Content-Type: application/sdp
    Content-Length: 872
    Contact: <sip:test1 at 124.193.138.210:5758>;+sip.instance="<urn:uuid:866598bd-4f5e-47f9-b7fa-8be6c6883a57>"
    User-Agent: Linphonec/3.7.0 (belle-sip/1.3.2)
   
    v=0
    o=test1 1433 1939 IN IP4 192.168.1.3
    s=Talk
    c=IN IP4 103.24.228.158
    t=0 0
    a=ice-pwd:84505b9d160c756b6b138ac5
    a=ice-ufrag:5e5508d3
    a=rtcp-xr:rcvr-rtt=all:10000 stat-summary=loss,dup,jitt,TTL voip-metrics
    m=audio 50002 RTP/AVP 111 110 0 8 101
    c=IN IP4 103.24.228.158
    a=rtpmap:111 speex/16000
    a=fmtp:111 vbr=on
    a=rtpmap:110 speex/8000
    a=fmtp:110 vbr=on
    a=rtpmap:101 telephone-event/8000
    a=fmtp:101 0-15
    a=rtcp:50003
    a=candidate:R9ee41867 1 UDP 16777215 103.24.228.158 50002 typ relay
    a=candidate:R9ee41867 2 UDP 16777214 103.24.228.158 50003 typ relay
    a=candidate:1 1 UDP 2130706431 192.168.1.3 7078 typ host
    a=candidate:1 2 UDP 2130706430 192.168.1.3 7079 typ host
    a=candidate:2 2 UDP 1694498814 124.193.138.210 5060 typ srflx raddr 192[|sip]
22:20:21.023735 IP (tos 0x10, ttl 64, id 0, offset 0, flags [DF], proto UDP (17), length 32)
    103.24.228.158.5060 > 124.193.138.210.6001: SIP, length: 4
    \0x00\0x00\0x00[|sip]
22:20:21.023768 IP (tos 0x10, ttl 64, id 0, offset 0, flags [DF], proto UDP (17), length 32)
    103.24.228.158.5060 > 124.193.138.210.6001: SIP, length: 4
    \0x00\0x00\0x00[|sip]
22:20:22.641553 IP (tos 0x10, ttl 64, id 55681, offset 0, flags [+], proto UDP (17), length 1500)
    103.24.228.158.5060 > 124.193.138.210.6001: SIP, length: 1472
    INVITE sip:test2 at 192.168.1.3:5080 SIP/2.0
    Record-Route: <sip:103.24.228.158;lr;nat=yes>
    Via: SIP/2.0/UDP 103.24.228.158:5060;branch=z9hG4bK57b9.3415f0e2.0
    Via: SIP/2.0/UDP 192.168.1.3:5070;received=124.193.138.210;branch=z9hG4bK.FohJ-Pjji;rport=5758
    From: <sip:test1 at 103.24.228.158>;tag=OGCx7gRon
    To: sip:test2 at 103.24.228.158
    CSeq: 20 INVITE
    Call-ID: xHqVFVS-lk
    Max-Forwards: 69
    Supported: outbound
    Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, NOTIFY, MESSAGE, SUBSCRIBE, INFO, UPDATE
    Content-Type: application/sdp
    Content-Length: 872
    Contact: <sip:test1 at 124.193.138.210:5758>;+sip.instance="<urn:uuid:866598bd-4f5e-47f9-b7fa-8be6c6883a57>"
    User-Agent: Linphonec/3.7.0 (belle-sip/1.3.2)
   
    v=0
    o=test1 1433 1939 IN IP4 192.168.1.3
    s=Talk
    c=IN IP4 103.24.228.158
    t=0 0
    a=ice-pwd:84505b9d160c756b6b138ac5
    a=ice-ufrag:5e5508d3
    a=rtcp-xr:rcvr-rtt=all:10000 stat-summary=loss,dup,jitt,TTL voip-metrics
    m=audio 50002 RTP/AVP 111 110 0 8 101
    c=IN IP4 103.24.228.158
    a=rtpmap:111 speex/16000
    a=fmtp:111 vbr=on
    a=rtpmap:110 speex/8000
    a=fmtp:110 vbr=on
    a=rtpmap:101 telephone-event/8000
    a=fmtp:101 0-15
    a=rtcp:50003
    a=candidate:R9ee41867 1 UDP 16777215 103.24.228.158 50002 typ relay
    a=candidate:R9ee41867 2 UDP 16777214 103.24.228.158 50003 typ relay
    a=candidate:1 1 UDP 2130706431 192.168.1.3 7078 typ host
    a=candidate:1 2 UDP 2130706430 192.168.1.3 7079 typ host
    a=candidate:2 2 UDP 1694498814 124.193.138.210 5060 typ srflx raddr 192.168[|sip]
22:20:22.641606 IP (tos 0x10, ttl 64, id 55682, offset 0, flags [+], proto UDP (17), length 1500)
    103.24.228.158.5060 > 124.193.138.210.6001: SIP, length: 1472
    INVITE sip:test2 at 124.193.138.210:6001 SIP/2.0
    Record-Route: <sip:103.24.228.158;lr;nat=yes>
    Via: SIP/2.0/UDP 103.24.228.158:5060;branch=z9hG4bK57b9.3415f0e2.1
    Via: SIP/2.0/UDP 192.168.1.3:5070;received=124.193.138.210;branch=z9hG4bK.FohJ-Pjji;rport=5758
    From: <sip:test1 at 103.24.228.158>;tag=OGCx7gRon
    To: sip:test2 at 103.24.228.158
    CSeq: 20 INVITE
    Call-ID: xHqVFVS-lk
    Max-Forwards: 69
    Supported: outbound
    Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, NOTIFY, MESSAGE, SUBSCRIBE, INFO, UPDATE
    Content-Type: application/sdp
    Content-Length: 872
    Contact: <sip:test1 at 124.193.138.210:5758>;+sip.instance="<urn:uuid:866598bd-4f5e-47f9-b7fa-8be6c6883a57>"
    User-Agent: Linphonec/3.7.0 (belle-sip/1.3.2)
   
    v=0
    o=test1 1433 1939 IN IP4 192.168.1.3
    s=Talk
    c=IN IP4 103.24.228.158
    t=0 0
    a=ice-pwd:84505b9d160c756b6b138ac5
    a=ice-ufrag:5e5508d3
    a=rtcp-xr:rcvr-rtt=all:10000 stat-summary=loss,dup,jitt,TTL voip-metrics
    m=audio 50002 RTP/AVP 111 110 0 8 101
    c=IN IP4 103.24.228.158
    a=rtpmap:111 speex/16000
    a=fmtp:111 vbr=on
    a=rtpmap:110 speex/8000
    a=fmtp:110 vbr=on
    a=rtpmap:101 telephone-event/8000
    a=fmtp:101 0-15
    a=rtcp:50003
    a=candidate:R9ee41867 1 UDP 16777215 103.24.228.158 50002 typ relay
    a=candidate:R9ee41867 2 UDP 16777214 103.24.228.158 50003 typ relay
    a=candidate:1 1 UDP 2130706431 192.168.1.3 7078 typ host
    a=candidate:1 2 UDP 2130706430 192.168.1.3 7079 typ host
    a=candidate:2 2 UDP 1694498814 124.193.138.210 5060 typ srflx raddr 192[|sip]
22:20:24.969168 IP (tos 0x10, ttl 64, id 0, offset 0, flags [DF], proto UDP (17), length 378)
    103.24.228.158.5060 > 124.193.138.210.5758: SIP, length: 350
    SIP/2.0 408 Request Timeout
    Via: SIP/2.0/UDP 192.168.1.3:5070;received=124.193.138.210;branch=z9hG4bK.FohJ-Pjji;rport=5758
    From: <sip:test1 at 103.24.228.158>;tag=OGCx7gRon
    To: sip:test2 at 103.24.228.158;tag=d8bd1b57441363f641ce73441337eed0-1628
    CSeq: 20 INVITE
    Call-ID: xHqVFVS-lk
    Server: OpenSIPS (1.11.2-tls (x86_64/linux))
    Content-Length: 0
   
   
22:20:25.033860 IP (tos 0x10, ttl 64, id 0, offset 0, flags [DF], proto UDP (17), length 32)
    103.24.228.158.5060 > 124.193.138.210.5758: SIP, length: 4
    \0x00\0x00\0x00[|sip]
22:20:25.033896 IP (tos 0x10, ttl 64, id 0, offset 0, flags [DF], proto UDP (17), length 32)
    103.24.228.158.5060 > 124.193.138.210.5758: SIP, length: 4
    \0x00\0x00\0x00[|sip]
22:20:25.045036 IP (tos 0x0, ttl 48, id 24523, offset 0, flags [DF], proto UDP (17), length 416)
    124.193.138.210.5758 > 103.24.228.158.5060: SIP, length: 388
    ACK sip:test2 at 103.24.228.158 SIP/2.0
    Via: SIP/2.0/UDP 192.168.1.3:5070;branch=z9hG4bK.FohJ-Pjji;rport
    Call-ID: xHqVFVS-lk
    From: <sip:test1 at 103.24.228.158>;tag=OGCx7gRon
    To: <sip:test2 at 103.24.228.158>;tag=d8bd1b57441363f641ce73441337eed0-1628
    Contact: <sip:test1 at 124.193.138.210:5758>;+sip.instance="<urn:uuid:866598bd-4f5e-47f9-b7fa-8be6c6883a57>"
    Max-Forwards: 70
    CSeq: 20 ACK
   
   
22:20:26.129568 IP (tos 0x0, ttl 48, id 24524, offset 0, flags [DF], proto UDP (17), length 32)
    124.193.138.210.5758 > 103.24.228.158.5060: SIP, length: 4
   
   
   
22:20:32.049089 IP (tos 0x10, ttl 64, id 0, offset 0, flags [DF], proto UDP (17), length 32)
    103.24.228.158.5060 > 124.193.138.210.6001: SIP, length: 4
    \0x00\0x00\0x00[|sip]
22:20:32.049116 IP (tos 0x10, ttl 64, id 0, offset 0, flags [DF], proto UDP (17), length 32)
    103.24.228.158.5060 > 124.193.138.210.6001: SIP, length: 4
    \0x00\0x00\0x00[|sip]
22:20:36.057255 IP (tos 0x10, ttl 64, id 0, offset 0, flags [DF], proto UDP (17), length 32)
    103.24.228.158.5060 > 124.193.138.210.5758: SIP, length: 4
    \0x00\0x00\0x00[|sip]
22:20:36.057278 IP (tos 0x10, ttl 64, id 0, offset 0, flags [DF], proto UDP (17), length 32)
    103.24.228.158.5060 > 124.193.138.210.5758: SIP, length: 4
    \0x00\0x00\0x00[|sip]
22:20:36.139991 IP (tos 0x0, ttl 48, id 24526, offset 0, flags [DF], proto UDP (17), length 32)
    124.193.138.210.5758 > 103.24.228.158.5060: SIP, length: 4
   
   
   
22:20:43.071439 IP (tos 0x10, ttl 64, id 0, offset 0, flags [DF], proto UDP (17), length 32)
    103.24.228.158.5060 > 124.193.138.210.6001: SIP, length: 4
    \0x00\0x00\0x00[|sip]
22:20:43.071472 IP (tos 0x10, ttl 64, id 0, offset 0, flags [DF], proto UDP (17), length 32)
    103.24.228.158.5060 > 124.193.138.210.6001: SIP, length: 4
    \0x00\0x00\0x00[|sip]
22:20:44.220415 IP (tos 0x0, ttl 48, id 24527, offset 0, flags [DF], proto UDP (17), length 32)
    124.193.138.210.6001 > 103.24.228.158.5060: SIP, length: 4
   
   
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20141015/1ece1cdb/attachment-0001.htm>


More information about the Users mailing list