mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-13 02:56:24 +05:00
add *3gpp_uli user location converter
Parses the 3GPP-User-Location-Info AVP into structured location data allowing field access via an optional path (e.g. *3gpp_uli:TAI.MCC).
This commit is contained in:
committed by
Dan Christian Bogos
parent
be08b1d07b
commit
4c64f4f876
10
docs/rsr.rst
10
docs/rsr.rst
@@ -128,6 +128,16 @@ Converters transform the extracted value. Chain them with ``&``::
|
||||
* ``*e164Domain`` - extract domain from NAPTR record
|
||||
* ``*ip2hex`` - IP to hex
|
||||
* ``*sipuri_host``, ``*sipuri_user``, ``*sipuri_method`` - parse SIP URIs
|
||||
* ``*3gpp_uli`` - decode 3GPP-User-Location-Info hex to ULI object
|
||||
* ``*3gpp_uli:path`` - extract specific field from ULI
|
||||
|
||||
ULI component paths: ``CGI``, ``SAI``, ``RAI``, ``TAI``, ``ECGI``, ``TAI5GS``, ``NCGI``
|
||||
|
||||
Field paths: ``TAI.MCC``, ``TAI.MNC``, ``TAI.TAC``, ``ECGI.MCC``, ``ECGI.MNC``, ``ECGI.ECI``, ``NCGI.NCI``, etc.
|
||||
|
||||
Example::
|
||||
|
||||
~*req.3GPP-User-Location-Info{*3gpp_uli:TAI.MCC}
|
||||
|
||||
**Time**
|
||||
|
||||
|
||||
Reference in New Issue
Block a user