[SR-Users] Crashed kamailio drouting

2018-09-08 Thread Евгений Голей
Good evening.

I have errors on the server (kamailio v 5.1.0) "kamailio [30529]: segfault at 0 
ip 7f9c00c29cfb sp 7fffa9808310 error 4 in drouting.so [7f9c00c26000 + 
39000]" which cause the service to stop.  Although the drouting module has been 
used for a long time, this has never happened.  This was done after adding the 
functions of the dispatcher module.  What could be the reason ?

Example error
in system
kamailio [20728]: segfault at 0 ip 7f32c1c8fcfb sp 7fff78430d00 error 4 
in drouting.so [7f32c1c8c000 + 39000]

in the logs of kamailio
018-09-08T22: 30: 29.0448 "ALERT:  [main.c: 746]: handle_sigs (): child 
process 10556 exited by a signal 11"
2018-09-08T22: 30: 29.0452 "ALERT:  [main.c: 749]: handle_sigs (): core 
was generated"
2018-09-08T22: 30: 29.0456 "INFO:  [main.c: 771]: handle_sigs (): 
terminating due to SIGCHLD"


-- 
BR Evgeniy
___
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users


[SR-Users] tpops module

2018-09-08 Thread volga629

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/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


___
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users