<p>In modules/exec/doc/exec_admin.xml:</p>
<pre style='color:#555'>> +                </para>
> +                <para>
> +                This function can be used from REQUEST_ROUTE, FAILURE_ROUTE,
> +                LOCAL_ROUTE, STARTUP_ROUTE, TIMER_ROUTE, EVENT_ROUTE, ONREPLY_ROUTE.
> +                </para>
> +                <example>
> +                <title><function moreinfo="none">exec</function> usage</title>
> +                <programlisting format="linespecific">
> +...
> +$avp(env) = "a";
> +$avp(env) = "b";
> +exec("ls -l", "$var(out)",, "$avp(env)");
> +xlog("The output is $var(out)\n");
> +...
> +$var(input) = "input";
> +exec("/home/../myscript.sh",, "this is my $var(input) for exec\n", "$avp(env)");
</pre>
<p>Nor does this.</p>
<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br>Reply to this email directly or <a href="https://github.com/OpenSIPS/opensips/pull/375/files#r19524771">view it on GitHub</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/AFOciTxgmPfs0atKKRbCOuV9T69sfhC8ks5nIJ8vgaJpZM4Cz-_8.gif" width="1" /></p>
<script type="application/ld+json">{"@context":"http://schema.org","@type":"EmailMessage","description":"View this Pull Request on GitHub","action":{"@type":"ViewAction","url":"https://github.com/OpenSIPS/opensips/pull/375/files#r19524771","name":"View Pull Request"}}</script>