ded писал(а):Наблюдаете
SIP read from UDP:10.11.22.2:5060 ---> как говориться: если на клетке слона написано ТИГР, то не верь глазам своим!
Зайдите на 10.11.22.2 и сделайте
tcpdump port 5060 -i tun0 (или какой там у вас) -F -s0
и увидите SIP пакеты, где будет видно: кто посылает, куда послыает, кого посылает, и зачем.
Да я судя по всему, голос идет с той стороны.
Звонок и тишина в трубки несколько секунд.
Код: Выделить всё
19:01:19.294740 IP (tos 0x60, ttl 62, id 15793, offset 0, flags [none], proto UDP (17), length 912)
10.11.0.4.5060 > 10.0.15.2.5060: SIP, length: 884
SIP/2.0 200 OK
Via: SIP/2.0/UDP 10.0.15.2:5060;branch=z9hG4bKPj0TYvvwhMMGT-ZVPqHWK6s9z0hkd-dSV8;received=10.11.22.2;rport=5060
From: "Dmitrij Ivanov" <sip:9996@10.0.15.2>;tag=5UCzWS0j2LxbhS2D5wRZA69YNaX4qLiW
To: <sip:7069@10.11.0.4>;tag=as2f5abf2b
Call-ID: pp7EsasChMbb40nr8FnNGcsi-yPwBhyz
CSeq: 6841 INVITE
Server: FPBX-2.10.1(1.8.10.1)
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH
Supported: replaces, timer
Session-Expires: 1800;refresher=uas
Contact: <sip:7069@10.11.0.4:5060>
Content-Type: application/sdp
Content-Length: 303
v=0
o=root 558648594 558648594 IN IP4 10.11.0.4
s=Asterisk PBX 1.8.10.1
c=IN IP4 10.11.0.4
t=0 0
m=audio 15846 RTP/AVP 0 8 3 101
a=rtpmap:0 PCMU/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:3 GSM/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=silenceSupp:off - - - -
a=ptime:20
a=sendrecv
19:01:19.295250 IP (tos 0x0, ttl 64, id 0, offset 0, flags [DF], proto UDP (17), length 412)
10.0.15.2.5060 > 10.11.0.4.5060: SIP, length: 384
ACK sip:7069@10.11.0.4:5060 SIP/2.0
Via: SIP/2.0/UDP 10.0.15.2:5060;rport;branch=z9hG4bKPjWuDKdGRZsWT1vZJhwisCQTlkV.tON.Tl
From: "Dmitrij Ivanov" <sip:9996@10.0.15.2>;tag=5UCzWS0j2LxbhS2D5wRZA69YNaX4qLiW
To: <sip:7069@10.11.0.4>;tag=as2f5abf2b
Call-ID: pp7EsasChMbb40nr8FnNGcsi-yPwBhyz
CSeq: 6841 ACK
Max-Forwards: 70
User-Agent: FPBX-13.0.190.11(13.11.2)
Content-Length: 0
19:01:19.486484 IP (tos 0x0, ttl 64, id 0, offset 0, flags [DF], proto UDP (17), length 200)
10.0.15.2.13458 > 10.11.0.4.15846: UDP, length 172
19:01:19.505768 IP (tos 0x0, ttl 64, id 0, offset 0, flags [DF], proto UDP (17), length 200)
10.0.15.2.13458 > 10.11.0.4.15846: UDP, length 172
19:01:19.525354 IP (tos 0x0, ttl 64, id 0, offset 0, flags [DF], proto UDP (17), length 200)
10.0.15.2.13458 > 10.11.0.4.15846: UDP, length 172
19:01:19.549669 IP (tos 0x0, ttl 64, id 0, offset 0, flags [DF], proto UDP (17), length 200)
10.0.15.2.13458 > 10.11.0.4.15846: UDP, length 172
19:01:19.568690 IP (tos 0x0, ttl 64, id 0, offset 0, flags [DF], proto UDP (17), length 200)
10.0.15.2.13458 > 10.11.0.4.15846: UDP, length 172
19:01:19.588140 IP (tos 0x0, ttl 64, id 0, offset 0, flags [DF], proto UDP (17), length 200)
10.0.15.2.13458 > 10.11.0.4.15846: UDP, length 172
19:01:19.607457 IP (tos 0x0, ttl 64, id 0, offset 0, flags [DF], proto UDP (17), length 200)
10.0.15.2.13458 > 10.11.0.4.15846: UDP, length 172
19:01:19.626167 IP (tos 0x0, ttl 64, id 0, offset 0, flags [DF], proto UDP (17), length 200)
10.0.15.2.13458 > 10.11.0.4.15846: UDP, length 172
19:01:19.645400 IP (tos 0x0, ttl 64, id 0, offset 0, flags [DF], proto UDP (17), length 200)
10.0.15.2.13458 > 10.11.0.4.15846: UDP, length 172
19:01:19.668911 IP (tos 0x0, ttl 64, id 0, offset 0, flags [DF], proto UDP (17), length 200)
10.0.15.2.13458 > 10.11.0.4.15846: UDP, length 172
19:01:19.687802 IP (tos 0x0, ttl 64, id 0, offset 0, flags [DF], proto UDP (17), length 200)
10.0.15.2.13458 > 10.11.0.4.15846: UDP, length 172
19:01:19.706324 IP (tos 0x0, ttl 64, id 0, offset 0, flags [DF], proto UDP (17), length 200)
10.0.15.2.13458 > 10.11.0.4.15846: UDP, length 172
19:01:19.724939 IP (tos 0x0, ttl 64, id 0, offset 0, flags [DF], proto UDP (17), length 200)
10.0.15.2.13458 > 10.11.0.4.15846: UDP, length 172
19:01:19.748015 IP (tos 0x0, ttl 64, id 0, offset 0, flags [DF], proto UDP (17), length 200)
10.0.15.2.13458 > 10.11.0.4.15846: UDP, length 172
19:01:19.766619 IP (tos 0x0, ttl 64, id 0, offset 0, flags [DF], proto UDP (17), length 200)
10.0.15.2.13458 > 10.11.0.4.15846: UDP, length 172
19:01:19.789048 IP (tos 0x0, ttl 64, id 0, offset 0, flags [DF], proto UDP (17), length 200)
10.0.15.2.13458 > 10.11.0.4.15846: UDP, length 172
Тут появляется голос тети)
Код: Выделить всё
19:06:22.643359 IP (tos 0x0, ttl 64, id 0, offset 0, flags [DF], proto UDP (17), length 200)
10.0.15.2.19216 > 10.11.0.4.16380: UDP, length 172
19:06:22.656365 IP (tos 0xb8, ttl 62, id 0, offset 0, flags [DF], proto UDP (17), length 200)
10.11.0.4.16380 > 10.0.15.2.19216: UDP, length 172
19:06:22.661791 IP (tos 0x0, ttl 64, id 0, offset 0, flags [DF], proto UDP (17), length 200)
10.0.15.2.19216 > 10.11.0.4.16380: UDP, length 172
19:06:22.676313 IP (tos 0xb8, ttl 62, id 0, offset 0, flags [DF], proto UDP (17), length 200)
10.11.0.4.16380 > 10.0.15.2.19216: UDP, length 172
19:06:22.680400 IP (tos 0x0, ttl 64, id 0, offset 0, flags [DF], proto UDP (17), length 200)
10.0.15.2.19216 > 10.11.0.4.16380: UDP, length 172
19:06:22.696269 IP (tos 0xb8, ttl 62, id 0, offset 0, flags [DF], proto UDP (17), length 200)
10.11.0.4.16380 > 10.0.15.2.19216: UDP, length 172
19:06:22.702847 IP (tos 0x0, ttl 64, id 0, offset 0, flags [DF], proto UDP (17), length 200)
10.0.15.2.19216 > 10.11.0.4.16380: UDP, length 172
19:06:22.716321 IP (tos 0xb8, ttl 62, id 0, offset 0, flags [DF], proto UDP (17), length 200)
10.11.0.4.16380 > 10.0.15.2.19216: UDP, length 172
19:06:22.721645 IP (tos 0x0, ttl 64, id 0, offset 0, flags [DF], proto UDP (17), length 200)
10.0.15.2.19216 > 10.11.0.4.16380: UDP, length 172
19:06:22.736447 IP (tos 0xb8, ttl 62, id 0, offset 0, flags [DF], proto UDP (17), length 200)
10.11.0.4.16380 > 10.0.15.2.19216: UDP, length 172
19:06:22.740301 IP (tos 0x0, ttl 64, id 0, offset 0, flags [DF], proto UDP (17), length 200)
10.0.15.2.19216 > 10.11.0.4.16380: UDP, length 172
19:06:22.756456 IP (tos 0xb8, ttl 62, id 0, offset 0, flags [DF], proto UDP (17), length 200)
10.11.0.4.16380 > 10.0.15.2.19216: UDP, length 172
19:06:22.763756 IP (tos 0x0, ttl 64, id 0, offset 0, flags [DF], proto UDP (17), length 200)
10.0.15.2.19216 > 10.11.0.4.16380: UDP, length 172
19:06:22.776311 IP (tos 0xb8, ttl 62, id 0, offset 0, flags [DF], proto UDP (17), length 200)
10.11.0.4.16380 > 10.0.15.2.19216: UDP, length 172
19:06:22.781762 IP (tos 0x0, ttl 64, id 0, offset 0, flags [DF], proto UDP (17), length 200)
10.0.15.2.19216 > 10.11.0.4.16380: UDP, length 172
19:06:22.796458 IP (tos 0xb8, ttl 62, id 0, offset 0, flags [DF], proto UDP (17), length 200)
10.11.0.4.16380 > 10.0.15.2.19216: UDP, length 172
19:06:22.800319 IP (tos 0x0, ttl 64, id 0, offset 0, flags [DF], proto UDP (17), length 200)
10.0.15.2.19216 > 10.11.0.4.16380: UDP, length 172
19:06:22.816382 IP (tos 0xb8, ttl 62, id 0, offset 0, flags [DF], proto UDP (17), length 200)
10.11.0.4.16380 > 10.0.15.2.19216: UDP, length 172
19:06:22.822797 IP (tos 0x0, ttl 64, id 0, offset 0, flags [DF], proto UDP (17), length 200)
10.0.15.2.19216 > 10.11.0.4.16380: UDP, length 172
19:06:22.836182 IP (tos 0xb8, ttl 62, id 0, offset 0, flags [DF], proto UDP (17), length 200)
10.11.0.4.16380 > 10.0.15.2.19216: UDP, length 172
19:06:22.841406 IP (tos 0x0, ttl 64, id 0, offset 0, flags [DF], proto UDP (17), length 200)
10.0.15.2.19216 > 10.11.0.4.16380: UDP, length 172
19:06:22.856247 IP (tos 0xb8, ttl 62, id 0, offset 0, flags [DF], proto UDP (17), length 200)
10.11.0.4.16380 > 10.0.15.2.19216: UDP, length 172
19:06:22.864352 IP (tos 0x0, ttl 64, id 0, offset 0, flags [DF], proto UDP (17), length 200)
10.0.15.2.19216 > 10.11.0.4.16380: UDP, length 172
19:06:22.876507 IP (tos 0xb8, ttl 62, id 0, offset 0, flags [DF], proto UDP (17), length 200)
10.11.0.4.16380 > 10.0.15.2.19216: UDP, length 172
19:06:22.882837 IP (tos 0x0, ttl 64, id 0, offset 0, flags [DF], proto UDP (17), length 200)
10.0.15.2.19216 > 10.11.0.4.16380: UDP, length 172
19:06:22.896390 IP (tos 0xb8, ttl 62, id 0, offset 0, flags [DF], proto UDP (17), length 200)
10.11.0.4.16380 > 10.0.15.2.19216: UDP, length 172
19:06:22.901430 IP (tos 0x0, ttl 64, id 0, offset 0, flags [DF], proto UDP (17), length 200)
10.0.15.2.19216 > 10.11.0.4.16380: UDP, length 172