[sr-dev] [kamailio/kamailio] Various improvements to uac registrations (#729)

Alex notifications at github.com
Thu Jul 28 14:41:25 CEST 2016


This PR contains my backlog of changes for uac registrations.

Most patches are for making the registrations list fully dynamic (add/remove via RPC)

Some fixes, some cleanups, some features...
You can view, comment on, or merge this pull request online at:

  https://github.com/kamailio/kamailio/pull/729

-- Commit Summary --

  * uac: uac_reg: fix uac_reg_get_byuser()
  * uac: uac_reg: protect the registration lists with locks
  * uac: uac_reg: add uac_reg_status() function
  * uac: uac_reg: Add function to remove registration
  * uac: uac_reg: Use locking to prevent deletion of a registration entry when it is still being referenced
  * uac: uac_reg: Add RPC function to remove a registration
  * uac: uac_reg: Add RPC function to add a new registration
  * uac: uac_reg: Consolidate and sync (almost) duplicate code in adding an RPC node
  * uac: uac_reg: Return HTTP-like fault codes for RPC
  * uac: uac_reg: Consolidate and optimize filtering records
  * uac: uac_reg: Optimize updating a registration
  * uac: uac_reg: Update of all fields when record is refreshed from DB
  * uac: uac_reg: Only set UAC_REG_INIT flag if it was not set yet
  * parser: Add parser for Min-Expires
  * uac: uac_reg: Handle 423 response to outbound register
  * uac: uac_reg: Use core parser instead of hand-parsing the Expires header
  * uac: uac_reg: Keep Call-ID in registration sequence
  * uac: uac_reg: Add setting for using a random reg_delay
  * uac: uac_reg: Deduplicate code for copying a record from DB to mem

-- File Changes --

    M modules/uac/doc/uac_admin.xml (89)
    M modules/uac/uac.c (26)
    M modules/uac/uac_reg.c (722)
    M modules/uac/uac_reg.h (3)
    M parser/case_min.h (47)
    M parser/hf.c (4)
    M parser/hf.h (3)
    M parser/msg_parser.c (5)
    M parser/msg_parser.h (1)
    M sip_msg_clone.c (6)

-- Patch Links --

https://github.com/kamailio/kamailio/pull/729.patch
https://github.com/kamailio/kamailio/pull/729.diff

---
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/pull/729
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-dev/attachments/20160728/6636e6b8/attachment.html>


More information about the sr-dev mailing list