<div dir="ltr"><div class="gmail_default" style="font-size:small">Dear friends</div><div class="gmail_default" style="font-size:small">I have a call extender technology that is very useful, but it has a problem, and my support provider, who wrote it, is missing in action.</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">This is the issue: the call extender technology does not confirm the BYE to the caller<br> if ($avp(hold_seconds) > 0) {<br>                                        $avp(total_duration) = $DLG_lifetime + $avp(hold_seconds);<br>                                        cache_store("local","start_$ci","$dlg_val(start_time)",180);    <br>                                        cache_store("local","duration_$ci","$avp(total_duration)",180); <br>                                        async( sleep($avp(hold_seconds)), bye_resume );<br>                                        exit;<br>                                } <br>if that code executes, because hold_seconds > 0, then we don't confim the BYE and we keep </div><div class="gmail_default" style="font-size:small">getting more BYEs. <br>The call extender technology should confirm the BYE to the caller as normally, and it does not. It should hold the call open towards the callee, not the caller. Can you suggest a change in the code?<br></div><div class="gmail_default" style="font-size:small">I guess the new line if code should  be called before</div><div class="gmail_default" style="font-size:small">$avp(total_duration) = $DLG_lifetime + $avp(hold_seconds);<br></div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">Many thanks for your help</div><div class="gmail_default" style="font-size:small"><br></div></div>