Skip to content

UAC AUTH module

UAC AUTH (User Agent Client Authentication) module provides a common API for building authentication headers.

It also provides a common set of authentication credetials to be used by other modules.

Known limitations in this version:

  • authentication does not support qop auth-int, just qop auth;
  • None.

The following libraries or applications must be installed before running OpenSIPS with this module loaded:

  • None

Contains a multiple definition of credentials used to perform authentication.

This parameter is required if UAC authentication is used.

Set credential parameter
...
modparam("uac_auth","credential","username:domain:password")
modparam("uac_auth","credential","username:domain:0xc17ba8157756f263d07e158504204629")
...

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” (auth username avp id) and “auth_username_avp” (auth password avp id).

Set auth_realm_avp parameter
...
modparam("uac_auth","auth_realm_avp","$avp(10)")
...

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” (auth realm avp id) and “auth_username_avp” (auth password avp id).

Set auth_username_avp parameter
...
modparam("uac_auth","auth_username_avp","$avp(11)")
...

The definition of an AVP that might contain the password to be used to perform authentication. The password can be provided as a plain text password or as a precalculated HA1 as a hexa (lower case) string (of 32 chars) prefixed with “0x” (so a total of 34 chars) (for example “0xc17ba8157756f263d07e158504204629”)

If you define it, you also need to define “auth_password_avp” (auth password avp id) and “auth_username_avp” (auth password avp id).

Set auth_password_avp parameter
...
modparam("uac_auth","auth_password_avp","$avp(12)")
...

doc copyrights:

Top contributors by DevScore(1), authored commits(2) and lines added/removed(3)

#NameDevScoreCommitsLines++Lines—
1.Ovidiu Sas (@ovidiusas)16786915
2.Bogdan-Andrei Iancu (@bogdan-iancu)11724627
3.Stefan Darius (@dariusstefan)7417831
4.Liviu Chircu (@liviuchircu)642054
5.Razvan Crainea (@razvancrainea)53914

(1) DevScore = author_commits + author_lines_added / (project_lines_added / project_commits) + author_lines_deleted / (project_lines_deleted / project_commits)

(2) including any documentation-related commits, excluding merge commits

(3) ignoring whitespace edits, renamed files and auto-generated files

#NameCommit Activity
1.Stefan Darius (@dariusstefan)Jun 2026 - Jul 2026
2.Razvan Crainea (@razvancrainea)Sep 2011 - Jun 2026
3.Bogdan-Andrei Iancu (@bogdan-iancu)Mar 2012 - Jun 2018
4.Liviu Chircu (@liviuchircu)Mar 2014 - Jun 2018
5.Ovidiu Sas (@ovidiusas)Jun 2011 - Oct 2013

(1) including any documentation-related commits, excluding merge commits

Last edited by: Razvan Crainea (@razvancrainea), Bogdan-Andrei Iancu (@bogdan-iancu), Liviu Chircu (@liviuchircu), Ovidiu Sas (@ovidiusas).

All documentation files (i.e. .md extension) are licensed under the Creative Common License 4.0