name mode size
..
doc 040000
Makefile 100644 250B
README 100644 710B
checks.c 100644 8.89kB
checks.h 100644 2.17kB
uri_mod.c 100644 2.69kB
uri_mod.h 100644 1.25kB
README
1. Uri Module Jan Janak FhG FOKUS Copyright © 2003 FhG FOKUS __________________________________________________________________ 1.1. Overview 1.2. Functions 1.2.1. is_user(username) 1.2.2. has_totag() 1.1. Overview Various checks related to SIP URI. 1.2. Functions 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 tag parameter. Example 2. has_totag usage ... if (has_totag()) { ... }; ...