Copyright © 2003 FhG FOKUS
is_user(username)
has_totag()
Various checks related to SIP URI.
Check if the username in credentials matches the given username.
Meaning of the parameters is as follows:
username - Username string or AVP.
Example 1. is_user usage
is_user
... if (is_user("jan")) { ... }; ...
Check if To header field uri contains tag parameter.
Example 2. has_totag usage
has_totag
... if (has_totag()) { ... }; ...