Closed syadnom closed 4 years ago
Captagent will only do RTCP
statistics and needs to capture and correlate those to SIP sessions. Please make sure you enabled an rtcp
range in your socket_pcap
configuration to begin with. If you're using NAT
on your devices, you might also have to enable nat
detection on the agent for pairing stats.
entire socket_pcap file below. SIP is on 5060. I'm not modifying these systems except to change the IP and flip false to true in socket_pcap for RTCP. I'm lost.
systemctl shows these error lines: Apr 04 15:59:00 ip-172-26-4-102 captagent[20606]: [ERR] protocol_sip.c:350 SIP PARSE ERROR [-1] Apr 04 15:59:00 ip-172-26-4-102 captagent[20606]: [1B blob data] Apr 04 16:02:59 ip-172-26-4-102 captagent[20606]: [ERR] protocol_sip.c:131 This is not RTCP Apr 04 16:02:59 ip-172-26-4-102 captagent[20606]: [1B blob data] Apr 04 16:03:28 ip-172-26-4-102 captagent[20606]: [ERR] protocol_sip.c:131 Couldnot find this call Apr 04 16:03:28 ip-172-26-4-102 captagent[20606]: [1B blob data] Apr 04 16:04:19 ip-172-26-4-102 captagent[20606]: [ERR] protocol_sip.c:131 Couldnot find this call Apr 04 16:04:19 ip-172-26-4-102 captagent[20606]: [1B blob data] Apr 04 16:04:25 ip-172-26-4-102 captagent[20606]: [ERR] protocol_sip.c:131 Couldnot find this call Apr 04 16:04:25 ip-172-26-4-102 captagent[20606]: [1B blob data]
socket_pcap.xml: <?xml version="1.0"?>
On the server side I'm getting this... but I don't have json enabled just hep. The IP and port are right on the client because data is making it to the server.
heplify-server | 2019/04/04 21:59:00.886248 decoder.go:120: WARN parseStartLine err: received err while parsing start line: parseStartLineRequest err: could not get "/" pos in parts[2] heplify-server | "Sip0SIP/2.0 200 OK\r\nVia: SIP/2.0/UDP
When you enable the RTCP socket the agent will capture reports for calls it has never seen an INVITE
for hence the This is not RTCP
message. If this does not disappear as new calls arrive, the SDP possibly carries NATed details.
PBX is on EC2 so it's 1:1 NAT. Is there something I should configure for that to be recognized?
On Thu, Apr 4, 2019 at 5:39 PM Lorenzo Mangani notifications@github.com wrote:
When you enable the RTCP socket the agent will capture reports for calls it has never seen an INVITE for hence the This is not RTCP message. If this does not disappear as new calls arrive, the SDP possibly carries NATed details.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/sipcapture/captagent/issues/208#issuecomment-480100649, or mute the thread https://github.com/notifications/unsubscribe-auth/AJRXZda9CoYlo4aEjnqPlEAwaxeV4g7sks5vdo0ugaJpZM4cdoGV .
do you see the rtp/rtcp streams from public or private IP addreses ? And what do you have in the SDP?
I think he just uses a 3CX PBX which uses a special tunnel encapsulation https://www.3cx.com/docs/3cx-tunnel-session-border-controller/ So the SIP, RTCP Port correlation does not work correctly I guess.
Some time ago I wrote a special decoder for a guy and sent him a special heplify version https://github.com/sipcapture/heplify-server/issues/68 It's not public because 3CX wouldn't like it ;)
same here
Closing for inactivity. Reopen if needed.
I just brought up homer7+heplify+influx using docker and have not changed anything ie bone stock.
I have captagent running on my pbx, sending via transport_hep and I'm seeing the calls in homer7 UI. I can't see the QoS data though. What am I missing? How do I tell if captagent is actually sending that?
captagent.xml has: