[SR-Users] tpops module

Henning Westerholt hw at kamailio.org
Mon Sep 10 08:56:03 CEST 2018


Am Samstag, 8. September 2018, 17:28:33 CEST schrieb volga629 at 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/



More information about the sr-users mailing list