Copyright © 2003 FhG FOKUS
Copyright © 2005 voice-system.ro
is_user(username)
has_totag()
uri_param(param)
uri_param(param,value)
add_uri_param(param)
tel2sip()
is_user
usagehas_totag
usageuri_param
usageuri_param
usageadd_uri_param
usagetel2sip
usageVarious checks related to SIP URI.
The following libraries or applications must be installed before running OpenSER with this module loaded:
None.
is_user(username)
Check if the username in credentials matches the given username.
Meaning of the parameters is as follows:
username - Username string.
This function can be used from REQUEST_ROUTE.
has_totag()
Check if To header field uri contains tag parameter.
This function can be used from REQUEST_ROUTE.
uri_param(param)
Find if Request URI has a given parameter with no value
Meaning of the parameters is as follows:
param - parameter name to look for.
This function can be used from REQUEST_ROUTE.
uri_param(param,value)
Find if Request URI has a given parameter with matching value
Meaning of the parameters is as follows:
param - parameter name to look for.
value - parameter value to match.
This function can be used from REQUEST_ROUTE.
add_uri_param(param)
Add to RURI a parameter (name=value);
Meaning of the parameters is as follows:
param - parameter to be appended in "name=value" format.
This function can be used from REQUEST_ROUTE.
tel2sip()
Converts RURI, if it is tel URI, to SIP URI. Returns true, only if conversion succeeded or if no conversion was needed (like RURI was not tel URI.
This function can be used from REQUEST_ROUTE.
Take a look at http://openser.org/.
First at all check if your question was already answered on one of our mailing lists:
User Mailing List - http://openser.org/cgi-bin/mailman/listinfo/users
Developer Mailing List - http://openser.org/cgi-bin/mailman/listinfo/devel
E-mails regarding any stable OpenSER release should be sent to
<users@openser.org>
and e-mails regarding development versions
should be sent to <devel@openser.org>
.
If you want to keep the mail private, send it to
<team@openser.org>
.
Please follow the guidelines provided at: http://sourceforge.net/tracker/?group_id=139143.