| 34 | | |
| 35 | | 06:16:04.853344 IP (tos 0x68, ttl 64, id 0, offset 0, flags [DF], proto UDP (17), length 1004) |
| 36 | | 192.168.0.105.5060 > 192.168.0.147.5060: SIP, length: 976 |
| 37 | | INVITE sip:100@192.168.0.147:5060 SIP/2.0 |
| 38 | | Via: SIP/2.0/UDP 192.168.0.105:5060;branch=z9hG4bK4227904688 |
| 39 | | From: "123" <sip:123@192.168.0.147:5060>;tag=4009663443 |
| 40 | | To: <sip:100@192.168.0.147:5060> |
| 41 | | Call-ID: 1_3246133754@192.168.0.105 |
| 42 | | CSeq: 1 INVITE |
| 43 | | Contact: <sip:123@192.168.0.105:5060> |
| 44 | | Content-Type: application/sdp |
| 45 | | Allow: INVITE, INFO, PRACK, ACK, BYE, CANCEL, OPTIONS, NOTIFY, REGISTER, SUBSCRIBE, REFER, PUBLISH, UPDATE, MESSAGE |
| 46 | | Max-Forwards: 70 |
| 47 | | User-Agent: Yealink SIP-T21P_E2 52.80.14.2 |
| 48 | | Supported: timer |
| 49 | | Session-Expires: 180;refresher=uac |
| 50 | | Min-SE: 90 |
| 51 | | Allow-Events: talk,hold,conference,refer,check-sync |
| 52 | | Supported: replaces |
| 53 | | Content-Length: 315 |
| 54 | | |
| 55 | | v=0 |
| 56 | | o=- 20167 20167 IN IP4 192.168.0.105 |
| 57 | | s=SDP data |
| 58 | | c=IN IP4 192.168.0.105 |
| 59 | | t=0 0 |
| 60 | | m=audio 11926 RTP/AVP 8 0 102 18 101 |
| 61 | | a=rtpmap:8 PCMA/8000 |
| 62 | | a=rtpmap:0 PCMU/8000 |
| 63 | | a=rtpmap:102 G726-32/8000 |
| 64 | | a=rtpmap:18 G729/8000 |
| 65 | | a=fmtp:18 annexb=no |
| 66 | | a=ptime:30 |
| 67 | | a=sendrecv |
| 68 | | a=rtpmap:101 telephone-event/8000 |
| 69 | | a=fmtp:101 0-15 |
| 70 | | |
| 71 | | 06:16:04.865300 IP (tos 0x0, ttl 64, id 0, offset 0, flags [DF], proto UDP (17), length 468) |
| 72 | | 192.168.0.147.5060 > 192.168.0.105.5060: SIP, length: 440 |
| 73 | | SIP/2.0 407 Proxy Authentication Required |
| 74 | | Via: SIP/2.0/UDP 192.168.0.105:5060;branch=z9hG4bK4227904688 |
| 75 | | Proxy-Authenticate: Digest nonce="1560492964:155384d9f42e21d611ff2f4a6548f523",algorithm=MD5,realm="192.168.0.147",qop="auth,auth-int" |
| 76 | | To: <sip:100@192.168.0.147:5060>;tag=a5126e6b |
| 77 | | From: "123"<sip:123@192.168.0.147:5060>;tag=4009663443 |
| 78 | | Call-ID: 1_3246133754@192.168.0.105 |
| 79 | | CSeq: 1 INVITE |
| 80 | | Server: repro 1.10.2 |
| 81 | | Content-Length: 0 |
| 82 | | |
| 83 | | |
| 84 | | 06:16:04.870323 IP (tos 0x68, ttl 64, id 0, offset 0, flags [DF], proto UDP (17), length 305) |
| 85 | | 192.168.0.105.5060 > 192.168.0.147.5060: SIP, length: 277 |
| 86 | | ACK sip:100@192.168.0.147:5060 SIP/2.0 |
| 87 | | Via: SIP/2.0/UDP 192.168.0.105:5060;branch=z9hG4bK4227904688 |
| 88 | | From: "123" <sip:123@192.168.0.147:5060>;tag=4009663443 |
| 89 | | To: <sip:100@192.168.0.147:5060>;tag=a5126e6b |
| 90 | | Call-ID: 1_3246133754@192.168.0.105 |
| 91 | | CSeq: 1 ACK |
| 92 | | Content-Length: 0 |
| 93 | | |
| 94 | | |
| 95 | | 06:16:04.882345 IP (tos 0x68, ttl 64, id 0, offset 0, flags [DF], proto UDP (17), length 1260) |
| 96 | | 192.168.0.105.5060 > 192.168.0.147.5060: SIP, length: 1232 |
| 97 | | INVITE sip:100@192.168.0.147:5060 SIP/2.0 |
| 98 | | Via: SIP/2.0/UDP 192.168.0.105:5060;branch=z9hG4bK3315518714 |
| 99 | | From: "123" <sip:123@192.168.0.147:5060>;tag=4009663443 |
| 100 | | To: <sip:100@192.168.0.147:5060> |
| 101 | | Call-ID: 1_3246133754@192.168.0.105 |
| 102 | | CSeq: 2 INVITE |
| 103 | | Contact: <sip:123@192.168.0.105:5060> |
| 104 | | Proxy-Authorization: Digest username="123", realm="192.168.0.147", nonce="1560492964:155384d9f42e21d611ff2f4a6548f523", uri="sip:100@192.168.0.147:5060", response="ede18207ecfb6d870a9e4acb97174604", algorithm=MD5, cnonce="0a4f113b", qop=auth, nc=00000001 |
| 105 | | Content-Type: application/sdp |
| 106 | | Allow: INVITE, INFO, PRACK, ACK, BYE, CANCEL, OPTIONS, NOTIFY, REGISTER, SUBSCRIBE, REFER, PUBLISH, UPDATE, MESSAGE |
| 107 | | Max-Forwards: 70 |
| 108 | | User-Agent: Yealink SIP-T21P_E2 52.80.14.2 |
| 109 | | Supported: timer |
| 110 | | Session-Expires: 180;refresher=uac |
| 111 | | Min-SE: 90 |
| 112 | | Allow-Events: talk,hold,conference,refer,check-sync |
| 113 | | Supported: replaces |
| 114 | | Content-Length: 315 |
| 115 | | |
| 116 | | v=0 |
| 117 | | o=- 20167 20167 IN IP4 192.168.0.105 |
| 118 | | s=SDP data |
| 119 | | c=IN IP4 192.168.0.105 |
| 120 | | t=0 0 |
| 121 | | m=audio 11926 RTP/AVP 8 0 102 18 101 |
| 122 | | a=rtpmap:8 PCMA/8000 |
| 123 | | a=rtpmap:0 PCMU/8000 |
| 124 | | a=rtpmap:102 G726-32/8000 |
| 125 | | a=rtpmap:18 G729/8000 |
| 126 | | a=fmtp:18 annexb=no |
| 127 | | a=ptime:30 |
| 128 | | a=sendrecv |
| 129 | | a=rtpmap:101 telephone-event/8000 |
| 130 | | a=fmtp:101 0-15 |
| 131 | | |
| 132 | | 06:16:04.956783 IP (tos 0x0, ttl 64, id 0, offset 0, flags [DF], proto UDP (17), length 591) |
| 133 | | 192.168.0.147.5060 > 192.168.0.105.5060: SIP, length: 563 |
| 134 | | SIP/2.0 180 Ringing |
| 135 | | Via: SIP/2.0/UDP 192.168.0.105:5060;branch=z9hG4bK3315518714 |
| 136 | | Record-Route: <sip:192.168.0.147:5060;transport=udp;lr> |
| 137 | | Contact: <sip:100@127.0.0.1:6060> |
| 138 | | To: <sip:100@192.168.0.147:5060>;tag=1425527049 |
| 139 | | From: "123" <sip:123@192.168.0.147:5060>;tag=4009663443 |
| 140 | | Call-ID: 1_3246133754@192.168.0.105 |
| 141 | | CSeq: 2 INVITE |
| 142 | | Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, REFER, NOTIFY, INFO, UPDATE, PRACK |
| 143 | | Server: repro 1.10.2 |
| 144 | | Supported: replaces, timer, 100rel |
| 145 | | User-Agent: eXosip/4.1.0 |
| 146 | | P-Asserted-Identity: <sip:100@192.168.0.147> |
| 147 | | Content-Length: 0 |
| 148 | | |
| 149 | | |
| 150 | | 06:16:10.526388 IP (tos 0x68, ttl 64, id 0, offset 0, flags [DF], proto UDP (17), length 360) |
| 151 | | 192.168.0.105.5060 > 192.168.0.147.5060: SIP, length: 332 |
| 152 | | CANCEL sip:100@192.168.0.147:5060 SIP/2.0 |
| 153 | | Via: SIP/2.0/UDP 192.168.0.105:5060;branch=z9hG4bK3315518714 |
| 154 | | From: "123" <sip:123@192.168.0.147:5060>;tag=4009663443 |
| 155 | | To: <sip:100@192.168.0.147:5060> |
| 156 | | Call-ID: 1_3246133754@192.168.0.105 |
| 157 | | CSeq: 2 CANCEL |
| 158 | | Max-Forwards: 70 |
| 159 | | User-Agent: Yealink SIP-T21P_E2 52.80.14.2 |
| 160 | | Content-Length: 0 |
| 161 | | |
| 162 | | |
| 163 | | 06:16:10.539300 IP (tos 0x0, ttl 64, id 0, offset 0, flags [DF], proto UDP (17), length 306) |
| 164 | | 192.168.0.147.5060 > 192.168.0.105.5060: SIP, length: 278 |
| 165 | | SIP/2.0 200 OK |
| 166 | | Via: SIP/2.0/UDP 192.168.0.105:5060;branch=z9hG4bK3315518714 |
| 167 | | To: <sip:100@192.168.0.147:5060>;tag=24766014 |
| 168 | | From: "123" <sip:123@192.168.0.147:5060>;tag=4009663443 |
| 169 | | Call-ID: 1_3246133754@192.168.0.105 |
| 170 | | CSeq: 2 CANCEL |
| 171 | | Server: repro 1.10.2 |
| 172 | | Content-Length: 0 |
| 173 | | |
| 174 | | |
| 175 | | 06:16:10.572847 IP (tos 0x0, ttl 64, id 0, offset 0, flags [DF], proto UDP (17), length 349) |
| 176 | | 192.168.0.147.5060 > 192.168.0.105.5060: SIP, length: 321 |
| 177 | | SIP/2.0 487 Request Cancelled |
| 178 | | Via: SIP/2.0/UDP 192.168.0.105:5060;branch=z9hG4bK3315518714 |
| 179 | | To: <sip:100@192.168.0.147:5060>;tag=1425527049 |
| 180 | | From: "123" <sip:123@192.168.0.147:5060>;tag=4009663443 |
| 181 | | Call-ID: 1_3246133754@192.168.0.105 |
| 182 | | CSeq: 2 INVITE |
| 183 | | Server: repro 1.10.2 |
| 184 | | User-Agent: eXosip/4.1.0 |
| 185 | | Content-Length: 0 |
| 186 | | |
| 187 | | |
| 188 | | 06:16:10.577410 IP (tos 0x68, ttl 64, id 0, offset 0, flags [DF], proto UDP (17), length 307) |
| 189 | | 192.168.0.105.5060 > 192.168.0.147.5060: SIP, length: 279 |
| 190 | | ACK sip:100@192.168.0.147:5060 SIP/2.0 |
| 191 | | Via: SIP/2.0/UDP 192.168.0.105:5060;branch=z9hG4bK3315518714 |
| 192 | | From: "123" <sip:123@192.168.0.147:5060>;tag=4009663443 |
| 193 | | To: <sip:100@192.168.0.147:5060>;tag=1425527049 |
| 194 | | Call-ID: 1_3246133754@192.168.0.105 |
| 195 | | CSeq: 2 ACK |
| 196 | | Content-Length: 0 |
| 197 | | |
| 198 | | |
| 199 | | |
| 200 | | 10 packets captured |
| 201 | | 11 packets received by filter |
| 202 | | 0 packets dropped by kernel |
| | 21 | p.s. Для простого анализа пакетов на можно выводить пакеты не в файл, а на экран в текстовом виде: |
| | 22 | {{{ |
| | 23 | tcpdump -i any -nn -s 0 -A -vv 'host 192.168.0.105 and port 5060' |