Sorry to bother on this, but is it possible to access Kamailio transformations in KEMI, and if so, how?
In Kamailio's native scripting language I could do:
$var(pai_user) = $(hdr(P-Asserted-Identity){tobody.user});
In KEMI, I can easily get the full header like this:
KSR.hdr.get("P-Asserted-Identity")
But I don't see how to access the transformations. Am I missing it?
Ben Kaufman
Hello everyone,
In the xhttp_pi file of pi_framework.xml,is there a way I can pass the
password to the xhttp_pi module as a pre-processing define?
<db_url id="postgres">postgres://kamailiorw:kamailiorw@localhost
/kamailiorw</db_url>
Thank you!
Abdirahman
Hello,
given the current situation across the world, no physical Kamailio World
Conference is planned in 2021. However, this year the project celebrates
20 years of development -- according to commit history, the first one
was done on the 3rd of September, 2021:
> ❯ git log --reverse
> commit 512dcd9838f5aeb0bfccd02cfc156067b7f02b71
> Author: Andrei Pelinescu-Onciul <andrei(a)iptel.org>
> Date: Mon Sep 3 21:27:11 2001 +0000
> Initial revision
To mark this notable milestone, we are going to organize an online event
during Sep 1-2, 2021, similar to the one from 2020 -- the website for
the event is available at:
* https://www.kamailioworld.com/k09-online/
Mark the date in your calendar, more details about the content of the
event will be published in the near future!
Cheers,
Daniel
--
Daniel-Constantin Mierla -- www.asipto.comwww.twitter.com/miconda -- www.linkedin.com/in/miconda
Hello all,
My name is Nick Hurlburt, and work with a nonprofit tech organization that provides a software platform for child helplines around the world. I am a new user to Kamailio, and I'm interested in figuring out if my use case is appropriate, getting some tips on how to go about it, and possibly enlisting some expert help.
Our service is built on top of Twilio, but we are working in some countries where Twilio doesn't have phone numbers. So in those areas, we are working with local telecoms on ways to integrate using a SIP connection. In one particular example, the telecom company can send SIP INVITEs but can only address them to a static IP. However, Twilio needs to receive the invite addressed to a fully-qualified domain name (eg, example-setup.sip.twilio.com). The idea arose to use Kamailio as a proxy to accept the static IP-addressed request and then rewrite the request to pass it along to a domain name. Then once the connection is established between the two endpoints, the media can flow directly between them.
I have a software engineering background but still coming up to speed when it comes to VoIP technology. I'd be interested in:
- does this sound like a good use case for Kamailio?
- is there any specific documentation you could point me to for this use case? (I have been looking at the Kamailio documentation, but a quick pointer could save a lot of time in digging through it)
- if anyone from the community would be open to helping us develop a prototype/proof-of-concept instance of this, especially if you're open to contributing to a nonprofit on a volunteer or discounted rate, I'd love to talk more
Thank you,
Nick
I'm using Kamailio compiled from the current 5.5 tip (1f9f6fff6e), and
rtpengine compiled from the current master (6e160da4).
While rtpengine is working quite well, within the past month or so, I've
noticed that Kamailio isn't populating the mos* related AVPs. I see continued
upstream rtpengine work stream handling, etc. -- should I wait or try to
debug?
Thanks -A
--
Anthony - https://messinet.com
CCED 8BFB 88D9 18F6 9F68 93DC 45C4 A8CE A64E 88E3
Greetings.
Does someone know where one can get stir/shaken certificates?
Are they same as letsencrypt or do I need to obtain them from some other
authority.
If someone could provide me with a link to that authority it will be very
helpful.
Thanks again for your help and time.
Ryan
Hello all!
Sorry, this is not a direct Kamailio question. I would like to ask for
some help from those who already did this.
I'm trying to integrate my testKamailio installation with MS Teams. I added
the "mydomain.com" to the Domains section (I kept the "
mydomain.onmicrosoft.com"). When I tried to create SBC with a "
kamailio-dev2.mydomain.com" FQDN I got this error message: We* can't use
the "kamailio-dev2.mydomain.com <http://kamailio-dev2.mydomain.com>" domain
as it hasn't be set up in the organization. Try again. If you continue to
have problems, contact Microsoft customer support.*
There were no issues creating a dummy SBC with a "
kamailio-dev2.mydomain.onmicrosoft.com" FQDN.
Does anyone know how to set up a domain in the organization from MS
perspective?
Thank you very much!
Regards, Volodymyr Ivanets.
Hi all,
I have a question for my kamailio configuration which works like this:
- INVITE arrives to kamailio
- HTTP async request to API endpoint
- Resume, use of rtjson module for parallel forking and loop to kamailio
itself
- One of the invite is "transformed" in serial forking with rtjson module
and it is sent with a delay to TWILIO SIP Domain (landline/mobile phone
numbers)
Twilio is giving me some troubles because it answers with a 200 OK but the
call it is still in establishing/ringing on the "landline" side and as
expected when reaching the timeout (no answer from phone number on TWILIO
side) kamailio is receiving a BYE.
Now the question, how to handle next number to call through Twilio?
I was thinking of using rtjson_next_route() when handling the in-dialog BYE
but as it is not a failure route so it does not work, or I'm doing it wrong.
Thanks in advance for any help/hint.
Filippo
Hello,
I have not tested it, but the dialog database will probably only help in a restart scenario with regarding to dialogs, at least with a standard cfg.
Regarding the example below, this would mean starting the primary Kamailio again, then the cdrs should be generated during the hangup from the primary. You can test also to restart the secondary Kamailio, it should then also read the dialogs from the replicated table and generate cdrs at hangup.
Cheers,
Henning
--
Henning Westerholt – https://skalatan.de/blog/
Kamailio services – https://gilawa.com<https://gilawa.com/>
From: Social Boh <social(a)bohboh.info>
Sent: Tuesday, July 20, 2021 2:02 PM
To: Henning Westerholt <hw(a)skalatan.de>
Subject: Re: [SR-Users] Kamailio KeepAlived HA acc_cdrs table record
Hello,
with dialog db_mode 1 and Primary/Primary MariaDB Replication If I switch Off primary Kamailio during a call and move the call to Replica and then hangup, no entry on acc_cdrs table. acc table is ok.
Regards
---
I'm SoCIaL, MayBe
El 20/07/2021 a las 4:09 a. m., Henning Westerholt escribió:
Hello,
Usage of DB to store dialogs. See https://kamailio.org/docs/modules/devel/modules/dialog.html#dialog.p.db_mode – in particular mode 1 and 3.
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 Social Boh
Sent: Tuesday, July 20, 2021 12:55 AM
To: Kamailio (SER) - Users Mailing List <sr-users(a)lists.kamailio.org><mailto:sr-users@lists.kamailio.org>
Subject: Re: [SR-Users] Kamailio KeepAlived HA acc_cdrs table record
Hello
what means "DB loading" ?
Regards
---
I'm SoCIaL, MayBe
El 19/07/2021 a las 9:25 a. m., Henning Westerholt escribió:
Hello,
so, you are saying that in a DMQ replicated case the acc CDR generation is not working in failover cases.
I just looked briefly to the code; others might have more details.
But I think this is because the acc module do not register to a callback function for dialog loading on startup for the DMQ replication. This is done for DB loading, but seems to be not implemented yet for DMQ synchronisation.
You could open a feature request on our github tracker for this.
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 Social Boh
Sent: Monday, July 19, 2021 1:58 PM
To: Kamailio (SER) - Users Mailing List <sr-users(a)lists.kamailio.org><mailto:sr-users@lists.kamailio.org>
Subject: Re: [SR-Users] Kamailio KeepAlived HA acc_cdrs table record
Hi,
I'm using 5.4.6
I switch off Kamailio on the first server and keepalived move the virtual IP on the second server so First Kamailio is off. This during the call.
Before switch off Kamailio and during the call I can see data dialog on both server but in the LOG /var/log/messages in my case:
server 1 INVITE
server 2 BYE
acc_cdrs table empty on both servers.
acc table first server INVITE; acc table second server BYE
Regards
---
I'm SoCIaL, MayBe
El 18/07/2021 a las 2:33 p. m., M Arqum CH escribió:
Hi SoCIal,
which Kamailio version you are using.
did you able to get the dialog information using the dialog command. https://www.kamailio.org/docs/modules/devel/modules/dialog.html#dlg.r.dlg_l…
when you received bye on secondary server, is that server recognized the bye.
On Sun, Jul 18, 2021 at 3:38 AM Social Boh <social(a)bohboh.info<mailto:social@bohboh.info>> wrote:
Hello,
if during a call I stop Primary Kamailio the Secondary Kamailio take de Virtual IP but don't save call data:
In the Primary database, acc table, I have INVITE data but not BYE data; no data in acc_cdrs for the call. In the Secondary Kamailio, acc table, I have BYE data but not INVITE data.
in the file LOG no data about call cdr.
Maybe a solution is write call data whene the call end?
Regards
---
I'm SoCIaL, MayBe
El 17/07/2021 a las 11:34 a. m., M Arqum CH escribió:
Make sure that your table columns matched the field's you are trying to insert, please check the syslog for acc module log, acc module print the cdr in log facility too, if acc module facing any issue while writing cdr in db, it will throw error in logs.
Hope this will help you.
On Sat, Jul 17, 2021, 7:33 PM Social Boh <social(a)bohboh.info<mailto:social@bohboh.info>> wrote:
Hello,
i tested with DMQ module and happens the same.
DMQ module loaded before dialog module and on dialog module parameters:
modparam("dialog", "enable_dmq", 1)
During a call I can see on both Kamailio servers the dialog data but when switch off the active kamailio server and the second kamailio server take the control and hangup the call, no data acc_cdrs table.
Regards
---
I'm SoCIaL, MayBe
El 17/07/2021 a las 1:24 a. m., M Arqum CH escribió:
Hi Social,
Replication of dialog using dmq will solve your problem, you need to load dmq module before loading dialog module and enable replication of dialogs in dialog module, please check dialog module conf option for more details.
Cheers
On Fri, Jul 16, 2021, 7:32 PM Social Boh <social(a)bohboh.info<mailto:social@bohboh.info>> wrote:
Im' testinf Kamailio HA with Keepalived.
I have a problem with acc_cdrs table in this situation:
A call B and when the two users are in the call I switch off the active
Kamailio. Keepalived pass the Virtual IP to the secondary Kamailio and
audio still work because I'm using a remote RTPENGINE server for both
Kamailio.
The problem is when the call end. On the acc table i can see INVITE and
BYE entries but on the acc_cdrs table nothing. Second problem the dialog
still present on the table dialog in a Primary/Primary replication.
Is there a way to solve it?
Thank you
Regards
--
---
I'm SoCIaL, MayBe
__________________________________________________________
Kamailio - Users Mailing List - Non Commercial Discussions
* sr-users(a)lists.kamailio.org<mailto:sr-users@lists.kamailio.org>
Important: keep the mailing list in the recipients, do not reply only to the sender!
Edit mailing list options or unsubscribe:
* https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
__________________________________________________________
Kamailio - Users Mailing List - Non Commercial Discussions
* sr-users(a)lists.kamailio.org<mailto:sr-users@lists.kamailio.org>
Important: keep the mailing list in the recipients, do not reply only to the sender!
Edit mailing list options or unsubscribe:
* https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
__________________________________________________________
Kamailio - Users Mailing List - Non Commercial Discussions
* sr-users(a)lists.kamailio.org<mailto:sr-users@lists.kamailio.org>
Important: keep the mailing list in the recipients, do not reply only to the sender!
Edit mailing list options or unsubscribe:
* https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
__________________________________________________________
Kamailio - Users Mailing List - Non Commercial Discussions
* sr-users(a)lists.kamailio.org<mailto:sr-users@lists.kamailio.org>
Important: keep the mailing list in the recipients, do not reply only to the sender!
Edit mailing list options or unsubscribe:
* https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
__________________________________________________________
Kamailio - Users Mailing List - Non Commercial Discussions
* sr-users(a)lists.kamailio.org<mailto:sr-users@lists.kamailio.org>
Important: keep the mailing list in the recipients, do not reply only to the sender!
Edit mailing list options or unsubscribe:
* https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
__________________________________________________________
Kamailio - Users Mailing List - Non Commercial Discussions
* sr-users(a)lists.kamailio.org<mailto:sr-users@lists.kamailio.org>
Important: keep the mailing list in the recipients, do not reply only to the sender!
Edit mailing list options or unsubscribe:
* https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users