Skip to content

5.2.20

Compare
Choose a tag to compare
@lazedo lazedo released this 29 Jun 00:51
· 20 commits to 5.2 since this release

Generic badge

Changes for 5.2.20

Changes to branch 5.2 after version 5.2.19.

Commits
  • 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)