Hello all,
I'm still investigating the (most likely non-kamailio-related) memory leak
of my previous message to the list, there have been no developments so far.
I'll update if anything changes.
This concerns a new finding which seems to affect kamailio 5.5.x. I have
two kamailio instances receiving the same traffic via round-robin. I
upgraded only one of them to 5.5.1 and left the other to 5.4.6 as I feared
of any issues arising. I was lucky to do so, because with identical
configuration, 5.…
[View More]5.x seems to run out of SHM very quickly. Here are links
to graphs produced by our monitoring system:
Old kamailio (no memory leak): https://pasteboard.co/K8fVBiD.png
New kamailio (possible leak): https://pasteboard.co/K8fVS9N.png
The configuration uses mtree, htable, vars and vns extensively. Has anyone
come across anything similar? Let me know if I can provide any further
information to help disect this. Thanks!
BR,
George
[View Less]
Hi,
Maybe a discussion for the DEV mailing list????
Want to overwrite the FQDN by a NATed IP address in the topmost Record-Route of an outgoing INVITE request.
Cannot set the advertise parameter (this must tell the FQDN for all other situations), only in some special situations I want to overwrite the FQDN in Record-Route.
My solution would be to implement in the Kamailio source code (rr module) that not only record_route() uses the get_custom_user() function, but the other both functions …
[View More]uses it, too.
Any better proposals?
All the best
Christoph
[View Less]
Hi,
I have configured the dispatcher default socket as below IP , the
expectation here is that kamailio should send all traffic from this IP
(port will be ephemeral) over TCP.
modparam("dispatcher", "ds_default_socket", "tcp:172.27.45.219:5060")
This system also listens on port 8080 which is meant for websocket
communication (dispatcher communication is over non websocket).
Kamailio is sending an OPTION message to dispatcher IP over TCP on 5060 and
getting 200 OK response but Kamailio …
[View More]considering the response is on
websocket port 8080 ,$Rp value is 8080.
onreply_route {
if (($Rp == 8080 ) && !(proto == WS))
{
xlog("L_WARN", "SIP response received on $Rp protocol:proto
RIP:$Ri SIP:$si method:$rm cid:$ci replystatus:$rs len:$ml\n");
xlog("L_WARN", "SIP message received: $mb\n");
drop;
}
.....
....
}
Following is the output of above logs:
Jun 24 15:10:08 localhost /usr/sbin/kamailio[6223]: WARNING: {2 10 OPTIONS
1ab6573a4640823b-6209(a)172.27.45.198} <script>: SIP response received on 8080
protocol:tcp RIP:172.27.45.219 SIP:172.27.44.125 method:OPTIONS
cid:1ab6573a4640823b-6209@172.27.45.198 replystatus:200 len:416
Jun 24 15:10:08 localhost /usr/sbin/kamailio[6223]: WARNING: {2 10 OPTIONS
1ab6573a4640823b-6209(a)172.27.45.198} <script>: SIP message received:
SIP/2.0 200 OK#015#012Via: SIP/2.0/TCP
172.27.45.198:5060;branch=z9hG4bK4526.92b79f34000000000000000000000000.0;received=172.27.45.219#015#012From:
<sip:dispatcher@localhost>;tag=1ae6c95d92f9ea9ce927f715de5c48c8-eb141029#015#012To:
<sip:172.27.44.125:5060;transport=tcp>;tag=a9d542e0#015#012Call-ID:
1ab6573a4640823b-6209(a)172.27.45.198#015#012CSeq: 10 OPTIONS#015#012Allow:
INVITE, ACK, BYE, OPTIONS, CANCEL, INFO, UPDATE,
NOTIFY#015#012Content-Length: 0
Also I have attached a pcap.
Dispatcher.list configuration:
1 sip:172.27.44.125:5060;transport=tcp 0 0 duid=sample-cas;maxload=1000
Thanks,
Shahid
[View Less]
Hi,
Have found example configuration for S-CSCF, I-CSCF and P-CSCF in Kamailio
repository, and a S-CSCF module for the registered user data, but no recent
updates. Wondering if anyone can share insights into how widely it has been
used, or interops done in say telco networks with it ?
Does it handle third-party registrations, is it actually able to do a Cx
interaction with HSS ? Finally, how have these components that make up the
IMS-core from SIP signaling standpoint, been tested ? Are …
[View More]there any
signaling only test harnesses ?
cheers,
Jay
[View Less]
Receiving constant errors for all functions after upgrade to 5.5, any change that could have caused this?
ERROR: <core> [core/action.c:1598]: run_actions(): alert - action [corefunc (16)] cfg [/usr/local/etc/kamailio/kamailio.cfg:968] took too long [1251 us]
ERROR: <core> [core/action.c:1598]: run_actions(): alert - action [corefunc (16)] cfg [/usr/local/etc/kamailio/kamailio.cfg:988] took too long [1309 us]
ERROR: <core> [core/action.c:1598]: run_actions(): alert - action […
[View More]corefunc (16)] cfg [/usr/local/etc/kamailio/kamailio.cfg:1038] took too long [1321 us]
ERROR: <core> [core/action.c:1598]: run_actions(): alert - action [corefunc (5)] cfg [/usr/local/etc/kamailio/kamailio.cfg:452] took too long [1342 us]
ERROR: <core> [db_query.c:68]: db_do_submit_query(): alert - query execution too long [1493 us] for [select `password`,`id` from `subscriber` where `username`='x']
ERROR: <core> [core/action.c:1598]: run_actions(): alert - action [www_authenticate (26)] cfg [/usr/local/etc/kamailio/kamailio.cfg:951] took too long [1667 us]
ERROR: <core> [core/action.c:1598]: run_actions(): alert - action [corefunc (16)] cfg [/usr/local/etc/kamailio/kamailio.cfg:968] took too long [1694 us]
ERROR: <core> [core/action.c:1598]: run_actions(): alert - action [corefunc (16)] cfg [/usr/local/etc/kamailio/kamailio.cfg:988] took too long [1817 us]
ERROR: <core> [core/action.c:1598]: run_actions(): alert - action [corefunc (16)] cfg [/usr/local/etc/kamailio/kamailio.cfg:1038] took too long [1835 us]
ERROR: <core> [core/action.c:1598]: run_actions(): alert - action [corefunc (5)] cfg [/usr/local/etc/kamailio/kamailio.cfg:452] took too long [1869 us]
ERROR: <core> [core/action.c:1598]: run_actions(): alert - action [www_authenticate (26)] cfg [/usr/local/etc/kamailio/kamailio.cfg:951] took too long [1405 us]
…….
-dan
[View Less]
Hi guys,
Quick question, are AVPs valid in "switch" as "case"'s?
Example:
$avp(var1) = "101";
$avp(var2) = "201";
switch($rU) {
case "$avp(var1)":
...
break;
case "$avp(var2)":
...
break;
default:
send_reply("403", "Forbidden");
exit;
}
For some reason I can't get the case to match, and I'm thinking it's not
using the actual value of $avp(var1) and instead it's using literally
"$avp(var1)" as a string.
NOTE: I also tried without putting the AVPs in quotes, but Kamailio
complains and doesn'…
[View More]t start.
Is this doable or do I need to use if..else if..else if..else for this?
Thanks,
Joel.
[View Less]
Hello,
I'm using Kamailio 5.3.2 and am trying to establish a WebRTC connection for using SIP through Kamailio on port 8089. I am getting the following error in the Syslog:
Jun 22 09:20:38 VRTPENGINE kamailio[43050]: ERROR: <core> [core/tcp_read.c:1535]: tcp_read_req(): bad request, state=7, error=4 buf:#012GET /ws HTTP/1.1#015#012Host: rtpengine.kombea.io:8089#015#012Connection: Upgrade#015#012Pragma: no-cache#015#012Cache-Control: no-cache#015#012User-Agent: Mozilla/5.0 (Windows NT 10.…
[View More]0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.106 Safari/537.36#015#012Upgrade: websocket#015#012Origin: https://vicidev.kombea.io#015#012Sec-WebSocket-Version: 13#015#012Accept-Encoding: gzip, deflate, br#015#012Accept-Language: en-US,en;q=0.9#015#012Sec-WebSocket-Key: 1Pda50NxHxMenZaMW7cUkA==#015#012Sec-WebSocket-Extensions: permessage-deflate; client_max_window_bits#015#012Sec-WebSocket-Protocol: sip#015#012#015#012#012parsed:#012GET /ws HTTP/1.1#015#012Host: rtpengine.kombea.io:8089#015#012Connection: Upgrade#015#012Pragma: no-cache#015#012Cache-Control: no-cache#015#012User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.106 Safari/537.36#015#012Upgrade: websocket#015#012Origin: https://vicidev.kombea.io#015#012Sec-WebSocket-Version: 13#015#012Accept-Encoding: gzip, deflate, br#015#012Accept-Language: en-US,en;q=0.9#015#012Sec-WebSocket-Key: 1Pda50NxHxMenZaMW7cUkA==#015#012Sec-WebSocket-Extensions: permessage-deflate; client_max_window_bits#015#012Sec-WebSocket-Protocol: sip#015#012#015#012
Any idea on what would cause this?
Thanks
Peter H. Manley, Ph.D.
Chief Software Architect
KomBea Corporation
3400 North Ashton Blvd, Suite 470<https://urldefense.proofpoint.com/v2/url?u=https-3A__maps.google.com_-3Fq-3…>
Lehi, Utah 84043<https://urldefense.proofpoint.com/v2/url?u=https-3A__maps.google.com_-3Fq-3…>
www.kombea.com<https://urldefense.proofpoint.com/v2/url?u=http-3A__www.kombea.com_&d=DwMF-…>
Office:+1.801.610.5808
Mobile +1.801.243.7773
[View Less]
Hi
I am trying to execute code every X min in active calls and I cant seem to
find any way to do this. I basically have a function that checks if the
user has balance and permission to carry on the call and the callback
should trigger it every X mins.
The call_control module doesnt work for me since
A. It doesn't trigger a function it just ends the callback
B. it uses an external application to calculate it
any advice is appreciated
Avi