<p>It is easy to reproduce, just call exec_avp with sh script which has sleep 1 min.</p>
<p>Please find below part of configuration file where the exec_avp is used:</p>
<p>failure_route[HANDLE_FAILURE_ON_INCOMING_REQ] {<br>
if (t_is_canceled()) {<br>
exit;<br>
}</p>
<pre><code>if (t_branch_timeout()) {

    if (t_branch_replied()) {

        // A local timeout after some provsional reply.
        xlog("L_WARN", "No final response on request $rm CSeq:$cs ($ci)!\n");

    } else {
        // A local transaction timed out w/o any reply received.
        // In case incoming calls that means out Telephony doesn't reply.

        xlog("L_ERR", "Failover on request $rm CSeq:$cs ($ci)!\n");

        // Set current Telephony to inactive probbing state
        ds_mark_dst("IP");

        // Checking next endpoint from the destination list
        if (!ds_next_dst()) {
            t_reply("503", "Service Unavailable");
            xlog("L_CRIT","Failure route: All Telephony servers are invactive!\n");

            if ($shv(is_zabbix_event_sent) == 0) {
                $shv(is_zabbix_event_sent) = 1;
                exec_avp("etc/kamailio/run_zabbix_sender.sh ecsp_no_telephony");
                xlog("L_NOTICE","ecsp_no_telephony event is sent to zabbix\n");
            }

            exit;
        }

        xlog("L_ERR", "Try to send to $rd:$rp ($ci)\n");

        route(RELAY);
    }
}
</code></pre>
<p>}</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/kamailio/kamailio/issues/2165?email_source=notifications&email_token=ABO7UZPZA2YNF6VBRMQBP5DQZSM4JA5CNFSM4JVZ2QDKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEHMRT7Y#issuecomment-567876095">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ABO7UZJ7F2ETWSVTDTBIM3LQZSM4JANCNFSM4JVZ2QDA">unsubscribe</a>.<img src="https://github.com/notifications/beacon/ABO7UZPQLQ3PZVFURFDK6A3QZSM4JA5CNFSM4JVZ2QDKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEHMRT7Y.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/kamailio/kamailio/issues/2165?email_source=notifications\u0026email_token=ABO7UZPZA2YNF6VBRMQBP5DQZSM4JA5CNFSM4JVZ2QDKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEHMRT7Y#issuecomment-567876095",
"url": "https://github.com/kamailio/kamailio/issues/2165?email_source=notifications\u0026email_token=ABO7UZPZA2YNF6VBRMQBP5DQZSM4JA5CNFSM4JVZ2QDKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEHMRT7Y#issuecomment-567876095",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>