[SR-Users] Kamailio KeepAlived HA acc_cdrs table record

M Arqum CH marqumch at gmail.com
Sun Jul 18 21:33:02 CEST 2021


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_list

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 at 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 at 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 at 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 at 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 at 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 at 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 at 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 at 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20210719/7ce46030/attachment.htm>


More information about the sr-users mailing list