hope wrote:if capturing packets of the incoming calls from Inphonex, is the calling number in the INVITE the same as that in the Inphonex ars pattern-IN/matching patterns?
better to check the checkbox of "Apply to Request URI instead of To" in the Inphonex ARS pattern-IN/matching patterns.
-------------------------------------------------------------------------------------
thanks your response, i have captured the file in wireshark, please analyze it:
5220250 is the inphonex account configured in Brekeke PBX.
192.168.100.2 is the IP of the Brekeke PBX
201.219.60.6 is the Global IP address
1001 is the incoming extension number that i configured in ARS.
when there is an incoming call to this account this is the responses:
No. Time Source Destination Protocol Info
1 0.000000 192.168.100.2 208.239.76.169 SIP/SDP Request: INVITE sip:5220250@sip.inphonex.com, with session description
Frame 1 (1018 bytes on wire, 1018 bytes captured)
Ethernet II, Src: IntelCor_7f:f1:2e (00:1c:c0:7f:f1:2e), Dst: Netgear_0c:52:5e (00:1e:2a:0c:52:5e)
Internet Protocol, Src: 192.168.100.2 (192.168.100.2), Dst: 208.239.76.169 (208.239.76.169)
User Datagram Protocol, Src Port: 46040 (46040), Dst Port: sip (5060)
Session Initiation Protocol
No. Time Source Destination Protocol Info
2 0.124399 208.239.76.169 192.168.100.2 SIP Status: 100 Trying
Frame 2 (373 bytes on wire, 373 bytes captured)
Ethernet II, Src: Netgear_0c:52:5e (00:1e:2a:0c:52:5e), Dst: IntelCor_7f:f1:2e (00:1c:c0:7f:f1:2e)
Internet Protocol, Src: 208.239.76.169 (208.239.76.169), Dst: 192.168.100.2 (192.168.100.2)
User Datagram Protocol, Src Port: sip (5060), Dst Port: 46040 (46040)
Session Initiation Protocol
No. Time Source Destination Protocol Info
3 0.137829 208.239.76.169 192.168.100.2 SIP Status: 407 Proxy Authentication Required
Frame 3 (597 bytes on wire, 597 bytes captured)
Ethernet II, Src: Netgear_0c:52:5e (00:1e:2a:0c:52:5e), Dst: IntelCor_7f:f1:2e (00:1c:c0:7f:f1:2e)
Internet Protocol, Src: 208.239.76.169 (208.239.76.169), Dst: 192.168.100.2 (192.168.100.2)
User Datagram Protocol, Src Port: sip (5060), Dst Port: 46040 (46040)
Session Initiation Protocol
No. Time Source Destination Protocol Info
4 0.138192 192.168.100.2 208.239.76.169 SIP Request: ACK sip:5220250@sip.inphonex.com
Frame 4 (416 bytes on wire, 416 bytes captured)
Ethernet II, Src: IntelCor_7f:f1:2e (00:1c:c0:7f:f1:2e), Dst: Netgear_0c:52:5e (00:1e:2a:0c:52:5e)
Internet Protocol, Src: 192.168.100.2 (192.168.100.2), Dst: 208.239.76.169 (208.239.76.169)
User Datagram Protocol, Src Port: 46040 (46040), Dst Port: sip (5060)
Session Initiation Protocol
No. Time Source Destination Protocol Info
5 0.138453 192.168.100.2 208.239.76.169 SIP/SDP Request: INVITE sip:5220250@sip.inphonex.com, with session description
Frame 5 (1233 bytes on wire, 1233 bytes captured)
Ethernet II, Src: IntelCor_7f:f1:2e (00:1c:c0:7f:f1:2e), Dst: Netgear_0c:52:5e (00:1e:2a:0c:52:5e)
Internet Protocol, Src: 192.168.100.2 (192.168.100.2), Dst: 208.239.76.169 (208.239.76.169)
User Datagram Protocol, Src Port: 46040 (46040), Dst Port: sip (5060)
Session Initiation Protocol
No. Time Source Destination Protocol Info
6 0.265916 208.239.76.169 192.168.100.2 SIP Status: 100 Trying
Frame 6 (373 bytes on wire, 373 bytes captured)
Ethernet II, Src: Netgear_0c:52:5e (00:1e:2a:0c:52:5e), Dst: IntelCor_7f:f1:2e (00:1c:c0:7f:f1:2e)
Internet Protocol, Src: 208.239.76.169 (208.239.76.169), Dst: 192.168.100.2 (192.168.100.2)
User Datagram Protocol, Src Port: sip (5060), Dst Port: 46040 (46040)
Session Initiation Protocol
No. Time Source Destination Protocol Info
7 0.298067 208.239.76.169 192.168.100.2 SIP/SDP Request: INVITE sip:5220250@192.168.100.2:5060, with session description
Frame 7 (1078 bytes on wire, 1078 bytes captured)
Ethernet II, Src: Netgear_0c:52:5e (00:1e:2a:0c:52:5e), Dst: IntelCor_7f:f1:2e (00:1c:c0:7f:f1:2e)
Internet Protocol, Src: 208.239.76.169 (208.239.76.169), Dst: 192.168.100.2 (192.168.100.2)
User Datagram Protocol, Src Port: sip (5060), Dst Port: sip (5060)
Session Initiation Protocol
No. Time Source Destination Protocol Info
8 0.298417 192.168.100.2 208.239.76.169 SIP Status: 100 Trying
Frame 8 (443 bytes on wire, 443 bytes captured)
Ethernet II, Src: IntelCor_7f:f1:2e (00:1c:c0:7f:f1:2e), Dst: Netgear_0c:52:5e (00:1e:2a:0c:52:5e)
Internet Protocol, Src: 192.168.100.2 (192.168.100.2), Dst: 208.239.76.169 (208.239.76.169)
User Datagram Protocol, Src Port: sip (5060), Dst Port: sip (5060)
Session Initiation Protocol
No. Time Source Destination Protocol Info
9 0.309493 192.168.100.2 10.0.5.66 SIP/SDP Request: INVITE sip:5220250-hkjk2ohd94hu6@10.0.5.66:5060, with session description
Frame 9 (759 bytes on wire, 759 bytes captured)
Ethernet II, Src: IntelCor_7f:f1:2e (00:1c:c0:7f:f1:2e), Dst: Netgear_0c:52:5e (00:1e:2a:0c:52:5e)
Internet Protocol, Src: 192.168.100.2 (192.168.100.2), Dst: 10.0.5.66 (10.0.5.66)
User Datagram Protocol, Src Port: sip (5060), Dst Port: sip (5060)
Session Initiation Protocol
No. Time Source Destination Protocol Info
10 0.365549 190.90.1.34 192.168.100.2 ICMP Time-to-live exceeded (Time to live exceeded in transit)
Frame 10 (70 bytes on wire, 70 bytes captured)
Ethernet II, Src: Netgear_0c:52:5e (00:1e:2a:0c:52:5e), Dst: IntelCor_7f:f1:2e (00:1c:c0:7f:f1:2e)
Internet Protocol, Src: 190.90.1.34 (190.90.1.34), Dst: 192.168.100.2 (192.168.100.2)
Internet Control Message Protocol
No. Time Source Destination Protocol Info
11 0.809235 192.168.100.2 10.0.5.66 SIP/SDP Request: INVITE sip:5220250-hkjk2ohd94hu6@10.0.5.66:5060, with session description
Frame 11 (759 bytes on wire, 759 bytes captured)
Ethernet II, Src: IntelCor_7f:f1:2e (00:1c:c0:7f:f1:2e), Dst: Netgear_0c:52:5e (00:1e:2a:0c:52:5e)
Internet Protocol, Src: 192.168.100.2 (192.168.100.2), Dst: 10.0.5.66 (10.0.5.66)
User Datagram Protocol, Src Port: sip (5060), Dst Port: sip (5060)
Session Initiation Protocol
No. Time Source Destination Protocol Info
12 0.866185 190.90.1.34 192.168.100.2 ICMP Time-to-live exceeded (Time to live exceeded in transit)
Frame 12 (70 bytes on wire, 70 bytes captured)
Ethernet II, Src: Netgear_0c:52:5e (00:1e:2a:0c:52:5e), Dst: IntelCor_7f:f1:2e (00:1c:c0:7f:f1:2e)
Internet Protocol, Src: 190.90.1.34 (190.90.1.34), Dst: 192.168.100.2 (192.168.100.2)
Internet Control Message Protocol
No. Time Source Destination Protocol Info
13 0.970459 192.168.100.2 201.219.1.20 DNS Standard query SRV _sip._udp.sip.inphonex.com
Frame 13 (86 bytes on wire, 86 bytes captured)
Ethernet II, Src: IntelCor_7f:f1:2e (00:1c:c0:7f:f1:2e), Dst: Netgear_0c:52:5e (00:1e:2a:0c:52:5e)
Internet Protocol, Src: 192.168.100.2 (192.168.100.2), Dst: 201.219.1.20 (201.219.1.20)
User Datagram Protocol, Src Port: device2 (2030), Dst Port: domain (53)
Domain Name System (query)
No. Time Source Destination Protocol Info
14 0.970543 192.168.100.2 201.219.1.20 DNS Standard query A sip.inphonex.com
Frame 14 (76 bytes on wire, 76 bytes captured)
Ethernet II, Src: IntelCor_7f:f1:2e (00:1c:c0:7f:f1:2e), Dst: Netgear_0c:52:5e (00:1e:2a:0c:52:5e)
Internet Protocol, Src: 192.168.100.2 (192.168.100.2), Dst: 201.219.1.20 (201.219.1.20)
User Datagram Protocol, Src Port: device2 (2030), Dst Port: domain (53)
Domain Name System (query)
No. Time Source Destination Protocol Info
15 1.066164 201.219.1.20 192.168.100.2 DNS Standard query response SRV 2 50 5060 sip.inphonex.com
Frame 15 (176 bytes on wire, 176 bytes captured)
Ethernet II, Src: Netgear_0c:52:5e (00:1e:2a:0c:52:5e), Dst: IntelCor_7f:f1:2e (00:1c:c0:7f:f1:2e)
Internet Protocol, Src: 201.219.1.20 (201.219.1.20), Dst: 192.168.100.2 (192.168.100.2)
User Datagram Protocol, Src Port: domain (53), Dst Port: device2 (2030)
Domain Name System (response)
No. Time Source Destination Protocol Info
16 1.067574 201.219.1.20 192.168.100.2 DNS Standard query response A 208.239.76.169
Frame 16 (130 bytes on wire, 130 bytes captured)
Ethernet II, Src: Netgear_0c:52:5e (00:1e:2a:0c:52:5e), Dst: IntelCor_7f:f1:2e (00:1c:c0:7f:f1:2e)
Internet Protocol, Src: 201.219.1.20 (201.219.1.20), Dst: 192.168.100.2 (192.168.100.2)
User Datagram Protocol, Src Port: domain (53), Dst Port: device2 (2030)
Domain Name System (response)
No. Time Source Destination Protocol Info
17 1.809227 192.168.100.2 10.0.5.66 SIP/SDP Request: INVITE sip:5220250-hkjk2ohd94hu6@10.0.5.66:5060, with session description
Frame 17 (759 bytes on wire, 759 bytes captured)
Ethernet II, Src: IntelCor_7f:f1:2e (00:1c:c0:7f:f1:2e), Dst: Netgear_0c:52:5e (00:1e:2a:0c:52:5e)
Internet Protocol, Src: 192.168.100.2 (192.168.100.2), Dst: 10.0.5.66 (10.0.5.66)
User Datagram Protocol, Src Port: sip (5060), Dst Port: sip (5060)
Session Initiation Protocol
No. Time Source Destination Protocol Info
18 1.862773 190.90.1.34 192.168.100.2 ICMP Time-to-live exceeded (Time to live exceeded in transit)
Frame 18 (70 bytes on wire, 70 bytes captured)
Ethernet II, Src: Netgear_0c:52:5e (00:1e:2a:0c:52:5e), Dst: IntelCor_7f:f1:2e (00:1c:c0:7f:f1:2e)
Internet Protocol, Src: 190.90.1.34 (190.90.1.34), Dst: 192.168.100.2 (192.168.100.2)
Internet Control Message Protocol
No. Time Source Destination Protocol Info
19 3.809228 192.168.100.2 10.0.5.66 SIP/SDP Request: INVITE sip:5220250-hkjk2ohd94hu6@10.0.5.66:5060, with session description
Frame 19 (759 bytes on wire, 759 bytes captured)
Ethernet II, Src: IntelCor_7f:f1:2e (00:1c:c0:7f:f1:2e), Dst: Netgear_0c:52:5e (00:1e:2a:0c:52:5e)
Internet Protocol, Src: 192.168.100.2 (192.168.100.2), Dst: 10.0.5.66 (10.0.5.66)
User Datagram Protocol, Src Port: sip (5060), Dst Port: sip (5060)
Session Initiation Protocol
No. Time Source Destination Protocol Info
20 3.864556 190.90.1.34 192.168.100.2 ICMP Time-to-live exceeded (Time to live exceeded in transit)
Frame 20 (70 bytes on wire, 70 bytes captured)
Ethernet II, Src: Netgear_0c:52:5e (00:1e:2a:0c:52:5e), Dst: IntelCor_7f:f1:2e (00:1c:c0:7f:f1:2e)
Internet Protocol, Src: 190.90.1.34 (190.90.1.34), Dst: 192.168.100.2 (192.168.100.2)
Internet Control Message Protocol
No. Time Source Destination Protocol Info
21 7.809189 192.168.100.2 10.0.5.66 SIP/SDP Request: INVITE sip:5220250-hkjk2ohd94hu6@10.0.5.66:5060, with session description
Frame 21 (759 bytes on wire, 759 bytes captured)
Ethernet II, Src: IntelCor_7f:f1:2e (00:1c:c0:7f:f1:2e), Dst: Netgear_0c:52:5e (00:1e:2a:0c:52:5e)
Internet Protocol, Src: 192.168.100.2 (192.168.100.2), Dst: 10.0.5.66 (10.0.5.66)
User Datagram Protocol, Src Port: sip (5060), Dst Port: sip (5060)
Session Initiation Protocol
No. Time Source Destination Protocol Info
22 7.863927 190.90.1.34 192.168.100.2 ICMP Time-to-live exceeded (Time to live exceeded in transit)
Frame 22 (70 bytes on wire, 70 bytes captured)
Ethernet II, Src: Netgear_0c:52:5e (00:1e:2a:0c:52:5e), Dst: IntelCor_7f:f1:2e (00:1c:c0:7f:f1:2e)
Internet Protocol, Src: 190.90.1.34 (190.90.1.34), Dst: 192.168.100.2 (192.168.100.2)
Internet Control Message Protocol
No. Time Source Destination Protocol Info
23 12.131730 192.168.100.2 208.239.76.169 SIP Request: CANCEL sip:5220250@sip.inphonex.com
Frame 23 (631 bytes on wire, 631 bytes captured)
Ethernet II, Src: IntelCor_7f:f1:2e (00:1c:c0:7f:f1:2e), Dst: Netgear_0c:52:5e (00:1e:2a:0c:52:5e)
Internet Protocol, Src: 192.168.100.2 (192.168.100.2), Dst: 208.239.76.169 (208.239.76.169)
User Datagram Protocol, Src Port: 46040 (46040), Dst Port: sip (5060)
Session Initiation Protocol
No. Time Source Destination Protocol Info
24 12.247803 208.239.76.169 192.168.100.2 SIP Status: 200 OK
Frame 24 (397 bytes on wire, 397 bytes captured)
Ethernet II, Src: Netgear_0c:52:5e (00:1e:2a:0c:52:5e), Dst: IntelCor_7f:f1:2e (00:1c:c0:7f:f1:2e)
Internet Protocol, Src: 208.239.76.169 (208.239.76.169), Dst: 192.168.100.2 (192.168.100.2)
User Datagram Protocol, Src Port: sip (5060), Dst Port: 46040 (46040)
Session Initiation Protocol
No. Time Source Destination Protocol Info
25 12.254275 208.239.76.169 192.168.100.2 SIP Request: CANCEL sip:5220250@192.168.100.2:5060
Frame 25 (460 bytes on wire, 460 bytes captured)
Ethernet II, Src: Netgear_0c:52:5e (00:1e:2a:0c:52:5e), Dst: IntelCor_7f:f1:2e (00:1c:c0:7f:f1:2e)
Internet Protocol, Src: 208.239.76.169 (208.239.76.169), Dst: 192.168.100.2 (192.168.100.2)
User Datagram Protocol, Src Port: sip (5060), Dst Port: sip (5060)
Session Initiation Protocol
No. Time Source Destination Protocol Info
26 12.254840 192.168.100.2 208.239.76.169 SIP Status: 200 OK
Frame 26 (454 bytes on wire, 454 bytes captured)
Ethernet II, Src: IntelCor_7f:f1:2e (00:1c:c0:7f:f1:2e), Dst: Netgear_0c:52:5e (00:1e:2a:0c:52:5e)
Internet Protocol, Src: 192.168.100.2 (192.168.100.2), Dst: 208.239.76.169 (208.239.76.169)
User Datagram Protocol, Src Port: sip (5060), Dst Port: sip (5060)
Session Initiation Protocol
No. Time Source Destination Protocol Info
27 12.255757 192.168.100.2 208.239.76.169 SIP Status: 487 Request Cancelled
Frame 27 (490 bytes on wire, 490 bytes captured)
Ethernet II, Src: IntelCor_7f:f1:2e (00:1c:c0:7f:f1:2e), Dst: Netgear_0c:52:5e (00:1e:2a:0c:52:5e)
Internet Protocol, Src: 192.168.100.2 (192.168.100.2), Dst: 208.239.76.169 (208.239.76.169)
User Datagram Protocol, Src Port: sip (5060), Dst Port: sip (5060)
Session Initiation Protocol
No. Time Source Destination Protocol Info
28 12.259187 208.239.76.169 192.168.100.2 SIP Status: 487 Request Terminated
Frame 28 (408 bytes on wire, 408 bytes captured)
Ethernet II, Src: Netgear_0c:52:5e (00:1e:2a:0c:52:5e), Dst: IntelCor_7f:f1:2e (00:1c:c0:7f:f1:2e)
Internet Protocol, Src: 208.239.76.169 (208.239.76.169), Dst: 192.168.100.2 (192.168.100.2)
User Datagram Protocol, Src Port: sip (5060), Dst Port: 46040 (46040)
Session Initiation Protocol
No. Time Source Destination Protocol Info
29 12.259460 192.168.100.2 208.239.76.169 SIP Request: ACK sip:5220250@sip.inphonex.com
Frame 29 (387 bytes on wire, 387 bytes captured)
Ethernet II, Src: IntelCor_7f:f1:2e (00:1c:c0:7f:f1:2e), Dst: Netgear_0c:52:5e (00:1e:2a:0c:52:5e)
Internet Protocol, Src: 192.168.100.2 (192.168.100.2), Dst: 208.239.76.169 (208.239.76.169)
User Datagram Protocol, Src Port: 46040 (46040), Dst Port: sip (5060)
Session Initiation Protocol
No. Time Source Destination Protocol Info
30 12.374118 208.239.76.169 192.168.100.2 SIP Request: ACK sip:5220250@192.168.100.2:5060
Frame 30 (500 bytes on wire, 500 bytes captured)
Ethernet II, Src: Netgear_0c:52:5e (00:1e:2a:0c:52:5e), Dst: IntelCor_7f:f1:2e (00:1c:c0:7f:f1:2e)
Internet Protocol, Src: 208.239.76.169 (208.239.76.169), Dst: 192.168.100.2 (192.168.100.2)
User Datagram Protocol, Src Port: sip (5060), Dst Port: sip (5060)
Session Initiation Protocol
No. Time Source Destination Protocol Info
31 15.075998 192.168.100.2 208.239.76.169 SIP Request: REGISTER sip:sip.inphonex.com
Frame 31 (859 bytes on wire, 859 bytes captured)
Ethernet II, Src: IntelCor_7f:f1:2e (00:1c:c0:7f:f1:2e), Dst: Netgear_0c:52:5e (00:1e:2a:0c:52:5e)
Internet Protocol, Src: 192.168.100.2 (192.168.100.2), Dst: 208.239.76.169 (208.239.76.169)
User Datagram Protocol, Src Port: 46040 (46040), Dst Port: sip (5060)
Session Initiation Protocol
No. Time Source Destination Protocol Info
32 15.197409 208.239.76.169 192.168.100.2 SIP Status: 200 OK (1 bindings)
Frame 32 (471 bytes on wire, 471 bytes captured)
Ethernet II, Src: Netgear_0c:52:5e (00:1e:2a:0c:52:5e), Dst: IntelCor_7f:f1:2e (00:1c:c0:7f:f1:2e)
Internet Protocol, Src: 208.239.76.169 (208.239.76.169), Dst: 192.168.100.2 (192.168.100.2)
User Datagram Protocol, Src Port: sip (5060), Dst Port: 46040 (46040)
Session Initiation Protocol