-
-
Notifications
You must be signed in to change notification settings - Fork 75
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Captagent stopped sending data to Homer #131
Comments
You try use HEP tcp and in this case better install libuv 1.x, because the
0.1 doesn't support tcp reconnect well. Or switch to hep up.
…On 24 Apr 2017 03:47, "gunjanmk" ***@***.***> wrote:
Hi Team,
Captagent has stopped sending data to homer for some reason and I can not
work out why. It was working fine, not aware of any changes which was done
on server.
- I can see some output from captagent but homer is not getting this
data
- anything specific info we can provide
Below is logs and file output
++++++++
cat /usr/local/captagent/etc/captagent/captagent.xml
<load module="transport_hep" register="local"/>
<load module="database_hash" register="local"/>
<load module="protocol_sip" register="local"/>
<load module="protocol_rtcp" register="local"/>
<load module="socket_pcap" register="local"/>
</modules>
</configuration>
++++++++
/usr/src/captagent/src/captagent -f /usr/local/captagent/etc/
captagent/captagent.xml
[NOTICE] Loaded core config
[DEBUG] modules.c:50 Loading module: [transport_hep]
[ERR] modules.c:75 dlopen error [/usr/local/captagent/lib/
captagent/modules/transport_hep.so: undefined symbol: uv_key_set]
[DEBUG] modules.c:50 Loading module: [database_hash]
[NOTICE] Loaded database_hash
[DEBUG] modules.c:50 Loading module: [protocol_sip]
[NOTICE] Loaded protocol_sip
[DEBUG] modules.c:50 Loading module: [protocol_rtcp]
[NOTICE] Loaded protocol_rtcp
[DEBUG] modules.c:50 Loading module: [socket_pcap]
[NOTICE] Loaded socket_pcap
[DEBUG] socket_pcap.c:573 Activating device: vlan201
[DEBUG] socket_pcap.c:609 Activated device: [vlan201]
[NOTICE] Using filter: (portrange 5060-5091)
[DEBUG] conf_function.c:453 find_export_record: found <msg_check> in
module protocol_sip [/usr/local/captagent/lib/captagent/modules]
[DEBUG] conf_function.c:453 find_export_record: found <parse_sip> in
module protocol_sip [/usr/local/captagent/lib/captagent/modules]
[ERR] conf_function.c:458 find_export_record: <send_hep> not found
parse error (9,27-28): unknown command, missing loadmodule?
[DEBUG] conf_function.c:453 find_export_record: found in module
protocol_sip [/usr/local/captagent/lib/captagent/modules]
[DEBUG] conf_function.c:453 find_export_record: found <sip_has_sdp> in
module protocol_sip [/usr/local/captagent/lib/captagent/modules]
[DEBUG] conf_function.c:453 find_export_record: found <check_rtcp_ipport>
in module database_hash [/usr/local/captagent/lib/captagent/modules]
[DEBUG] conf_function.c:453 find_export_record: found in module
protocol_sip [/usr/local/captagent/lib/captagent/modules]
ERROR: bad config file (1 errors)
[DEBUG] socket_pcap.c:573 Activating device: vlan201
[DEBUG] socket_pcap.c:764 Link offset interface type [1] [1] [14]
[DEBUG] protocol_sip.c:370 SIP: [OPTIONS ***@***.***:5063;transport=tcp
SIP/2.0
Via: SIP/2.0/UDP 103.55.116.65:5060;branch=z9hG4bK0ab875bd;rport
Max-Forwards: 70
From: "2talkpbx" ***@***.***;tag=as378b9006
To: ***@***.***:5063;transport=tcp
Contact: ***@***.***:5060
Call-ID: ***@***.***
CSeq: 102 OPTIONS
User-Agent: YCT PBX
Date: Mon, 24 Apr 2017 01:14:29 GMT
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INF
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#131>, or mute the thread
<https://github.com/notifications/unsubscribe-auth/AETdJX35hPJwidqMX1R6lgZMSwPR_ckHks5ry_8_gaJpZM4NFnex>
.
|
Thanks @adubovikov This is our main frame server so i can probably try second option first. "Or switch to hep up" <<< you mean UDP ? Correct me if i am wrong but I assume this is changed by below ? If not, please let me know where to change this +++++ If above change is correct then I assume this did not fix issue for me. /usr/src/captagent/src/captagent -f /usr/local/captagent/etc/captagent/captagent.xml[NOTICE] Loaded core config [DEBUG] socket_pcap.c:609 Activated device: [vlan201] [NOTICE] Using filter: (portrange 5060-5091) WARNING: run_actions: null action list (rec_level=3) |
You have to compile the last version of captagent and use the same libuv library. Looks like you have compiled the captagent with libuv 1.x but try use libuv0.10 |
Hi Team,
Captagent has stopped sending data to homer for some reason and I can not work out why. It was working fine, not aware of any changes which was done on server.
Below is logs and file output
++++++++
cat /usr/local/captagent/etc/captagent/captagent.xml
++++++++
/usr/src/captagent/src/captagent -f /usr/local/captagent/etc/captagent/captagent.xml
[NOTICE] Loaded core config
[DEBUG] modules.c:50 Loading module: [transport_hep]
[ERR] modules.c:75 dlopen error [/usr/local/captagent/lib/captagent/modules/transport_hep.so: undefined symbol: uv_key_set]
[DEBUG] modules.c:50 Loading module: [database_hash]
[NOTICE] Loaded database_hash
[DEBUG] modules.c:50 Loading module: [protocol_sip]
[NOTICE] Loaded protocol_sip
[DEBUG] modules.c:50 Loading module: [protocol_rtcp]
[NOTICE] Loaded protocol_rtcp
[DEBUG] modules.c:50 Loading module: [socket_pcap]
[NOTICE] Loaded socket_pcap
[DEBUG] socket_pcap.c:573 Activating device: vlan201
[DEBUG] socket_pcap.c:609 Activated device: [vlan201]
[NOTICE] Using filter: (portrange 5060-5091)
[DEBUG] conf_function.c:453 find_export_record: found <msg_check> in module protocol_sip [/usr/local/captagent/lib/captagent/modules]
[DEBUG] conf_function.c:453 find_export_record: found <parse_sip> in module protocol_sip [/usr/local/captagent/lib/captagent/modules]
[ERR] conf_function.c:458 find_export_record: <send_hep> not found
parse error (9,27-28): unknown command, missing loadmodule?
[DEBUG] conf_function.c:453 find_export_record: found in module protocol_sip [/usr/local/captagent/lib/captagent/modules]
[DEBUG] conf_function.c:453 find_export_record: found <sip_has_sdp> in module protocol_sip [/usr/local/captagent/lib/captagent/modules]
[DEBUG] conf_function.c:453 find_export_record: found <check_rtcp_ipport> in module database_hash [/usr/local/captagent/lib/captagent/modules]
[DEBUG] conf_function.c:453 find_export_record: found in module protocol_sip [/usr/local/captagent/lib/captagent/modules]
ERROR: bad config file (1 errors)
[DEBUG] socket_pcap.c:573 Activating device: vlan201
[DEBUG] socket_pcap.c:764 Link offset interface type [1] [1] [14]
[DEBUG] protocol_sip.c:370 SIP: [OPTIONS sip:61283790369@192.168.1.104:5063;transport=tcp SIP/2.0
Via: SIP/2.0/UDP 103.55.116.65:5060;branch=z9hG4bK0ab875bd;rport
Max-Forwards: 70
From: "2talkpbx" sip:2talkpbx@103.55.116.65;tag=as378b9006
To: sip:61283790369@192.168.1.104:5063;transport=tcp
Contact: sip:2talkpbx@103.55.116.65:5060
Call-ID: 1d741c9478fe2f8e2186ab457b98ea6a@103.55.116.65
CSeq: 102 OPTIONS
User-Agent: YCT PBX
Date: Mon, 24 Apr 2017 01:14:29 GMT
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INF
The text was updated successfully, but these errors were encountered: