uri

Keywords: 2.0.x | Module | uri

Standard-dep

Various checks related to SIP URIi.


Jan Janak


1. Uri Module

Jan Janak

FhG FOKUS
Revision History
Revision $Revision: 1.3 $ $Date: 2005/08/24 22:26:20 $

1.1. Overview

Various checks related to SIP URIi.

1.2. Functions

Revision History
Revision $Revision: 1.3 $ $Date: 2006/12/11 13:11:02 $

1.2.1. is_user(username)

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

...
if (is_user("jan")) {
    ...
};
...

1.2.2. has_totag()

Check if To header field uri contains tagi parameter.

Example 2. has_totag usage

...
if (has_totag()) {
    ...
};
...
Home |  Recent changes |  Search |  Glossary |  Sitemap |  Login