Hello Igor,
yes - you can use a RPC command, I think its in corex module.
Cheers,
Henning
--
Henning Westerholt - https://skalatan.de/blog/
Kamailio services - https://gilawa.com<https://gilawa.com/>
From: Igor Potjevlesch <igor.potjevlesch(a)gmail.com>
Sent: Wednesday, November 30, 2022 5:14 PM
To: Henning Westerholt <hw(a)gilawa.com>
Subject: RE: [SR-Users] kamctl cr reload doesn't reload all routes
Hello Henning,
Not really. I just place a call to the prefix and I can see that the route is still the previous one, not the one updated in DB.
Can I set INFO loglevel without restarting?
Regards,
Igor.
De : Henning Westerholt <hw(a)gilawa.com<mailto:hw@gilawa.com>>
Envoyé : mercredi 30 novembre 2022 15:03
À : Igor Potjevlesch <igor.potjevlesch(a)gmail.com<mailto:igor.potjevlesch@gmail.com>>; 'Kamailio (SER) - Users Mailing List' <sr-users(a)lists.kamailio.org<mailto:sr-users@lists.kamailio.org>>
Objet : RE: [SR-Users] kamctl cr reload doesn't reload all routes
Hello Igor,
Strange. If not already done, you can try to set INFO loglevel to get maybe a bit more information.
How do you verify the routes, but looking to RPC output probably?
Cheers,
Henning
--
Henning Westerholt - https://skalatan.de/blog/
Kamailio services - https://gilawa.com<https://gilawa.com/>
From: Igor Potjevlesch <igor.potjevlesch(a)gmail.com<mailto:igor.potjevlesch@gmail.com>>
Sent: Wednesday, November 30, 2022 2:58 PM
To: Henning Westerholt <hw(a)gilawa.com<mailto:hw@gilawa.com>>; 'Kamailio (SER) - Users Mailing List' <sr-users(a)lists.kamailio.org<mailto:sr-users@lists.kamailio.org>>
Subject: RE: [SR-Users] kamctl cr reload doesn't reload all routes
Hi Henning,
The problem is still there on the concerned instance. I tried to reload again, and I didn't see the error but the routes are not updated.
Regards,
Igor.
De : Henning Westerholt <hw(a)gilawa.com<mailto:hw@gilawa.com>>
Envoyé : mercredi 30 novembre 2022 14:44
À : Igor Potjevlesch <igor.potjevlesch(a)gmail.com<mailto:igor.potjevlesch@gmail.com>>; 'Kamailio (SER) - Users Mailing List' <sr-users(a)lists.kamailio.org<mailto:sr-users@lists.kamailio.org>>
Objet : RE: [SR-Users] kamctl cr reload doesn't reload all routes
Hi Igor,
ok, might be some issue with the DB, if it does not happen anymore. You probably notice when it happens again and can investigate then.
Regarding the table, just note that there is also a fourth table involved, domain_name:
https://kamailio.org/docs/db-tables/kamailio-db-5.5.x.html#idm812
Cheers,
Henning
--
Henning Westerholt - https://skalatan.de/blog/
Kamailio services - https://gilawa.com<https://gilawa.com/>
From: Igor Potjevlesch <igor.potjevlesch(a)gmail.com<mailto:igor.potjevlesch@gmail.com>>
Sent: Wednesday, November 30, 2022 2:35 PM
To: Henning Westerholt <hw(a)gilawa.com<mailto:hw@gilawa.com>>; 'Kamailio (SER) - Users Mailing List' <sr-users(a)lists.kamailio.org<mailto:sr-users@lists.kamailio.org>>
Subject: RE: [SR-Users] kamctl cr reload doesn't reload all routes
Hello Henning,
I tried to review all the routes. Unfortunately, I didn't have access to the logs of the last reboot and its not easy to reboot the instance.
I tried to copy the same tables (carrierroute, carrierfailureroute and carrier_name) on another instance and cr reload has been executed without any issue.
Not easy to highlight where the problem comes from.
Regards,
Igor.
De : Henning Westerholt <hw(a)gilawa.com<mailto:hw@gilawa.com>>
Envoyé : mardi 29 novembre 2022 21:13
À : Igor Potjevlesch <igor.potjevlesch(a)gmail.com<mailto:igor.potjevlesch@gmail.com>>; 'Kamailio (SER) - Users Mailing List' <sr-users(a)lists.kamailio.org<mailto:sr-users@lists.kamailio.org>>
Objet : RE: [SR-Users] kamctl cr reload doesn't reload all routes
Hello Igor,
This is usually caused from wrong or incomplete routing data in the DB. Review if you e.g. have some missing domains or carrier entries in the respective tables.
Also look for some errors or warnings related to carrierroute at a restart.
Cheers,
Henning
--
Henning Westerholt - https://skalatan.de/blog/
Kamailio services - https://gilawa.com<https://gilawa.com/>
From: Igor Potjevlesch <igor.potjevlesch(a)gmail.com<mailto:igor.potjevlesch@gmail.com>>
Sent: Tuesday, November 29, 2022 6:08 PM
To: Henning Westerholt <hw(a)gilawa.com<mailto:hw@gilawa.com>>; 'Kamailio (SER) - Users Mailing List' <sr-users(a)lists.kamailio.org<mailto:sr-users@lists.kamailio.org>>
Subject: RE: [SR-Users] kamctl cr reload doesn't reload all routes
Hello Henning,
That's a good point. I tried again and I could see this:
ERROR: carrierroute [cr_rpc.c:60]: cr_rpc_reload_routes(): failed to load routing data
Nothing more precise.
Regards,
Igor.
De : Henning Westerholt <hw(a)gilawa.com<mailto:hw@gilawa.com>>
Envoyé : mardi 29 novembre 2022 16:12
À : Kamailio (SER) - Users Mailing List <sr-users(a)lists.kamailio.org<mailto:sr-users@lists.kamailio.org>>
Cc : Igor Potjevlesch <igor.potjevlesch(a)gmail.com<mailto:igor.potjevlesch@gmail.com>>
Objet : RE: [SR-Users] kamctl cr reload doesn't reload all routes
Hello,
any error message in the logs from carrierroute reload?
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 Igor Potjevlesch
Sent: Tuesday, November 29, 2022 4:04 PM
To: sr-users(a)lists.kamailio.org<mailto:sr-users@lists.kamailio.org>
Subject: [SR-Users] kamctl cr reload doesn't reload all routes
Hello!
I'm facing a problem with one of my Kamailio instance: "kamctl cr reload" returns OK, but, finally, the route I modified, or I added are not takes.
I'm still on a previous route.
If I completely reboot Kamailio it's okay. So, the last time, I rebooted with more memory, and I was thinking that it could fix the problem, but not.
Do you have any idea?
Regards,
Igor.
[Das Bild wurde vom Absender entfernt.]<https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campai…>
Sans virus.www.avast.com<https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campai…>
Hello!
I'm facing a problem with one of my Kamailio instance: "kamctl cr reload"
returns OK, but, finally, the route I modified, or I added are not takes.
I'm still on a previous route.
If I completely reboot Kamailio it's okay. So, the last time, I rebooted
with more memory, and I was thinking that it could fix the problem, but not.
Do you have any idea?
Regards,
Igor.
--
Cet e-mail a été vérifié par le logiciel antivirus d'Avast.
www.avast.com
Hi Team,
I need a help to remove the dmq list entry from the kamailio,
I have executed the command
*kamcmd dmq.list_nodes, below is the output*{
host: xx.xx.xx.xx
port: 5080
resolved_ip: xx.xx.xx.xx
status: active
last_notification: 0
local: 0
}
{
host: yy.yy.yy.yy
port: 5060
resolved_ip: yy.yy.yy.yy
status: active
last_notification: 0
local: 0
}
I need to remove the
*yy.yy.yy.yy.Note: I have used to remove the node with below command but it
is not able to delete the entry.*
kamctl rpc dmq.remove sip:yy.yy.yy.yy:5060
Hello not a usual question but i would like to know if somebody using topos module with redis backend can provide me an optimized redis conf for redis for using it topos module. and possibly also when using it with dialog module.
Thanks.
Hello,
not sure if I fully understand the problem. But regarding another user is registered with the same IP address as a previous user, there are several mitigations.
To give two options: you could choose a really short re-registration time, you could use TCP and when you lose the connection you delete the contact.
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> On Behalf Of ???
Sent: Wednesday, November 30, 2022 2:57 AM
To: sr-users(a)lists.kamailio.org
Subject: [SR-Users] uac_req_send() multi-process synchronization problem
When I use uac_req_send() to send a MESSAGE to the client. Will the following occur? The result of the message sent to user A is that B has received it. From the logs, the address of user A in the location table is the same as the IP address and port of user B, and the information of user A in the location table is not deleted in time. I took the address of user A directly from the location table without using KSR.registrar.reg_fetch_contacts(). If I use KSR.registrar.reg_fetch_contacts() can this be avoided. This is a multi-process synchronization problem, after user A registers, the IP port information in the address is 172.16.22.222:12345, and then user A disconnects the link because of some abnormal conditions, but it is not normal to cancel the registration, the socket link has failed, but it has not had time to delete the location, at this time user B registers, whether will it get the same IP port information as user A 172.16.22.222 : 12345, if possible? User A's location still exists, Using KSR.registrar.reg_fetch_contacts() TO query user A's location, and then using uac_req_send() to send a message to user A, User B will receive the MESSAGE. Whether this problem occurs?
从 Windows 版邮件<https://go.microsoft.com/fwlink/?LinkId=550986>发送
When I use uac_req_send() to send a MESSAGE to the client. Will the following occur? The result of the message sent to user A is that B has received it. From the logs, the address of user A in the location table is the same as the IP address and port of user B, and the information of user A in the location table is not deleted in time. I took the address of user A directly from the location table without using KSR.registrar.reg_fetch_contacts(). If I use KSR.registrar.reg_fetch_contacts() can this be avoided. This is a multi-process synchronization problem, after user A registers, the IP port information in the address is 172.16.22.222:12345, and then user A disconnects the link because of some abnormal conditions, but it is not normal to cancel the registration, the socket link has failed, but it has not had time to delete the location, at this time user B registers, whether will it get the same IP port information as user A 172.16.22.222 : 12345, if possible? User A's location still exists, Using KSR.registrar.reg_fetch_contacts() TO query user A's location, and then using uac_req_send() to send a message to user A, User B will receive the MESSAGE. Whether this problem occurs?
从 Windows 版邮件发送
Hello,
I’m a DIY entrepreneurial developer beginning to build a system and I stumbled upon Kamailio. I’ve installed asterisk and kamailio in hopes of setting up an IVR to collect voice to speech information from incoming calls. I’m skilled with PHP to Javascript application development. In my research of PBX and discovery of Asterisk I have found enough information online to begin developing with Asterisk ARI; however, somewhere in my discovery process was the suggestion that Kamailio can offer close to real time voice recognition streaming whereas Asterisk is more of a record, pause, translate, respond process.
In an AstriCon presentation by Fred Posner I saw recommendations for new applications the suggestion to develop with Kamailio: https://www.youtube.com/watch?v=IaYOboZQEw0?t=23m10s
I’m a newbie to SIP, but it seems really promising, can you help point me in the right direction for aforementioned use-case for Kamailio? or am I misunderstanding some if its capability?
Regards,
Clint Crabtree