4.3.40: HELP-44667: don't send authz resp on quick hangup (#5919)
kazoo Changes
Changes to 4.3 after version 4.3.39
Unticketed Commits
- HELP-44667: don't send authz resp on quick hangup (#5919) Processing the authz request can take longer than processing the subsequent CHANNEL_DESTROY. This causes the flushing in j5_channels to occur before the storing of the authorization payload. Since the channel is gone, the authorization payload isn't flushed and counts against the account/reseller limits. Instead, check the j5_channels ETS table for the authorization payload on CHANNEL_DESTROY; if none, store an entry with a destroyed:true flag. If a subsequent authz response is attempted to be stored, this check will keep it from happening. Introduce a test for sending CHANNEL_DESTROY followed by authz_req and ensuring totals remain 0 and no authz_resp is generated. by James Aimonetti
- help-44967: should use the faxDB not generate a new modb when saving new doc (#5913) by Sean Wysor
- KAZOO-6115: remove override defaults from assign and keep current when undefined (#5909) by bitbashing