Hi All,
I have a setup with two kamailio v5.0 and a load balancer(keepalived)
It seems to check the heath of kamailio server load balancer establishing the tcp conneciton and resetting the connection once its got established.
and due to resetting the connection I keep on getting following log message.
Jul 31 18:14:18 localhost /usr/local/kamailio/sbin/kamailio[9388]: ERROR: <core> [core/tcp_read.c:291]: tcp_read_data(): error reading: Connection reset by peer (104) ([192.168.xxx.xxx]:46574 ->
Jul 31 18:14:18 localhost /usr/local/kamailio/sbin/kamailio[9388]: ERROR: <core> [core/tcp_read.c:292]: tcp_read_data(): -> [192.168.yyy.yyy]:443)
Jul 31 18:14:18 localhost /usr/local/kamailio/sbin/kamailio[9388]: ERROR: <core> [core/tcp_read.c:1319]: tcp_read_req(): ERROR: tcp_read_req: error reading - c: 0x7f6547989e78 r: 0x7f6547989ef8
Jul 31 18:14:18 localhost /usr/local/kamailio/sbin/kamailio[9389]: ERROR: <core> [core/tcp_read.c:291]: tcp_read_data(): error reading: Connection reset by peer (104) ([192.168.xxx.xxx]:44279 ->
Jul 31 18:14:18 localhost /usr/local/kamailio/sbin/kamailio[9389]: ERROR: <core> [core/tcp_read.c:292]: tcp_read_data(): -> [192.168.yyy.yyy]:5060)
Jul 31 18:14:18 localhost /usr/local/kamailio/sbin/kamailio[9389]: ERROR: <core> [core/tcp_read.c:1319]: tcp_read_req(): ERROR: tcp_read_req: error reading - c: 0x7f6547989e78 r: 0x7f6547989ef
If any one can suggest, how can i get rid of these logs.
Thanks
Prem
Hi all,
I use UAC module for remote registrations on my proxy box. There is no problem with incoming calls and I successfully register and receive calls.
I have a Freeswitch box behind this proxy box and I want my proxy to add authorisation headers for outgoing calls transparently. I already have credentials at uacreg table for remote registrations. Is it possible use same credentials at uac_auth() function? Or should I run SQL to retrieve necessary fields to feed uac_auth?
Thanks!
/Volkan
Hai,
I am using the below script for call placements(Local as well as LCR), LCR
is working fine, Local call placement is not working, Is there I am missing
something??
Please guid me.
route[CHECK]
{
if (!is_subscriber("$ru", "subscriber", "3")) {
# callee is not a local subscriber
route(LCR);
exit();
}
else
{
route(LOCATION);
}
}
Thanks
Hi Developers,
I need help to log the call flow in a file. Our purpose to have only one
entry per call in a file based system at the end of the call.
For example:
CALL-ID TO FROM START
TIME END TIME .... MISSED COMPLETED
1 sip:1@abc.com sip:100@abc.com 2017-07-28
18:29:14 2017-07-28 18:29:14 yes no
2 sip:2@abc.com sip:100@abc.com 2017-07-28
18:29:14 2017-07-28 18:29:14 no yes
3 sip:3@abc.com sip:100@abc.com 2017-07-28
18:29:14 2017-07-28 18:29:14 no yes
I have gone through various trace module, but its appear that all module
record the call flow/logs in database. ie siptrace,acc,dialoge module.
Could you please help me to log the information. one of the approach I have
thought to store all the variable in AVP variables in
request_route,failure_route,on_reply route..etc
For ex.
$avp(from)=$fu;
$avp(to)=$tu;
$avp(starttime)=startime
$avp(endtime)=endtime
etc...
//log at call end in a seperate logs file
and xlog("LOG_INFO",$avp(from),,$avp(to),$avp(starttime),$avp(endtime))
Please let know if this approach is correct or any other way to achieve
this,
Thanks,
Amit