mirror of https://github.com/sipwise/kamailio.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
55 lines
1.3 KiB
55 lines
1.3 KiB
<?xml version="1.0" encoding="UTF-8"?>
|
|
<!DOCTYPE section PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN"
|
|
"http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd">
|
|
|
|
<section id="exec.parameters" xmlns:xi="http://www.w3.org/2001/XInclude">
|
|
<sectioninfo>
|
|
<revhistory>
|
|
<revision>
|
|
<revnumber>$Revision$</revnumber>
|
|
<date>$Date$</date>
|
|
</revision>
|
|
</revhistory>
|
|
</sectioninfo>
|
|
|
|
<title>Parameters</title>
|
|
|
|
<section id="setvars">
|
|
<title><varname>setvars</varname> (integer)</title>
|
|
<para>
|
|
Turn off to disable setting environment variables for executed
|
|
commands.
|
|
</para>
|
|
<para>
|
|
Default value is 1.
|
|
</para>
|
|
<example>
|
|
<title>Set "setvars" parameter</title>
|
|
<programlisting>
|
|
...
|
|
modparam("exec", "setvars", 1)
|
|
...
|
|
</programlisting>
|
|
</example>
|
|
</section>
|
|
|
|
<section id="exec_timer">
|
|
<title><varname>exec_timer</varname> (UNUSED, placeholder only) (integer)</title>
|
|
<para>
|
|
Specifies the longest time a program is allowed to execute. If the
|
|
time is exceeded, the program is killed.
|
|
</para>
|
|
<para>
|
|
Default value is 0.
|
|
</para>
|
|
<example>
|
|
<title>Set "setvars" parameter</title>
|
|
<programlisting>
|
|
...
|
|
modparam("exec", "setvars", 1)
|
|
...
|
|
</programlisting>
|
|
</example>
|
|
</section>
|
|
</section>
|