[OpenSIPS-Users] I need help to fix my AOR and little bit of understanding .

Sasmita Panda spanda at 3clogic.com
Wed Apr 22 07:24:15 UTC 2026


Hi ,

I am using opensips 3.4 .

While saving the contact I have called the save unction as below .

        if(!save("location","max-contacts=1,force-registration,path-lazy"))
                          sl_reply_error();

My requirement was to save a single contact for a username. If there will
be multiple registration then over ride the older one with the latest one .

After this, I can see my calls getting forked between 2 contacts . I can
see that the IP addresses of both contacts are different, but the username
part is the same.
     user at 10.0.0.1:45670
     user at 10.0.0.2:58095

This means the system saves both contacts for the user. Consequently,
during lookup, it finds 2 contacts and simultaneously forks the call to
both destinations.

In my case, the request comes from the ALB, which has a dynamic IP. Also
the call id can be different. If I open multiple browser tabs and register
the same user from both tabs, the registration will originate with
different IPs and call IDs.

How I will save single contact in this case ?


*Thanks & Regards*
*Sasmita Panda*
*Senior Network Testing and Software Engineer*
*3CLogic , ph:07827611765*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20260422/c9e5284d/attachment.html>


More information about the Users mailing list