[OpenSIPS-Devel] [OpenSIPS/opensips] 76e42a: dprint.h: Add LM_GEN() macro (generic logging with...
Liviu Chircu
noreply at github.com
Mon Apr 12 13:18:16 EST 2021
Branch: refs/heads/3.1
Home: https://github.com/OpenSIPS/opensips
Commit: 76e42a25ceeec7eb4f12771ebbeb7d870be72422
https://github.com/OpenSIPS/opensips/commit/76e42a25ceeec7eb4f12771ebbeb7d870be72422
Author: Liviu Chircu <liviu at opensips.org>
Date: 2021-04-12 (Mon, 12 Apr 2021)
Changed paths:
M dprint.h
Log Message:
-----------
dprint.h: Add LM_GEN() macro (generic logging with prefix)
(cherry picked from commit ab447c15a477d6b9abddf3904a2ea1d6cd5dbdf9)
Commit: 140e4c0ef810bd75fbbc4cbbfb1a80c72da67271
https://github.com/OpenSIPS/opensips/commit/140e4c0ef810bd75fbbc4cbbfb1a80c72da67271
Author: Liviu Chircu <liviu at opensips.org>
Date: 2021-04-12 (Mon, 12 Apr 2021)
Changed paths:
M modules/stir_shaken/stir_shaken.c
Log Message:
-----------
stir_shaken(): Fix too relaxed E.164 conditions; Add number checks
Commit 8c842cc33d made it such that any string is accepted as valid
STIR/SHAKEN identity, in "loose mode". For example,
"From: sip:foobar at test.com" would pass as valid CLI and "foobar" would
get written in the PASSporT, which cannot be OK.
This commit also makes it so the new "e164_strict_mode" modparam makes
the leading "+" mandatory in the From/To URIs. Otherwise, the "+" is
optional and will get discarded if necessary.
Moreover, by moving the number checks around a bit, this commit also
fixes a bug where the opensips.cfg inputted orig/dest numbers are never
checked. For example, if the developer were to have a bug where some
$var(cli) contains a SIP URI and gets passed to stir_shaken as
originator, the module would happily write the URI into the PASSporT as
"orig" and return success.
Commit: b3f511f7bc2fa2fdb78f0c005abcd295af2e4176
https://github.com/OpenSIPS/opensips/commit/b3f511f7bc2fa2fdb78f0c005abcd295af2e4176
Author: Liviu Chircu <liviu at opensips.org>
Date: 2021-04-12 (Mon, 12 Apr 2021)
Changed paths:
M modules/stir_shaken/stir_shaken.c
Log Message:
-----------
stir_shaken: Several logging improvements
* add better separation between server-side / client-side errors,
throughout both of the orig / dest telephony number extraction and
validation phases.
* bump client-side errors from INFO to NOTICE, for better visibility.
* add extra logging details (phone numbers, timeouts, etc.)
Commit: 7cff7b60ce74e2a652d984b87a3ea5ec3847a3eb
https://github.com/OpenSIPS/opensips/commit/7cff7b60ce74e2a652d984b87a3ea5ec3847a3eb
Author: Liviu Chircu <liviu at opensips.org>
Date: 2021-04-12 (Mon, 12 Apr 2021)
Changed paths:
M modules/stir_shaken/stir_shaken.c
M modules/stir_shaken/stir_shaken.h
Log Message:
-----------
stir_shaken: Fix several unset code/reason output vars on error cases
Also add new 400 and 500 SIP retcodes to signify client / server errors.
Compare: https://github.com/OpenSIPS/opensips/compare/35009a868cd8...7cff7b60ce74
More information about the Devel
mailing list