@@ -44,11 +44,13 @@ Predefined pseudo-variables are listed in alphabetical order.
4444** $\_ s(format)** - returns the string after evaluating all
4545pseudo-variables in format
4646
47+ ``` shell
4748 $var (x) = " sip:" + $rU + " @" + $fd ;
4849
4950 # is equivalent of:
5051
5152 $var (x) = $_s (sip:$rU @$fd );
53+ ```
5254
5355### $ai - URI in P-Asserted-Identity header
5456
@@ -108,23 +110,23 @@ additional branches, the main branch can be accessed using $ru and $du.
108110additional branches - the branch_route will be called once for each one
109111of them.)
110112
111- The ' name' can be:
113+ The ` name ` can be:
112114
113- - uri - return uri of the branch
114- - dst_uri - return destination uri (next hop address)
115- - path - return the path vector for the branch
116- - q - return the q value of the branch as integer ` 0..100 ` (representing ` q * 100 ` )
117- - send_socket - return the socket to be used to send the branch
118- - count - return the number of the branches
119- - flags - return the branch flags value
120- - ruid - (readonly) - return the ruid of the branch (Record internal
115+ - ` uri ` - return uri of the branch
116+ - ` dst_uri ` - return destination uri (next hop address)
117+ - ` path ` - return the path vector for the branch
118+ - ` q ` - return the q value of the branch as integer ` 0..100 ` (representing ` q * 100 ` )
119+ - ` send_socket ` - return the socket to be used to send the branch
120+ - ` count ` - return the number of the branches
121+ - ` flags ` - return the branch flags value
122+ - ` ruid ` - (readonly) - return the ruid of the branch (Record internal
121123 Unique ID from usrloc
122- - location_ua - (readonly) - user agent from the location record
123- - instance - (readonly) - the value of instance field
124- - otcpid - outbound tcp connection id
124+ - ` location_ua ` - (readonly) - user agent from the location record
125+ - ` instance ` - (readonly) - the value of instance field
126+ - ` otcpid ` - outbound tcp connection id
125127
126128The PV can take an index to access a specific branch:
127- $(branch(name)\ [ index\] )
129+ ` $(branch(name)[index]) `
128130
129131Example:
130132
0 commit comments