Hi,
In regard of w_tcp_keepalive_disable1() function in tcpops module,
this function called a macro to convert string to integer.
Let show the value of $avp(bye_conid) after set. Be sure the it's
value is string id.
Thanks with regards.
Mojtaba
On Tue, Sep 11, 2018 at 3:21 AM <volga629(a)networklab.ca> wrote:
Hello Henning,
I can reproduce this issues on each BYE.
Not sure if this related.
Sep 10 17:51:40 canlvprx01 /usr/sbin/kamailio[20421]: CRITICAL: <core>
[core/route.c:1202]: comp_num(): Invalid right operand (1)
volga629
On Mon, Sep 10, 2018 at 3:56 AM, Henning Westerholt <hw(a)kamailio.org>
wrote:
Am Samstag, 8. September 2018, 17:28:33 CEST
schrieb
volga629(a)networklab.ca:
I am using tcpops module for keepalive and on
BYE when tcp
keeplaive
close is called produce this error in log.
Sep 8 11:21:26 canlvprx01 /usr/sbin/kamailio[18933]: ERROR: <core>
[core/sr_module.c:1781]: get_int_fparam(): Could not convert PV to
int
Sep 8 11:21:26 canlvprx01 /usr/sbin/kamailio[18933]: ERROR: tcpops
[tcpops_mod.c:293]: w_tcp_keepalive_disable1(): invalid parameter
'con'
(must be a number)
kamailio-5.1.3-1.gitf0dce0c99.fc27.x86_64
if (is_method("BYE|CANCEL")) {
$avp(bye_conid) = $conid;
rtpengine_delete();
t_on_reply("4");
}
onreply_route[4] {
if(is_method("BYE") && t_check_status("200")) {
tcp_keepalive_disable("$avp(bye_conid)");
}
}
Hello,
this error is produced because the $conid PV could not converted to an
integer. Do you see some other error before this one? Is this error
happens
all the time or just for rare or special cases?
Best regards,
Henning
--
Henning Westerholt
https://skalatan.de/blog/
_______________________________________________
Kamailio (SER) - Users Mailing List
sr-users(a)lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users