Module: kamailio
Branch: master
Commit: 295e9a23df952bc98c2a2803d796e358363b2e22
URL:
https://github.com/kamailio/kamailio/commit/295e9a23df952bc98c2a2803d796e35…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2020-06-22T08:22:55+02:00
uac: docs - updated examples to use avps with string names
- the recommended format instead of interger ids
---
Modified: src/modules/uac/doc/uac_admin.xml
---
Diff:
https://github.com/kamailio/kamailio/commit/295e9a23df952bc98c2a2803d796e35…
Patch:
https://github.com/kamailio/kamailio/commit/295e9a23df952bc98c2a2803d796e35…
---
diff --git a/src/modules/uac/doc/uac_admin.xml b/src/modules/uac/doc/uac_admin.xml
index f718924dad..64aabf2190 100644
--- a/src/modules/uac/doc/uac_admin.xml
+++ b/src/modules/uac/doc/uac_admin.xml
@@ -334,7 +334,7 @@
modparam("uac","credential","username:domain:password")
<title>Set <varname>auth_realm_avp</varname>
parameter</title>
<programlisting format="linespecific">
...
-modparam("uac","auth_realm_avp","$avp(i:10)")
+modparam("uac","auth_realm_avp","$avp(arealm)")
...
</programlisting>
</example>
@@ -356,7 +356,7 @@
modparam("uac","auth_realm_avp","$avp(i:10)")
<title>Set <varname>auth_username_avp</varname>
parameter</title>
<programlisting format="linespecific">
...
-modparam("uac","auth_username_avp","$avp(i:11)")
+modparam("uac","auth_username_avp","$avp(auser)")
...
</programlisting>
</example>
@@ -378,7 +378,7 @@
modparam("uac","auth_username_avp","$avp(i:11)")
<title>Set <varname>auth_password_avp</varname>
parameter</title>
<programlisting format="linespecific">
...
-modparam("uac","auth_password_avp","$avp(i:12)")
+modparam("uac","auth_password_avp","$avp(apasswd)")
...
</programlisting>
</example>