[SR-Users] ACK to 200 OK without to tag

Alex Balashov abalashov at evaristesys.com
Sun Jun 3 23:06:14 CEST 2018


The end-to-end ACK for a 2xx reply to an INVITE is an in-dialog request
and must have a To-tag.

On Sun, Jun 03, 2018 at 11:04:47PM +0200, Kjeld Flarup wrote:

> We have a SIP doorstation Grandstream GDS3710. When I connect it via
> kamailio, it does not setup call correct.
> 
> Kamailio sends a 200 OK with this to field:
>         t:
> <sip:0001 at 192.168.1.150:5069>;tag=e33a13d3-c18c-4df1-b68f-446e42957de6
> 
> Grandstream answers with:
>         To: <sip:0001 at 192.168.1.150:5069>
> 
> As the code follows this example: https://kamailio.org/docs/modules/4.3.x/modules/dispatcher.html#dispatcher.ex.config,
> it seems obvious that this will fail, as there is not
> 
> route[WITHINDLG] {
>     if (has_totag()) {
> 
> There simply is not to tag. Is this a bug in the grandstream?
> 
> If so how could that go unnoticed, or is it me who misses something?
> 
> I have attached the full sip text for the 200OK and the ACK
> 
> -- 
> -------------------- Med Liberalistiske Hilsner ----------------------
>    Civilingeniør, Kjeld Flarup - Mit sind er mere åbent end min tegnebog
>    Sofienlundvej 6B, 7560 Hjerm, Tlf: 40 29 41 49
>    Den ikke akademiske hjemmeside for liberalismen - www.liberalismen.dk
> 

>   43847 12:49:34.444277    192.168.1.150         192.168.1.155         SIP/SDP  320    Status: 200 OK | 
> 
> Frame 43847: 320 bytes on wire (2560 bits), 320 bytes captured (2560 bits)
>     Encapsulation type: Linux cooked-mode capture (25)
>     Arrival Time: Jun  3, 2018 14:49:34.444277000 CEST
>     [Time shift for this packet: 0.000000000 seconds]
>     Epoch Time: 1528030174.444277000 seconds
>     [Time delta from previous captured frame: 0.000026000 seconds]
>     [Time delta from previous displayed frame: 0.000026000 seconds]
>     [Time since reference or first frame: 21839.020163000 seconds]
>     Frame Number: 43847
>     Frame Length: 320 bytes (2560 bits)
>     Capture Length: 320 bytes (2560 bits)
>     [Frame is marked: False]
>     [Frame is ignored: False]
>     [Protocols in frame: sll:ethertype:ip:udp:sip:sdp]
>     [Coloring Rule Name: UDP]
>     [Coloring Rule String: udp]
> Linux cooked capture
>     Packet type: Sent by us (4)
>     Link-layer address type: 1
>     Link-layer address length: 6
>     Source: Raspberr_fb:99:9f (b8:27:eb:fb:99:9f)
>     Unused: fffe
>     Protocol: IPv4 (0x0800)
> Internet Protocol Version 4, Src: 192.168.1.150, Dst: 192.168.1.155
>     0100 .... = Version: 4
>     .... 0101 = Header Length: 20 bytes (5)
>     Differentiated Services Field: 0x10 (DSCP: Unknown, ECN: Not-ECT)
>         0001 00.. = Differentiated Services Codepoint: Unknown (4)
>         .... ..00 = Explicit Congestion Notification: Not ECN-Capable Transport (0)
>     Total Length: 304
>     Identification: 0x3c2f (15407)
>     Flags: 0x00b9
>         0... .... .... .... = Reserved bit: Not set
>         .0.. .... .... .... = Don't fragment: Not set
>         ..0. .... .... .... = More fragments: Not set
>         ...0 0000 1011 1001 = Fragment offset: 185
>     Time to live: 64
>     Protocol: UDP (17)
>     Header checksum: 0xb843 [validation disabled]
>     [Header checksum status: Unverified]
>     Source: 192.168.1.150
>     Destination: 192.168.1.155
>     [2 IPv4 Fragments (1764 bytes): #43845(1480), #43847(284)]
>         [Frame: 43845, payload: 0-1479 (1480 bytes)]
>         [Frame: 43847, payload: 1480-1763 (284 bytes)]
>         [Fragment count: 2]
>         [Reassembled IPv4 length: 1764]
>         [Reassembled IPv4 data: 13cd13c406e440da5349502f322e3020323030204f4b0d0a...]
> User Datagram Protocol, Src Port: 5069, Dst Port: 5060
>     Source Port: 5069
>     Destination Port: 5060
>     Length: 1764
>     Checksum: 0x40da [unverified]
>     [Checksum Status: Unverified]
>     [Stream index: 3]
> Session Initiation Protocol (200)
>     Status-Line: SIP/2.0 200 OK
>         Status-Code: 200
>         [Resent Packet: True]
>         [Suspected resend of frame: 43826]
>         [Request Frame: 43831]
>         [Response Time (ms): 498]
>     Message Header
>         v: SIP/2.0/UDP 192.168.1.155:5060;rport=5060;received=192.168.1.155;branch=z9hG4bK1571336256
>             Transport: UDP
>             Sent-by Address: 192.168.1.155
>             Sent-by port: 5060
>             RPort: 5060
>             Received: 192.168.1.155
>             Branch: z9hG4bK1571336256
>         Record-Route: <sip:5.103.133.210:5070;transport=tcp;lr;r2=on;ftag=851466465;vst=AAAAAAAAAAAAAAAAAAAAAAAACwUAARgIAAAUBAoCATg1MDt0cmFuc3BvcnQ9VENQO29i;nat=yes>
>             Record-Route URI: sip:5.103.133.210:5070;transport=tcp;lr;r2=on;ftag=851466465;vst=AAAAAAAAAAAAAAAAAAAAAAAACwUAARgIAAAUBAoCATg1MDt0cmFuc3BvcnQ9VENQO29i;nat=yes
>                 Record-Route Host Part: 5.103.133.210
>                 Record-Route Host Port: 5070
>                 Record-Route URI parameter: transport=tcp
>                 Record-Route URI parameter: lr
>                 Record-Route URI parameter: r2=on
>                 Record-Route URI parameter: ftag=851466465
>                 Record-Route URI parameter: vst=AAAAAAAAAAAAAAAAAAAAAAAACwUAARgIAAAUBAoCATg1MDt0cmFuc3BvcnQ9VENQO29i
>                 Record-Route URI parameter: nat=yes
>         Record-Route: <sip:127.0.0.1:5070;lr;r2=on;ftag=851466465;vst=AAAAAAAAAAAAAAAAAAAAAAAACwUAARgIAAAUBAoCATg1MDt0cmFuc3BvcnQ9VENQO29i;nat=yes>
>             Record-Route URI: sip:127.0.0.1:5070;lr;r2=on;ftag=851466465;vst=AAAAAAAAAAAAAAAAAAAAAAAACwUAARgIAAAUBAoCATg1MDt0cmFuc3BvcnQ9VENQO29i;nat=yes
>                 Record-Route Host Part: 127.0.0.1
>                 Record-Route Host Port: 5070
>                 Record-Route URI parameter: lr
>                 Record-Route URI parameter: r2=on
>                 Record-Route URI parameter: ftag=851466465
>                 Record-Route URI parameter: vst=AAAAAAAAAAAAAAAAAAAAAAAACwUAARgIAAAUBAoCATg1MDt0cmFuc3BvcnQ9VENQO29i
>                 Record-Route URI parameter: nat=yes
>         Record-Route: <sip:127.0.0.1:5069;lr;r2=on;ftag=851466465;vsf=AAAAAFRFAXFxCAscHwcOFh8fHwQFDzUwNjk-;did=096.e362;vst=AAAAAAAABARyAAgFGAMHD24AHAYbABQFHgcDNTA3MA-->
>             Record-Route URI: sip:127.0.0.1:5069;lr;r2=on;ftag=851466465;vsf=AAAAAFRFAXFxCAscHwcOFh8fHwQFDzUwNjk-;did=096.e362;vst=AAAAAAAABARyAAgFGAMHD24AHAYbABQFHgcDNTA3MA--
>                 Record-Route Host Part: 127.0.0.1
>                 Record-Route Host Port: 5069
>                 Record-Route URI parameter: lr
>                 Record-Route URI parameter: r2=on
>                 Record-Route URI parameter: ftag=851466465
>                 Record-Route URI parameter: vsf=AAAAAFRFAXFxCAscHwcOFh8fHwQFDzUwNjk-
>                 Record-Route URI parameter: did=096.e362
>                 Record-Route URI parameter: vst=AAAAAAAABARyAAgFGAMHD24AHAYbABQFHgcDNTA3MA--
>         Record-Route: <sip:192.168.1.150:5069;lr;r2=on;ftag=851466465;vsf=AAAAAFRFAXFxCAscHwcOFh8fHwQFDzUwNjk-;did=096.e362;vst=AAAAAAAABARyAAgFGAMHD24AHAYbABQFHgcDNTA3MA-->
>             Record-Route URI: sip:192.168.1.150:5069;lr;r2=on;ftag=851466465;vsf=AAAAAFRFAXFxCAscHwcOFh8fHwQFDzUwNjk-;did=096.e362;vst=AAAAAAAABARyAAgFGAMHD24AHAYbABQFHgcDNTA3MA--
>                 Record-Route Host Part: 192.168.1.150
>                 Record-Route Host Port: 5069
>                 Record-Route URI parameter: lr
>                 Record-Route URI parameter: r2=on
>                 Record-Route URI parameter: ftag=851466465
>                 Record-Route URI parameter: vsf=AAAAAFRFAXFxCAscHwcOFh8fHwQFDzUwNjk-
>                 Record-Route URI parameter: did=096.e362
>                 Record-Route URI parameter: vst=AAAAAAAABARyAAgFGAMHD24AHAYbABQFHgcDNTA3MA--
>         i: 1347286846-5060-7 at BJC.BGI.B.BFF
>         f: "du1" <sip:du1 at 192.168.1.150:5069>;tag=851466465
>             SIP Display info: "du1"
>             SIP from address: sip:du1 at 192.168.1.150:5069
>                 SIP from address User Part: du1
>                 SIP from address Host Part: 192.168.1.150
>                 SIP from address Host Port: 5069
>             SIP from tag: 851466465
>         t: <sip:0001 at 192.168.1.150:5069>;tag=e33a13d3-c18c-4df1-b68f-446e42957de6
>             SIP to address: sip:0001 at 192.168.1.150:5069
>                 SIP to address User Part: 0001
>                 SIP to address Host Part: 192.168.1.150
>                 SIP to address Host Port: 5069
>             SIP to tag: e33a13d3-c18c-4df1-b68f-446e42957de6
>         CSeq: 60 INVITE
>             Sequence Number: 60
>             Method: INVITE
>         m: <sip:004521176217 at 192.168.1.1:51850;transport=TCP;ob>
>             Contact URI: sip:004521176217 at 192.168.1.1:51850;transport=TCP;ob
>                 Contact URI User Part: 004521176217
>                 Contact URI Host Part: 192.168.1.1
>                 Contact URI Host Port: 51850
>                 Contact URI parameter: transport=TCP
>                 Contact URI parameter: ob
>         k: replaces, 100rel, timer, norefersub
>         c: application/sdp
>         l:   705
>     Message Body
>         Session Description Protocol
>             Session Description Protocol Version (v): 0
>             Owner/Creator, Session Id (o): - 3737018965 3737018966 IN IP4 192.168.1.143
>                 Owner Username: -
>                 Session ID: 3737018965
>                 Session Version: 3737018966
>                 Owner Network Type: IN
>                 Owner Address Type: IP4
>                 Owner Address: 192.168.1.143
>             Session Name (s): pjmedia
>             Bandwidth Information (b): AS:352
>                 Bandwidth Modifier: AS [Application Specific (RTP session bandwidth)]
>                 Bandwidth Value: 352 kb/s
>             Time Description, active time (t): 0 0
>                 Session Start Time: 0
>                 Session Stop Time: 0
>             Session Attribute (a): X-nat:0
>                 Session Attribute Fieldname: X-nat
>                 Session Attribute Value: 0
>             Media Description, name and address (m): audio 6562 RTP/AVP 0 101
>                 Media Type: audio
>                 Media Port: 6562
>                 Media Protocol: RTP/AVP
>                 Media Format: ITU-T G.711 PCMU
>                 Media Format: DynamicRTP-Type-101
>             Connection Information (c): IN IP4 192.168.1.150
>                 Connection Network Type: IN
>                 Connection Address Type: IP4
>                 Connection Address: 192.168.1.150
>             Bandwidth Information (b): TIAS:64000
>                 Bandwidth Modifier: TIAS [Transport Independent Application Specific maximum]
>                 Bandwidth Value: 64000 b/s
>             Media Attribute (a): rtpmap:101 telephone-event/8000
>                 Media Attribute Fieldname: rtpmap
>                 Media Format: 101
>                 MIME Type: telephone-event
>                 Sample Rate: 8000
>             Media Attribute (a): fmtp:101 0-16
>                 Media Attribute Fieldname: fmtp
>                 Media Format: 101 [telephone-event]
>                 Media format specific parameters: 0-16
>             Media Attribute (a): sendrecv
>             Media Attribute (a): rtcp:6563
>                 Media Attribute Fieldname: rtcp
>             Media Attribute (a): candidate:bUk2ovil6hV10uPc 1 UDP 2130706431 192.168.1.150 6562 typ host
>                 Media Attribute Fieldname: candidate
>                 Foundation: bUk2ovil6hV10uPc
>                 Component ID: 1
>                 Transport: UDP
>                 Priority: 2130706431
>                 Connection Address: 192.168.1.150
>                 Candidate Port: 6562
>                 Candidate Type: host (Host candidate)
>             Media Attribute (a): candidate:bUk2ovil6hV10uPc 2 UDP 2130706430 192.168.1.150 6563 typ host
>                 Media Attribute Fieldname: candidate
>                 Foundation: bUk2ovil6hV10uPc
>                 Component ID: 2
>                 Transport: UDP
>                 Priority: 2130706430
>                 Connection Address: 192.168.1.150
>                 Candidate Port: 6563
>                 Candidate Type: host (Host candidate)
>             Media Description, name and address (m): video 6590 RTP/AVP 99
>                 Media Type: video
>                 Media Port: 6590
>                 Media Protocol: RTP/AVP
>                 Media Format: DynamicRTP-Type-99
>             Connection Information (c): IN IP4 192.168.1.150
>                 Connection Network Type: IN
>                 Connection Address Type: IP4
>                 Connection Address: 192.168.1.150
>             Bandwidth Information (b): TIAS:256000
>                 Bandwidth Modifier: TIAS [Transport Independent Application Specific maximum]
>                 Bandwidth Value: 256000 b/s
>             Media Attribute (a): rtpmap:99 H264/90000
>                 Media Attribute Fieldname: rtpmap
>                 Media Format: 99
>                 MIME Type: H264
>                 Sample Rate: 90000
>             Media Attribute (a): fmtp:99 profile-level-id=428014; packetization-mode=1
>                 Media Attribute Fieldname: fmtp
>                 Media Format: 99 [H264]
>                 Media format specific parameters: profile-level-id=428014
>                     Profile: 428014
>                         0100 0010 = Profile_idc: Baseline profile (66)
>                         1... .... = Constraint_set0_flag: 1
>                         .0.. .... = Constraint_set1_flag: 0
>                         ..0. .... = Constraint_set2_flag: 0
>                         ...0 .... = Constraint_set3_flag: 0
>                         .... 0... = Constraint_set4_flag: 0
>                         .... .0.. = Constraint_set5_flag: 0
>                         .... ..00 = Reserved_zero_2bits: 0
>                         0001 0100 = Level_id: 20 [Level 2.0 2 Mb/s]
>                 Media format specific parameters: packetization-mode=1
>                     [Packetization mode: Non-interleaved mode (1)]
>             Media Attribute (a): recvonly
>             Media Attribute (a): rtcp:6591
>                 Media Attribute Fieldname: rtcp
>             Media Attribute (a): candidate:bUk2ovil6hV10uPc 1 UDP 2130706431 192.168.1.150 6590 typ host
>                 Media Attribute Fieldname: candidate
>                 Foundation: bUk2ovil6hV10uPc
>                 Component ID: 1
>                 Transport: UDP
>                 Priority: 2130706431
>                 Connection Address: 192.168.1.150
>                 Candidate Port: 6590
>                 Candidate Type: host (Host candidate)
>             Media Attribute (a): candidate:bUk2ovil6hV10uPc 2 UDP 2130706430 192.168.1.150 6591 typ host
>                 Media Attribute Fieldname: candidate
>                 Foundation: bUk2ovil6hV10uPc
>                 Component ID: 2
>                 Transport: UDP
>                 Priority: 2130706430
>                 Connection Address: 192.168.1.150
>                 Candidate Port: 6591
>                 Candidate Type: host (Host candidate)
> 
>   43848 12:49:34.444344    192.168.1.150         192.168.1.155         RTP      216    PT=ITU-T G.711 PCMU, SSRC=0x6C1C59C2, Seq=6620, Time=800
> 
> Frame 43848: 216 bytes on wire (1728 bits), 216 bytes captured (1728 bits)
>     Encapsulation type: Linux cooked-mode capture (25)
>     Arrival Time: Jun  3, 2018 14:49:34.444344000 CEST
>     [Time shift for this packet: 0.000000000 seconds]
>     Epoch Time: 1528030174.444344000 seconds
>     [Time delta from previous captured frame: 0.000067000 seconds]
>     [Time delta from previous displayed frame: 0.000067000 seconds]
>     [Time since reference or first frame: 21839.020230000 seconds]
>     Frame Number: 43848
>     Frame Length: 216 bytes (1728 bits)
>     Capture Length: 216 bytes (1728 bits)
>     [Frame is marked: False]
>     [Frame is ignored: False]
>     [Protocols in frame: sll:ethertype:ip:udp:rtp]
>     [Coloring Rule Name: UDP]
>     [Coloring Rule String: udp]
> Linux cooked capture
>     Packet type: Sent by us (4)
>     Link-layer address type: 1
>     Link-layer address length: 6
>     Source: Raspberr_fb:99:9f (b8:27:eb:fb:99:9f)
>     Unused: 3632
>     Protocol: IPv4 (0x0800)
> Internet Protocol Version 4, Src: 192.168.1.150, Dst: 192.168.1.155
>     0100 .... = Version: 4
>     .... 0101 = Header Length: 20 bytes (5)
>     Differentiated Services Field: 0x00 (DSCP: CS0, ECN: Not-ECT)
>         0000 00.. = Differentiated Services Codepoint: Default (0)
>         .... ..00 = Explicit Congestion Notification: Not ECN-Capable Transport (0)
>     Total Length: 200
>     Identification: 0x3c30 (15408)
>     Flags: 0x4000, Don't fragment
>         0... .... .... .... = Reserved bit: Not set
>         .1.. .... .... .... = Don't fragment: Set
>         ..0. .... .... .... = More fragments: Not set
>         ...0 0000 0000 0000 = Fragment offset: 0
>     Time to live: 64
>     Protocol: UDP (17)
>     Header checksum: 0x7973 [validation disabled]
>     [Header checksum status: Unverified]
>     Source: 192.168.1.150
>     Destination: 192.168.1.155
> User Datagram Protocol, Src Port: 6562, Dst Port: 5004
>     Source Port: 6562
>     Destination Port: 5004
>     Length: 180
>     Checksum: 0x8547 [unverified]
>     [Checksum Status: Unverified]
>     [Stream index: 2114]
> Real-Time Transport Protocol
>     [Stream setup by SDP (frame 43776)]
>         [Setup frame: 43776]
>         [Setup Method: SDP]
>     10.. .... = Version: RFC 1889 Version (2)
>     ..0. .... = Padding: False
>     ...0 .... = Extension: False
>     .... 0000 = Contributing source identifiers count: 0
>     0... .... = Marker: False
>     Payload type: ITU-T G.711 PCMU (0)
>     Sequence number: 6620
>     [Extended sequence number: 72156]
>     Timestamp: 800
>     Synchronization Source identifier: 0x6c1c59c2 (1813797314)
>     Payload: 2c47b9b4bbe840f1b9b5c8392b36ccb4b9de3c3e73d25a3a...
> 
>   43849 12:49:34.445195    192.168.1.1           192.168.1.150         UDP      216    4000 → 6542 Len=172
> 
> Frame 43849: 216 bytes on wire (1728 bits), 216 bytes captured (1728 bits)
>     Encapsulation type: Linux cooked-mode capture (25)
>     Arrival Time: Jun  3, 2018 14:49:34.445195000 CEST
>     [Time shift for this packet: 0.000000000 seconds]
>     Epoch Time: 1528030174.445195000 seconds
>     [Time delta from previous captured frame: 0.000851000 seconds]
>     [Time delta from previous displayed frame: 0.000851000 seconds]
>     [Time since reference or first frame: 21839.021081000 seconds]
>     Frame Number: 43849
>     Frame Length: 216 bytes (1728 bits)
>     Capture Length: 216 bytes (1728 bits)
>     [Frame is marked: False]
>     [Frame is ignored: False]
>     [Protocols in frame: sll:ethertype:ip:udp:data]
>     [Coloring Rule Name: UDP]
>     [Coloring Rule String: udp]
> Linux cooked capture
>     Packet type: Unicast to us (0)
>     Link-layer address type: 1
>     Link-layer address length: 6
>     Source: Cisco-Li_f4:20:19 (98:fc:11:f4:20:19)
>     Unused: 6d61
>     Protocol: IPv4 (0x0800)
> Internet Protocol Version 4, Src: 192.168.1.1, Dst: 192.168.1.150
>     0100 .... = Version: 4
>     .... 0101 = Header Length: 20 bytes (5)
>     Differentiated Services Field: 0x00 (DSCP: CS0, ECN: Not-ECT)
>         0000 00.. = Differentiated Services Codepoint: Default (0)
>         .... ..00 = Explicit Congestion Notification: Not ECN-Capable Transport (0)
>     Total Length: 200
>     Identification: 0x3bc7 (15303)
>     Flags: 0x4000, Don't fragment
>         0... .... .... .... = Reserved bit: Not set
>         .1.. .... .... .... = Don't fragment: Set
>         ..0. .... .... .... = More fragments: Not set
>         ...0 0000 0000 0000 = Fragment offset: 0
>     Time to live: 63
>     Protocol: UDP (17)
>     Header checksum: 0x7b76 [validation disabled]
>     [Header checksum status: Unverified]
>     Source: 192.168.1.1
>     Destination: 192.168.1.150
> User Datagram Protocol, Src Port: 4000, Dst Port: 6542
>     Source Port: 4000
>     Destination Port: 6542
>     Length: 180
>     Checksum: 0x5fe4 [unverified]
>     [Checksum Status: Unverified]
>     [Stream index: 2112]
> Data (172 bytes)
> 
> 0000  80 00 19 dd 00 00 03 c0 6c 1c 59 c2 c8 c8 6b df   ........l.Y...k.
> 0010  ef ec ed ef ef f3 f3 f7 f6 f9 fa fd fb fd fe fe   ................
> 0020  7e 7e 7e 7e 7c 7d 7c 7c 7c 7d 7c 7d 7d 7c 7c 7d   ~~~~|}|||}|}}||}
> 0030  7c 7c 7d 7e 7d 7d ff 7e 7d 7e 7e 7e 7e fe ff 7d   ||}~}}.~}~~~~..}
> 0040  ff ff 7e ff ff ff fe ff 7e fe fe 7e 7e fe 7e 7e   ..~.....~..~~.~~
> 0050  ff ff ff ff ff ff 7e ff ff 7e ff 7e ff 7e ff 7e   ......~..~.~.~.~
> 0060  7e 7e ff 7e 7e 7e 7e ff ff 7e 7e 7e 7e 7e 7e 7e   ~~.~~~~..~~~~~~~
> 0070  7e 7e ff 7e 7e 7e 7e 7e 7e 7e 7e 7e 7e 7e 7e 7e   ~~.~~~~~~~~~~~~~
> 0080  7e 7e 7e ff 7e 7e 7e 7e ff 7e ff 7e ff 7e ff 7e   ~~~.~~~~.~.~.~.~
> 0090  ff 7e ff ff 7e 7e ff 7e 7e ff ff ff 7e ff 7e 7e   .~..~~.~~...~.~~
> 00a0  7e ff ff ff ff ff 7e 7e ff 7e ff 7e               ~.....~~.~.~
>     Data: 800019dd000003c06c1c59c2c8c86bdfefecedefeff3f3f7...
>     [Length: 172]
> 
>   43850 12:49:34.445266    192.168.1.150         192.168.1.155         RTP      216    PT=ITU-T G.711 PCMU, SSRC=0x6C1C59C2, Seq=6621, Time=960
> 
> Frame 43850: 216 bytes on wire (1728 bits), 216 bytes captured (1728 bits)
>     Encapsulation type: Linux cooked-mode capture (25)
>     Arrival Time: Jun  3, 2018 14:49:34.445266000 CEST
>     [Time shift for this packet: 0.000000000 seconds]
>     Epoch Time: 1528030174.445266000 seconds
>     [Time delta from previous captured frame: 0.000071000 seconds]
>     [Time delta from previous displayed frame: 0.000071000 seconds]
>     [Time since reference or first frame: 21839.021152000 seconds]
>     Frame Number: 43850
>     Frame Length: 216 bytes (1728 bits)
>     Capture Length: 216 bytes (1728 bits)
>     [Frame is marked: False]
>     [Frame is ignored: False]
>     [Protocols in frame: sll:ethertype:ip:udp:rtp]
>     [Coloring Rule Name: UDP]
>     [Coloring Rule String: udp]
> Linux cooked capture
>     Packet type: Sent by us (4)
>     Link-layer address type: 1
>     Link-layer address length: 6
>     Source: Raspberr_fb:99:9f (b8:27:eb:fb:99:9f)
>     Unused: 0800
>     Protocol: IPv4 (0x0800)
> Internet Protocol Version 4, Src: 192.168.1.150, Dst: 192.168.1.155
>     0100 .... = Version: 4
>     .... 0101 = Header Length: 20 bytes (5)
>     Differentiated Services Field: 0x00 (DSCP: CS0, ECN: Not-ECT)
>         0000 00.. = Differentiated Services Codepoint: Default (0)
>         .... ..00 = Explicit Congestion Notification: Not ECN-Capable Transport (0)
>     Total Length: 200
>     Identification: 0x3c31 (15409)
>     Flags: 0x4000, Don't fragment
>         0... .... .... .... = Reserved bit: Not set
>         .1.. .... .... .... = Don't fragment: Set
>         ..0. .... .... .... = More fragments: Not set
>         ...0 0000 0000 0000 = Fragment offset: 0
>     Time to live: 64
>     Protocol: UDP (17)
>     Header checksum: 0x7972 [validation disabled]
>     [Header checksum status: Unverified]
>     Source: 192.168.1.150
>     Destination: 192.168.1.155
> User Datagram Protocol, Src Port: 6562, Dst Port: 5004
>     Source Port: 6562
>     Destination Port: 5004
>     Length: 180
>     Checksum: 0x8547 [unverified]
>     [Checksum Status: Unverified]
>     [Stream index: 2114]
> Real-Time Transport Protocol
>     [Stream setup by SDP (frame 43776)]
>         [Setup frame: 43776]
>         [Setup Method: SDP]
>     10.. .... = Version: RFC 1889 Version (2)
>     ..0. .... = Padding: False
>     ...0 .... = Extension: False
>     .... 0000 = Contributing source identifiers count: 0
>     0... .... = Marker: False
>     Payload type: ITU-T G.711 PCMU (0)
>     Sequence number: 6621
>     [Extended sequence number: 72157]
>     Timestamp: 960
>     Synchronization Source identifier: 0x6c1c59c2 (1813797314)
>     Payload: c8c86bdfefecedefeff3f3f7f6f9fafdfbfdfefe7e7e7e7e...
> 
>   43851 12:49:34.446600    192.168.1.155         192.168.1.150         SIP      1182   Request: ACK sip:004521176217 at 192.168.1.1:51850;transport=TCP;ob | 
> 
> Frame 43851: 1182 bytes on wire (9456 bits), 1182 bytes captured (9456 bits)
>     Encapsulation type: Linux cooked-mode capture (25)
>     Arrival Time: Jun  3, 2018 14:49:34.446600000 CEST
>     [Time shift for this packet: 0.000000000 seconds]
>     Epoch Time: 1528030174.446600000 seconds
>     [Time delta from previous captured frame: 0.001334000 seconds]
>     [Time delta from previous displayed frame: 0.001334000 seconds]
>     [Time since reference or first frame: 21839.022486000 seconds]
>     Frame Number: 43851
>     Frame Length: 1182 bytes (9456 bits)
>     Capture Length: 1182 bytes (9456 bits)
>     [Frame is marked: False]
>     [Frame is ignored: False]
>     [Protocols in frame: sll:ethertype:ip:udp:sip]
>     [Coloring Rule Name: UDP]
>     [Coloring Rule String: udp]
> Linux cooked capture
>     Packet type: Unicast to us (0)
>     Link-layer address type: 1
>     Link-layer address length: 6
>     Source: Grandstr_b9:a9:a4 (00:0b:82:b9:a9:a4)
>     Unused: 6633
>     Protocol: IPv4 (0x0800)
> Internet Protocol Version 4, Src: 192.168.1.155, Dst: 192.168.1.150
>     0100 .... = Version: 4
>     .... 0101 = Header Length: 20 bytes (5)
>     Differentiated Services Field: 0x00 (DSCP: CS0, ECN: Not-ECT)
>         0000 00.. = Differentiated Services Codepoint: Default (0)
>         .... ..00 = Explicit Congestion Notification: Not ECN-Capable Transport (0)
>     Total Length: 1166
>     Identification: 0xe505 (58629)
>     Flags: 0x0000
>         0... .... .... .... = Reserved bit: Not set
>         .0.. .... .... .... = Don't fragment: Not set
>         ..0. .... .... .... = More fragments: Not set
>         ...0 0000 0000 0000 = Fragment offset: 0
>     Time to live: 64
>     Protocol: UDP (17)
>     Header checksum: 0x0cd8 [validation disabled]
>     [Header checksum status: Unverified]
>     Source: 192.168.1.155
>     Destination: 192.168.1.150
> User Datagram Protocol, Src Port: 5060, Dst Port: 5069
>     Source Port: 5060
>     Destination Port: 5069
>     Length: 1146
>     Checksum: 0x0975 [unverified]
>     [Checksum Status: Unverified]
>     [Stream index: 3]
> Session Initiation Protocol (ACK)
>     Request-Line: ACK sip:004521176217 at 192.168.1.1:51850;transport=TCP;ob SIP/2.0
>         Method: ACK
>         Request-URI: sip:004521176217 at 192.168.1.1:51850;transport=TCP;ob
>             Request-URI User Part: 004521176217
>             Request-URI Host Part: 192.168.1.1
>             Request-URI Host Port: 51850
>         [Resent Packet: False]
>         [Request Frame: 43831]
>         [Response Time (ms): 500]
>     Message Header
>         Via: SIP/2.0/UDP 192.168.1.155:5060;branch=z9hG4bK2039775016;rport
>             Transport: UDP
>             Sent-by Address: 192.168.1.155
>             Sent-by port: 5060
>             Branch: z9hG4bK2039775016
>             RPort: rport
>         Route: <sip:192.168.1.150:5069;lr;r2=on;ftag=851466465;vsf=AAAAAFRFAXFxCAscHwcOFh8fHwQFDzUwNjk-;did=096.e362;vst=AAAAAAAABARyAAgFGAMHD24AHAYbABQFHgcDNTA3MA-->
>             Route URI: sip:192.168.1.150:5069;lr;r2=on;ftag=851466465;vsf=AAAAAFRFAXFxCAscHwcOFh8fHwQFDzUwNjk-;did=096.e362;vst=AAAAAAAABARyAAgFGAMHD24AHAYbABQFHgcDNTA3MA--
>                 Route Host Part: 192.168.1.150
>                 Route Host Port: 5069
>                 Route URI parameter: lr
>                 Route URI parameter: r2=on
>                 Route URI parameter: ftag=851466465
>                 Route URI parameter: vsf=AAAAAFRFAXFxCAscHwcOFh8fHwQFDzUwNjk-
>                 Route URI parameter: did=096.e362
>                 Route URI parameter: vst=AAAAAAAABARyAAgFGAMHD24AHAYbABQFHgcDNTA3MA--
>         Route: <sip:127.0.0.1:5069;lr;r2=on;ftag=851466465;vsf=AAAAAFRFAXFxCAscHwcOFh8fHwQFDzUwNjk-;did=096.e362;vst=AAAAAAAABARyAAgFGAMHD24AHAYbABQFHgcDNTA3MA-->
>             Route URI: sip:127.0.0.1:5069;lr;r2=on;ftag=851466465;vsf=AAAAAFRFAXFxCAscHwcOFh8fHwQFDzUwNjk-;did=096.e362;vst=AAAAAAAABARyAAgFGAMHD24AHAYbABQFHgcDNTA3MA--
>                 Route Host Part: 127.0.0.1
>                 Route Host Port: 5069
>                 Route URI parameter: lr
>                 Route URI parameter: r2=on
>                 Route URI parameter: ftag=851466465
>                 Route URI parameter: vsf=AAAAAFRFAXFxCAscHwcOFh8fHwQFDzUwNjk-
>                 Route URI parameter: did=096.e362
>                 Route URI parameter: vst=AAAAAAAABARyAAgFGAMHD24AHAYbABQFHgcDNTA3MA--
>         Route: <sip:127.0.0.1:5070;lr;r2=on;ftag=851466465;vst=AAAAAAAAAAAAAAAAAAAAAAAACwUAARgIAAAUBAoCATg1MDt0cmFuc3BvcnQ9VENQO29i;nat=yes>
>             Route URI: sip:127.0.0.1:5070;lr;r2=on;ftag=851466465;vst=AAAAAAAAAAAAAAAAAAAAAAAACwUAARgIAAAUBAoCATg1MDt0cmFuc3BvcnQ9VENQO29i;nat=yes
>                 Route Host Part: 127.0.0.1
>                 Route Host Port: 5070
>                 Route URI parameter: lr
>                 Route URI parameter: r2=on
>                 Route URI parameter: ftag=851466465
>                 Route URI parameter: vst=AAAAAAAAAAAAAAAAAAAAAAAACwUAARgIAAAUBAoCATg1MDt0cmFuc3BvcnQ9VENQO29i
>                 Route URI parameter: nat=yes
>         Route: <sip:5.103.133.210:5070;transport=tcp;lr;r2=on;ftag=851466465;vst=AAAAAAAAAAAAAAAAAAAAAAAACwUAARgIAAAUBAoCATg1MDt0cmFuc3BvcnQ9VENQO29i;nat=yes>
>             Route URI: sip:5.103.133.210:5070;transport=tcp;lr;r2=on;ftag=851466465;vst=AAAAAAAAAAAAAAAAAAAAAAAACwUAARgIAAAUBAoCATg1MDt0cmFuc3BvcnQ9VENQO29i;nat=yes
>                 Route Host Part: 5.103.133.210
>                 Route Host Port: 5070
>                 Route URI parameter: transport=tcp
>                 Route URI parameter: lr
>                 Route URI parameter: r2=on
>                 Route URI parameter: ftag=851466465
>                 Route URI parameter: vst=AAAAAAAAAAAAAAAAAAAAAAAACwUAARgIAAAUBAoCATg1MDt0cmFuc3BvcnQ9VENQO29i
>                 Route URI parameter: nat=yes
>         From: "du1" <sip:du1 at 192.168.1.150:5069>;tag=851466465
>             SIP Display info: "du1"
>             SIP from address: sip:du1 at 192.168.1.150:5069
>                 SIP from address User Part: du1
>                 SIP from address Host Part: 192.168.1.150
>                 SIP from address Host Port: 5069
>             SIP from tag: 851466465
>         To: <sip:0001 at 192.168.1.150:5069>
>             SIP to address: sip:0001 at 192.168.1.150:5069
>                 SIP to address User Part: 0001
>                 SIP to address Host Part: 192.168.1.150
>                 SIP to address Host Port: 5069
>         Call-ID: 1347286846-5060-7 at BJC.BGI.B.BFF
>         CSeq: 60 ACK
>             Sequence Number: 60
>             Method: ACK
>         Contact: <sip:du1 at 192.168.1.155:5060>
>             Contact URI: sip:du1 at 192.168.1.155:5060
>                 Contact URI User Part: du1
>                 Contact URI Host Part: 192.168.1.155
>                 Contact URI Host Port: 5060
>         Max-Forwards: 70
>         Supported: replaces, path, timer, eventlist
>         User-Agent: Grandstream GDS3710 1.0.2.22
>         Allow: INVITE, ACK, OPTIONS, CANCEL, BYE, SUBSCRIBE, NOTIFY, INFO, REFER, UPDATE, MESSAGE
>         Content-Length: 0

> _______________________________________________
> Kamailio (SER) - Users Mailing List
> sr-users at lists.kamailio.org
> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users


-- 
Alex Balashov | Principal | Evariste Systems LLC

Tel: +1-706-510-6800 / +1-800-250-5920 (toll-free) 
Web: http://www.evaristesys.com/, http://www.csrpswitch.com/



More information about the sr-users mailing list