[SR-Users] tpops module

volga629 at networklab.ca volga629 at networklab.ca
Sat Sep 8 17:28:33 CEST 2018


Hello Everyone,
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)");
        }
}

volga629




More information about the sr-users mailing list