This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
cookbooks:4.3.x:pseudovariables [2015/06/23 12:33] miconda [$avp(id) - AVPs] |
cookbooks:4.3.x:pseudovariables [2015/12/15 11:40] miconda [$cfg(key) - Config File Attributes] |
||
---|---|---|---|
Line 1: | Line 1: | ||
+ | {{ : | ||
====== Kamailio SIP Server v4.3.x (stable): Pseudo-Variables ====== | ====== Kamailio SIP Server v4.3.x (stable): Pseudo-Variables ====== | ||
Line 1406: | Line 1407: | ||
</ | </ | ||
+ | |||
===== TLS module Pseudo-Variables ===== | ===== TLS module Pseudo-Variables ===== | ||
==== $tls_version ==== | ==== $tls_version ==== | ||
+ | The TLS/SSL version which is used on the TLS connection from which the message was received. String type. | ||
==== $tls_description ==== | ==== $tls_description ==== | ||
+ | The TLS/SSL description of the TLS connection from which the message was received. String type. | ||
==== $tls_cipher_info ==== | ==== $tls_cipher_info ==== | ||
+ | The TLS/SSL cipher which is used on the TLS connection from which the message was received. String type. | ||
==== $tls_cipher_bits ==== | ==== $tls_cipher_bits ==== | ||
+ | The number of cipher bits which are used on the TLS connection from which the message was received. String and Integer type. | ||
==== $tls_peer_version ==== | ==== $tls_peer_version ==== | ||
+ | The version of the certificate. String type. | ||
==== $tls_my_version ==== | ==== $tls_my_version ==== | ||
+ | The version of the certificate. String type. | ||
==== $tls_peer_serial ==== | ==== $tls_peer_serial ==== | ||
+ | The serial number of the certificate. String and Integer type. | ||
==== $tls_my_serial ==== | ==== $tls_my_serial ==== | ||
+ | The serial number of the certificate. String and Integer type. | ||
==== $tls_peer_subject ==== | ==== $tls_peer_subject ==== | ||
+ | ASCII dump of the fields in the subject section of the certificate. String type. Example: | ||
+ | / | ||
==== $tls_peer_issuer ==== | ==== $tls_peer_issuer ==== | ||
+ | ASCII dump of the fields in the issuer section of the certificate. String type. | ||
==== $tls_my_subject ==== | ==== $tls_my_subject ==== | ||
+ | ASCII dump of the fields in the subject section of the certificate. String type. | ||
==== $tls_my_issuer ==== | ==== $tls_my_issuer ==== | ||
+ | ASCII dump of the fields in the issuer section of the certificate. String type. | ||
==== $tls_peer_subject_cn ==== | ==== $tls_peer_subject_cn ==== | ||
+ | commonName in the subject section of the certificate. String type. | ||
==== $tls_peer_issuer_cn ==== | ==== $tls_peer_issuer_cn ==== | ||
+ | commonName in the issuer section of the certificate. String type. | ||
==== $tls_my_subject_cn ==== | ==== $tls_my_subject_cn ==== | ||
+ | commonName in the subject section of the certificate. String type. | ||
==== $tls_my_issuer_cn ==== | ==== $tls_my_issuer_cn ==== | ||
+ | commonName in the issuer section of the certificate. String type. | ||
==== $tls_peer_subject_locality ==== | ==== $tls_peer_subject_locality ==== | ||
+ | localityName in the subject section of the certificate. String type. | ||
==== $tls_peer_issuer_locality ==== | ==== $tls_peer_issuer_locality ==== | ||
+ | localityName in the issuer section of the certificate. String type. | ||
==== $tls_my_subject_locality ==== | ==== $tls_my_subject_locality ==== | ||
+ | localityName in the subject section of the certificate. String type. | ||
==== $tls_my_issuer_locality ==== | ==== $tls_my_issuer_locality ==== | ||
+ | localityName in the issuer section of the certificate. String type. | ||
==== $tls_peer_subject_country ==== | ==== $tls_peer_subject_country ==== | ||
+ | countryName in the subject section of the certificate. String type. | ||
==== $tls_peer_issuer_country ==== | ==== $tls_peer_issuer_country ==== | ||
+ | countryName in the issuer section of the certificate. String type. | ||
==== $tls_my_subject_country ==== | ==== $tls_my_subject_country ==== | ||
+ | countryName in the subject section of the certificate. String type. | ||
==== $tls_my_issuer_country ==== | ==== $tls_my_issuer_country ==== | ||
+ | countryName in the issuer section of the certificate. String type. | ||
==== $tls_peer_subject_state ==== | ==== $tls_peer_subject_state ==== | ||
+ | stateOrProvinceName in the subject section of the certificate. String type. | ||
==== $tls_peer_issuer_state ==== | ==== $tls_peer_issuer_state ==== | ||
+ | stateOrProvinceName in the issuer section of the certificate. String type. | ||
==== $tls_my_subject_state ==== | ==== $tls_my_subject_state ==== | ||
+ | stateOrProvinceName in the subject section of the certificate. String type. | ||
==== $tls_my_issuer_state ==== | ==== $tls_my_issuer_state ==== | ||
+ | stateOrProvinceName in the issuer section of the certificate. String type. | ||
==== $tls_peer_subject_organization ==== | ==== $tls_peer_subject_organization ==== | ||
+ | organizationName in the subject section of the certificate. String type. | ||
==== $tls_peer_issuer_organization ==== | ==== $tls_peer_issuer_organization ==== | ||
+ | organizationName in the issuer section of the certificate. String type. | ||
==== $tls_my_subject_organization ==== | ==== $tls_my_subject_organization ==== | ||
+ | organizationName in the subject section of the certificate. String type. | ||
==== $tls_my_issuer_organization ==== | ==== $tls_my_issuer_organization ==== | ||
+ | organizationName in the issuer section of the certificate. String type. | ||
==== $tls_peer_subject_unit ==== | ==== $tls_peer_subject_unit ==== | ||
+ | organizationalUnitName in the subject section of the certificate. String type. | ||
==== $tls_peer_issuer_unit ==== | ==== $tls_peer_issuer_unit ==== | ||
+ | organizationalUnitName in the issuer section of the certificate. String type. | ||
==== $tls_my_subject_unit ==== | ==== $tls_my_subject_unit ==== | ||
+ | organizationalUnitName in the subject section of the certificate. String type. | ||
==== $tls_my_issuer_unit ==== | ==== $tls_my_issuer_unit ==== | ||
+ | organizationalUnitName in the issuer section of the certificate. String type. | ||
==== $tls_peer_san_email ==== | ==== $tls_peer_san_email ==== | ||
+ | email address in the " | ||
==== $tls_my_san_email ==== | ==== $tls_my_san_email ==== | ||
+ | email address in the " | ||
==== $tls_peer_san_hostname ==== | ==== $tls_peer_san_hostname ==== | ||
+ | hostname (DNS) in the " | ||
==== $tls_my_san_hostname ==== | ==== $tls_my_san_hostname ==== | ||
+ | hostname (DNS) in the " | ||
==== $tls_peer_san_uri ==== | ==== $tls_peer_san_uri ==== | ||
+ | URI in the " | ||
==== $tls_my_san_uri ==== | ==== $tls_my_san_uri ==== | ||
+ | URI in the " | ||
==== $tls_peer_san_ip ==== | ==== $tls_peer_san_ip ==== | ||
+ | ip address in the " | ||
==== $tls_my_san_ip ==== | ==== $tls_my_san_ip ==== | ||
+ | ip address in the " | ||
===== XHTTP module Pseudo-Variables ===== | ===== XHTTP module Pseudo-Variables ===== | ||
Line 1558: | Line 1605: | ||
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: |