Copyright © 2005 Voice Sistem
rr_store_param
(string)from_restore_mode
(string)from_passwd
(string)credential
(string)auth_realm_avp
(string)auth_username_avp
(string)auth_password_avp
(string)uac_replace_from(display,uri)
uac_replace_from(uri)
uac_restore_from()
uac_auth()
rr_store_param
parameterfrom_restore_mode
parameterfrom_passwd
parametercredential
parameterauth_realm_avp
parameterauth_username_avp
parameterauth_password_avp
parameteruac_replace_from
usageuac_replace_from
usageuac_restore_from
usageuac_auth
usageUAC (User Agent Client) module provides some basic UAC functionalities like FROM header manipulation (anonymization) or client authentication.
Known limitations in this version:
authentication does not support qop;
CSeq not increased during authentication - the response may be rejected.
The following modules must be loaded before this module:
TM - Transaction Module
RR - Record-Route Module, but only if restore mode for FROM URI is set to "auto".
The following libraries or applications must be installed before running OpenSER with this module loaded:
None
rr_store_param
(string)Name of Record-Route header parameter that will be used to store (encoded) the original FROM URI.
This parameter is optional, it's default value being "vsf".
from_restore_mode
(string)There are 3 mode of restoring the original FROM URI:
"none" - no information about original URI is stored; restoretion is not possible.
"manual" - all following replies will be restored, but not also the sequential requests - this must be manually updated based on original URI.
"auto" - all sequential requests and replies will be automatically updated based on stored original URI.
This parameter is optional, it's default value being "auto".
from_passwd
(string)String password to be used to encrypt the RR storing paramter. If empty, no encryption will be used.
Default value of this parameter is empty.
credential
(string)Contains a multiple definition of credentials used to perform authentication.
This parameter is required if UAC authentication is used.
auth_realm_avp
(string)The definition of an AVP that might contain the realm to be used to perform authentication.
If you define it, you also need to define "auth_username_avp" (Section 1.3.6) and "auth_username_avp" (Section 1.3.7).
auth_username_avp
(string)The definition of an AVP that might contain the username to be used to perform authentication.
If you define it, you also need to define "auth_realm_avp" (Section 1.3.5) and "auth_username_avp" (Section 1.3.7).
auth_password_avp
(string)The definition of an AVP that might contain the password to be used to perform authentication.
If you define it, you also need to define "auth_password_avp" (Section 1.3.7) and "auth_username_avp" (Section 1.3.7).
uac_replace_from(display,uri)
Replace in FROM header the display name and the URI part.
display and URI parameters can include pseudo-variables.
This function can be used from REQUEST_ROUTE.
Example 1-8. uac_replace_from
usage
... # replace both display and uri uac_replace_from("$avp(s:display)","$avp(s:uri)"); # replace only display and do not touch uri uac_replace_from("batman",""); # remove display and replace uri uac_replace_from("","sip:robin@gotham.org"); # remove display and do not touch uri uac_replace_from("",""); ...
uac_replace_from(uri)
Replace in FROM header the the URI part without altering the display name.
URI parameter can include pseudo-variables.
This function can be used from REQUEST_ROUTE.
uac_restore_from()
This function will check if the FROM URI was modified and will use the information stored in header parameter to restore the original FROM URI value.
This function can be used from REQUEST_ROUTE.
uac_auth()
This function can be called only from failure route and will build the authentication response header and insert it into the request without sending anything.
This function can be used from FAILURE_ROUTE.
Take a look at http://www.openser-project.org/.
First at all check if your question was already answered on one of our mailing lists:
User Mailing List - http://lists.openser-project.org/cgi-bin/mailman/listinfo/users
Developer Mailing List - http://lists.openser-project.org/cgi-bin/mailman/listinfo/devel
E-mails regarding any stable version should be sent to <users@lists.openser-project.org>
and e-mail
regarding development versions or CVS snapshots should be send to <devel@lists.openser-project.org>
.
If you want to keep the mail private, send it to <team@lists.openser-project.org>
.
Please follow the guidelines provided at: http://sourceforge.net/tracker/?group_id=139143