5.4.0
Changes for 5.4.0
Changes to branch 5.4
after version 5.4
.
Commits
-
KAM26-25: set
Referred-By
params from authz - by Daniel FinkeWhen
REFER
is challenged and authz'd by Kazoo via AMQP, treat the reqas if it were a registered endpoint.
Centralize setting of $xavp(authz) at end of
AUTHORIZATION_CHECK
.(cherry picked from commit 95ef250)
-
updated .shipyard.yml to branch 5.4 - by shipyard
-
Update config.yml to use offical2600hz/metapackager:1.0-centos-7 - by Vladimir Hidalgo
-
run core_init_route before classification - by Luis Azedo
-
a custom script was relying on classification not being executed yet
-
added core_progress_route for custom scripts that need to run earlier but after sanity check
(cherry picked from commit 6a7d244)
-
-
handle redirects & fast pickup priority - by Luis Azedo
- internal redirection when the call has been answered uses a refer sent to endpoint
the endpoint should do a new invite and kamailio needs to redirect to proper media server.
-
in the case of a *3xxx, kamailio queries/checks the the parking slot and redirects the call to the proper media server
-
if the call was was parked with *4 and someones tries to pickup the call with *3xxx
call would go next media server and if its not the media handling the parked call
we would get a redirect to *3xxx
perform an association
send refer to endpoint
the endpoint would send a new invite
the fast pickup routines take precendence over associations
and it happens that the channel *3xxx points at original media server initially used
- this commits sepasrates internal redirects from associations and handles it first on fastpick routines
(cherry picked from commit d832c6d)
-
use routes for websocket script event extensibility - by Luis Azedo
-
allow media/internal servers to set initial route - by Luis Azedo
(cherry picked from commit 5a683ea)
-
add default tls init mode - by Luis Azedo
-
use KZ_TLS_INIT_MODE macro for tls init_mode modparam
-
set KZ_TLS_INIT_MODE default value to 3. https://kamailio.org/docs/modules/devel/modules/tls.html#tls.p.init_mode
(cherry picked from commit cdbf6a2)
-
-
add support for kamailio 5.7 - by Luis Azedo
-
adds dispatcher for branch 5.7
-
use bflags registration
(cherry picked from commit 2bfeb07)
-
-
enable rockylinux support in circle-ci - by shipyard
-
update shipyard config to support rockylinux - by shipyard
-
ensure hf xavp is cleared on request - by Luis Azedo
- request flow could lead to xavp being used without being initialized
(cherry picked from commit 706d4e4)
-
classify request earlier - by Luis Azedo
- sanity, antiflood, core will have way to differentiate requests
(cherry picked from commit a020417)
-
add parameter separator on registrar query aor info - by Luis Azedo
- explicitly set the separator
(cherry picked from commit a794f6c)
-
fix the check on authz response - by Luis Azedo
checking for true/false on the return of functions is not the same
as assign the return value to a variable and do the same question.
kamailio uses handles the return of function values as follows
-
= 0 drop the message
-
< 0 false
-
> 0 true
'if (!somefuntion())' is equivalent to 'if(somefuntion() < 0)' and is not equivalent to 'if(somefuntion() == 0)'
'if (somefuntion())' is equivalent to 'if(somefuntion() > 0)' and is not equivalent to 'if(somefuntion() != 0)'
!$var(something) => is the variable != 0 which will never be true if the value was assigned from the return of a function
(cherry picked from commit b41dd06)
-
-
allow antiflood to be extended and provided by 3rd party script - by Luis Azedo
- use routes instead of ifdef
(cherry picked from commit 124aace)
-
updated .shipyard.yml to branch 5.3 - by shipyard