Hello,

Do you want to store them in terms of "active registration"? or simply a
list of registers, as in adding to a table?

Adding to a table is simple enough, use
https://kamailio.org/docs/modules/4.0.x/modules/sqlops.html

Regards,

David Villasmil
email: [email protected]
phone: +34669448337


On Thu, Nov 14, 2019 at 8:40 PM Voip support <[email protected]> wrote:

> I setup kamailio to forward REGISTER packets using dispatcher to two
> servers main and backup.
>
> The routing logic is quite simple i use the dispatcher probing mechanism
> to detect if my main dispatcher set id (one server) is active or inactive
> once it detect a failure all packets are sent to secondary SIP server to
> achieve High Availability.
>
> I am looking for module or a way to save into kamailio database client
> information such as IP address, register username (from FROM header),
> digest username (authorization username), call-id for
> successful registration.
>
> I tried to use registrar module but once i used function save("location")
> the client was registered on kamailio and packets was not forwarded to
> main/secondary SIP server (like dispatcher stopped working, the destination
> did not override).
>
> REGISTER is sent to SIP URI of kamailio.
>
> Please let me know if you have any idea how to make this data update in
> database (insert an entry on fresh successfull REGISTER, delete on expired
> or removed binding).
>
> Best regards,
> Tomasz
>
> _______________________________________________
> Kamailio (SER) - Users Mailing List
> [email protected]
> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>
_______________________________________________
Kamailio (SER) - Users Mailing List
[email protected]
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users

Reply via email to