cookbooks:5.0.x:pseudovariables
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
cookbooks:5.0.x:pseudovariables [2017/03/16 21:14] – [$Au - Acc username] typo, clarification mslehto | cookbooks:5.0.x:pseudovariables [2019/09/05 19:43] (current) – [$Au - Accounting username and realm/domain] henningw | ||
---|---|---|---|
Line 77: | Line 77: | ||
**$aU** - whole username from Authorization or Proxy-Authorization header | **$aU** - whole username from Authorization or Proxy-Authorization header | ||
- | ==== $Au - Acc username ==== | + | ==== $Au - Acc username |
- | **$Au** - username for accounting purposes. It's a selective pseudo variable (inherited from acc module). It returns auth username ($au) if exists or From username | + | **$Au** - username for accounting purposes. It's a selective pseudo variable (inherited from acc module). It returns |
Line 503: | Line 503: | ||
==== $sut - Source address as full URI ==== | ==== $sut - Source address as full URI ==== | ||
- | **$su** - returns the representation of source address (ip, port, proto) as full SIP URI. The proto UDP is added also as transport parameter. | + | **$sut** - returns the representation of source address (ip, port, proto) as full SIP URI. The proto UDP is added also as transport parameter. |
Its value looks like: | Its value looks like: | ||
Line 1797: | Line 1797: | ||
The key can be: | The key can be: | ||
- | * line - return current line in config | + | |
- | * name - return the name of current config file | + | * name - return the name of current config file |
Example: | Example: |
cookbooks/5.0.x/pseudovariables.1489698897.txt.gz · Last modified: 2017/03/16 21:14 by mslehto