[OpenSIPS-Users] mid_registrar errors

Bogdan-Andrei Iancu bogdan at opensips.org
Tue Jan 4 07:21:45 UTC 2022


Hi Pavel,

OK, I will ask Liviu to take a deeper look into this, thanks for the report.

Best regards,

Bogdan-Andrei Iancu

OpenSIPS Founder and Developer
   https://www.opensips-solutions.com
OpenSIPS eBootcamp 2021
   https://opensips.org/training/OpenSIPS_eBootcamp_2021/

On 1/3/22 7:47 PM, Pavel Eremin wrote:
> Thanks for your answer I suppose there is some little mistake in the 
> code of mid_registrar due to this error easylly reproducing on the new 
> opensips installation.
> Conditions are simple: centos 7 or debian 10, opensips 3.2 ver, use 
> mid_registrar (mode=2 or 1) and registrar in the same script.
> For example for REGISTER with tU like 1000 we will make 
> mid_registrar_save and for 20000 we will do save().
> In case of save() we will get those errors in logs.
>
> I have created an 
> issue(https://github.com/OpenSIPS/opensips/issues/2716 
> <https://github.com/OpenSIPS/opensips/issues/2716>) on github about that.
>
>
>
> пн, 3 янв. 2022 г. в 21:34, Bogdan-Andrei Iancu <bogdan at opensips.org 
> <mailto:bogdan at opensips.org>>:
>
>     Hi Alexey,
>
>     What the errors say is that mid-registrar, upon deleting/expiring
>     a registered AOR, it is not able to push forward the un-register
>     to the main registrar. This happens as some internal key (attached
>     to the AOR) is not found by the mid-registrar.
>
>     Not sure how this may be related to the changing of the IPs, but I
>     guess this issue went away after some time, right? if not, you may
>     stop opensips mid-registrar, purge the "location" table (or how
>     you named it) and start opensips back. This will flush all the
>     pending (potential bogus records) and give you a fresh start. Note
>     that your device will have to re-register in order to have the
>     calling working again.
>
>     Regards,
>
>     Bogdan-Andrei Iancu
>
>     OpenSIPS Founder and Developer
>        https://www.opensips-solutions.com  <https://www.opensips-solutions.com>
>     OpenSIPS eBootcamp 2021
>        https://opensips.org/training/OpenSIPS_eBootcamp_2021/  <https://opensips.org/training/OpenSIPS_eBootcamp_2021/>
>
>     On 12/27/21 10:15 AM, Alexey Kazantsev via Users wrote:
>>     Hi list.
>>     What do these errors mean?
>>     This started after migrating the virtual machine and changing IP
>>     addresses.
>>     Everything else remain unchanged.
>>     Version 3.2.2
>>     ERROR:mid_registrar:unregister_record: 'from' key not found,
>>     skipping De-REGISTER
>>     ERROR:mid_registrar:mid_reg_aor_event: failed to unregister contact
>>     -----------------------------------------------
>>     BR, Alexey
>>     https://alexeyka.zantsev.com/ <https://alexeyka.zantsev.com/>
>>
>>     _______________________________________________
>>     Users mailing list
>>     Users at lists.opensips.org  <mailto:Users at lists.opensips.org>
>>     http://lists.opensips.org/cgi-bin/mailman/listinfo/users  <http://lists.opensips.org/cgi-bin/mailman/listinfo/users>
>
>     _______________________________________________
>     Users mailing list
>     Users at lists.opensips.org <mailto:Users at lists.opensips.org>
>     http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>     <http://lists.opensips.org/cgi-bin/mailman/listinfo/users>
>
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20220104/eaefff85/attachment.html>


More information about the Users mailing list