Re: [SR-Users] Kamailio KeepAlived HA acc_cdrs table record

2021-07-19 Thread Social Boh
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

Re: [SR-Users] Kamailio python_exec getting randomly TypeError

2021-07-19 Thread M S
The dlg_var is string, make sure you cast them to int for duration calculations. Also manually cast var(v_duration) to int as well, because python_exec method treats them as string (this shouldn't be a problem since python vars are typeless but just to be sure).Now about the Null values in v_durati

[SR-Users] Kamailio python_exec getting randomly TypeError

2021-07-19 Thread Voip support
Dear Kamailio users, I am trying to use a python script using the module app_python3 to do some billing calculations. The only argument i want to pass to the python script is duration which i calculate in event_route[dialog:start] { $dlg_var('call_start') = $TS; event_route[dialog:end] {

Re: [SR-Users] serial forking kamailio - twilio

2021-07-19 Thread Alex Balashov
I think what you’re asking is: if a call is answered and hung up, can Kamailio make another call to somewhere else? If so, the answer is no; proxies just can’t do that. Forking deals with the management early-stage requests during their pendency. Once a final dispositive reply for a request is

[SR-Users] serial forking kamailio - twilio

2021-07-19 Thread Filippo Graziola
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 modul

Re: [SR-Users] Kamailio KeepAlived HA acc_cdrs table record

2021-07-19 Thread Social Boh
Hi, I think could be very useful replicate acc and acc_cdrs data via DMQ. 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 loo

Re: [SR-Users] please help to configure tls in kamailio for webrtc client like simpl5

2021-07-19 Thread Henning Westerholt
Hello, your problems are probably not related to the certificate authority. Many people use letsencrypt with Kamailio without problems. But other vendors of course works as well. Cheers, Henning -- Henning Westerholt - https://skalatan.de/blog/ Kamailio services - https://gilawa.com

Re: [SR-Users] Kamailio KeepAlived HA acc_cdrs table record

2021-07-19 Thread Henning Westerholt
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

Re: [SR-Users] Kamailio KeepAlived HA acc_cdrs table record

2021-07-19 Thread Social Boh
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 ca