Module: kamailio Branch: master Commit: 340f38f5349e41c849764043df7ee1a808b5ec23 URL: https://github.com/kamailio/kamailio/commit/340f38f5349e41c849764043df7ee1a8...
Author: Daniel-Constantin Mierla miconda@gmail.com Committer: Daniel-Constantin Mierla miconda@gmail.com Date: 2020-11-03T15:00:54+01:00
acc: docs for acc_extra_nullable parameter
---
Modified: src/modules/acc/doc/acc_admin.xml
---
Diff: https://github.com/kamailio/kamailio/commit/340f38f5349e41c849764043df7ee1a8... Patch: https://github.com/kamailio/kamailio/commit/340f38f5349e41c849764043df7ee1a8...
---
diff --git a/src/modules/acc/doc/acc_admin.xml b/src/modules/acc/doc/acc_admin.xml index a990db04a4..d1c007312e 100644 --- a/src/modules/acc/doc/acc_admin.xml +++ b/src/modules/acc/doc/acc_admin.xml @@ -623,6 +623,25 @@ modparam("acc", "acc_prepare_flag", 5) ... modparam("acc", "acc_prepare_always", 1) ... +</programlisting> + </example> + </section> + <section id="acc.p.acc_extra_nullable"> + <title><varname>acc_extra_nullable</varname> (integer)</title> + <para> + If set to 1, the database acc extra fields are set to NULL if the + corresponding script variable is not defined or has $null value. If + set to 0, the value is saved as empty string (the existing behavior). + </para> + <para> + Default value is 0. + </para> + <example> + <title>acc_extra_nullable example</title> + <programlisting format="linespecific"> +... +modparam("acc", "acc_extra_nullable", 1) +... </programlisting> </example> </section>