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 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
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 there any
signaling only test harnesses ?
cheers,
Jay
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 [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
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't start.
Is this doable or do I need to use if..else if..else if..else for this?
Thanks,
Joel.
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.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
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
My Google searches aren't turning up any results, probably because this standard isn't finalized yet, but is anyone aware of a module which implements DIV PASSporTs for diverted calls?
More details on the standard here: https://transnexus.com/blog/2020/shaken-div-std-letter-ballot/
Steven Wheeler
Hello,
If I remember correctly then in Debian Buster, the necessary library is not included and therefore the package cannot be build.
You could use bullseye, the upcoming version, of compile by yourself.
Cheers,
Henning
--
Henning Westerholt – https://skalatan.de/blog/
Kamailio services – https://gilawa.com<https://gilawa.com/>
From: David Villasmil <david.villasmil.work(a)gmail.com>
Sent: Wednesday, June 16, 2021 8:54 PM
To: Henning Westerholt <hw(a)skalatan.de>
Subject: Re: [SR-Users] Roadmap to the next major release - v5.5.0
I don't see the module in deb http://deb.kamailio.org/kamailio55 buster main
Regards,
David Villasmil
email: david.villasmil.work(a)gmail.com<mailto:david.villasmil.work@gmail.com>
phone: +34669448337
On Wed, Jun 16, 2021 at 9:12 AM Henning Westerholt <hw(a)skalatan.de<mailto:hw@skalatan.de>> wrote:
Hello,
if you are referring to the module, its available in this release:
https://kamailio.org/docs/modules/5.5.x/modules/secsipid.html
Cheers,
Henning
--
Henning Westerholt – https://skalatan.de/blog/
Kamailio services – https://gilawa.com<https://gilawa.com/>
From: sr-users <sr-users-bounces(a)lists.kamailio.org<mailto:sr-users-bounces@lists.kamailio.org>> On Behalf Of David Villasmil
Sent: Wednesday, June 16, 2021 10:03 AM
To: Kamailio (SER) - Users Mailing List <sr-users(a)lists.kamailio.org<mailto:sr-users@lists.kamailio.org>>; miconda(a)gmail.com<mailto:miconda@gmail.com>
Subject: Re: [SR-Users] Roadmap to the next major release - v5.5.0
Hello Daniel,
Is it possible at all to get secsipid in?
Thanks
David
On Thu, 25 Feb 2021 at 15:21, Daniel-Constantin Mierla <miconda(a)gmail.com<mailto:miconda@gmail.com>> wrote:
Hello,
it is the time to plan a bit the road to the next major release, to be
versioned 5.5.0.
The 5.4.0 was release by end of July 2020, therefore we are approaching
the end of our usual development cycle, also during the last online
devel meeting we considered the 2nd part of spring 2021 as a target time
frame for 5.5.
To narrow it down, I would propose to freeze the development at the end
of March 2021, test during April and maybe beginning of May, then
release v5.5.0.
So far we have a lot of development to existing components, by the
freeze date I expect 3-5 new modules to be in the repo as well.
If anyone wants a different time line towards 5.5.0, let's discuss and
choose the one that suits most of the developers.
Cheers,
Daniel
--
Daniel-Constantin Mierla -- www.asipto.com<http://www.asipto.com>
www.twitter.com/miconda<http://www.twitter.com/miconda> -- www.linkedin.com/in/miconda<http://www.linkedin.com/in/miconda>
Funding: https://www.paypal.me/dcmierla
_______________________________________________
Kamailio (SER) - Users Mailing List
sr-users(a)lists.kamailio.org<mailto:sr-users@lists.kamailio.org>
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
--
Regards,
David Villasmil
email: david.villasmil.work(a)gmail.com<mailto:david.villasmil.work@gmail.com>
phone: +34669448337