[sr-dev] git: new commits in branch master

GitHub noreply at github.com
Fri Jul 29 16:37:31 CEST 2016


- URL:  https://github.com/kamailio/kamailio/commit/fe16198f0d2698cc2bf2f719e0185371484b392c
Author: Alex Hermann <alex at speakup.nl>
Date:   2016-07-28T13:01:11+02:00

uac: uac_reg: fix uac_reg_get_byuser()

The calculated hash was compared with uuid hash instead of user hash

- URL:  https://github.com/kamailio/kamailio/commit/3f6b6325e99f08f25a64e712c453035321d7f1ae
Author: Alex Hermann <alex at speakup.nl>
Date:   2016-07-28T13:01:11+02:00

uac: uac_reg: add uac_reg_status() function

New function to obtain registration status from within configuration script

- URL:  https://github.com/kamailio/kamailio/commit/7416351dd6bca81f85691fec4d9c0cdf0e9c0260
Author: Alex Hermann <alex at speakup.nl>
Date:   2016-07-28T13:01:11+02:00

uac: uac_reg: protect the registration lists with locks

Every list iteration must be protected

- URL:  https://github.com/kamailio/kamailio/commit/82679ac3047935684994bc46960ec1edc8552ac7
Author: Alex Hermann <alex at speakup.nl>
Date:   2016-07-28T13:02:09+02:00

uac: uac_reg: Add function to remove registration

- URL:  https://github.com/kamailio/kamailio/commit/6850466e5322edd3bfcd6666e6657d3380da7c54
Author: Alex Hermann <alex at speakup.nl>
Date:   2016-07-28T13:02:23+02:00

uac: uac_reg: Use locking to prevent deletion of a registration entry when it is still being referenced

Abuse the hash lock. All operations on a reg_uact_t entry are short duration,
so just keep the lock on the hashlist entry during this time.

- URL:  https://github.com/kamailio/kamailio/commit/03f4ab5e3860d20d2e7788cbf914d1976fddf170
Author: Alex Hermann <alex at speakup.nl>
Date:   2016-07-28T13:02:31+02:00

uac: uac_reg: Add RPC function to remove a registration

- URL:  https://github.com/kamailio/kamailio/commit/a5c52fa30ec384ad4845cdbb3df21a1d430b0989
Author: Alex Hermann <alex at speakup.nl>
Date:   2016-07-28T13:02:38+02:00

uac: uac_reg: Add RPC function to add a new registration

- URL:  https://github.com/kamailio/kamailio/commit/9013adcb7d201c7f1a86a97d5f9f709b089cb2b2
Author: Alex Hermann <alex at speakup.nl>
Date:   2016-07-28T13:02:44+02:00

uac: uac_reg: Consolidate and sync (almost) duplicate code in adding an RPC node

- URL:  https://github.com/kamailio/kamailio/commit/b85c849393931aca1d04dfcff0de58a5eb0eb876
Author: Alex Hermann <alex at speakup.nl>
Date:   2016-07-28T13:02:53+02:00

uac: uac_reg: Return HTTP-like fault codes for RPC

- URL:  https://github.com/kamailio/kamailio/commit/e761c03a0a0a3f08e8c529a3af918ad5416a2795
Author: Alex Hermann <alex at speakup.nl>
Date:   2016-07-28T13:03:01+02:00

uac: uac_reg: Consolidate and optimize filtering records

Instead of blindly iterating all hash table buckets, try to use the hash
indices where possible.

- URL:  https://github.com/kamailio/kamailio/commit/72c77630070fe655a1f5c126d98d4a6815e888ca
Author: Alex Hermann <alex at speakup.nl>
Date:   2016-07-28T13:03:08+02:00

uac: uac_reg: Optimize updating a registration

No need to search _again_, the to be updated reg is already known.

- URL:  https://github.com/kamailio/kamailio/commit/5d83785e8c9ce939106aba579ec4773c50bed8c2
Author: Alex Hermann <alex at speakup.nl>
Date:   2016-07-28T14:02:25+02:00

uac: uac_reg: Update of all fields when record is refreshed from DB

More flexible and no more overallocating memory

- URL:  https://github.com/kamailio/kamailio/commit/bf3109234e62dd912751fa7dc79d60c2a2064338
Author: Alex Hermann <alex at speakup.nl>
Date:   2016-07-28T14:02:33+02:00

uac: uac_reg: Only set UAC_REG_INIT flag if it was not set yet

- URL:  https://github.com/kamailio/kamailio/commit/2cf3641354c45ff2d76064982037dc1b311b6e77
Author: Alex Hermann <alex at speakup.nl>
Date:   2016-07-28T14:02:33+02:00

parser: Add parser for Min-Expires

- URL:  https://github.com/kamailio/kamailio/commit/a3e85c02b367638e1a17b04355067463ac853774
Author: Alex Hermann <alex at speakup.nl>
Date:   2016-07-28T14:02:33+02:00

uac: uac_reg: Handle 423 response to outbound register

Set the expires value to the value in the Min-Expires header, or double the
current value if that header is absent in the response.

To keep the code easier, the request won't be retried immediately, but on the
next timer interval.

- URL:  https://github.com/kamailio/kamailio/commit/b1d03668d0794dfdbedd3df465698a95392ed285
Author: Alex Hermann <alex at speakup.nl>
Date:   2016-07-28T14:02:33+02:00

uac: uac_reg: Use core parser instead of hand-parsing the Expires header

- URL:  https://github.com/kamailio/kamailio/commit/190ece98e606018fe0eabe4eff97cde35caf3c79
Author: Alex Hermann <alex at speakup.nl>
Date:   2016-07-28T14:02:34+02:00

uac: uac_reg: Keep Call-ID in registration sequence

As recommended by rfc3261 §10.2.4, keep the same Call-Id during a
sequence of registrations. A new Call-ID will be generated after a
registration failure or near a cseq wrap-around.

The setting 'reg_keep_callid' controls this behaviour, defualt off.

- URL:  https://github.com/kamailio/kamailio/commit/e8f2c052d07ded94bc254d3f53ce55bc217f7bde
Author: Alex Hermann <alex at speakup.nl>
Date:   2016-07-28T14:02:34+02:00

uac: uac_reg: Add setting for using a random reg_delay

Will only take effect for registrations that have no reg_delay set in the
database.

- URL:  https://github.com/kamailio/kamailio/commit/546ad530cef46e07902d16c1a6af6e2556fa6aa7
Author: Alex Hermann <alex at speakup.nl>
Date:   2016-07-28T14:11:53+02:00

uac: uac_reg: Deduplicate code for copying a record from DB to mem

- URL:  https://github.com/kamailio/kamailio/commit/ec25359122d5821cfe5ca2ee9ca710b0c918998e
Author: Daniel-Constantin Mierla <miconda at gmail.com>
Date:   2016-07-29T16:37:26+02:00

Merge pull request #729 from gaaf/uac_reg_master

Various improvements to uac registrations





More information about the sr-dev mailing list