<div dir="ltr"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><span class="gmail_default" style="font-size:small">My goal is to close the call as soon as the callee presses any DTMF</span></blockquote><div><span class="gmail_default" style="font-size:small">when any DTMF is detected,  then I need to access the callID variable, </span> <span class="gmail_default" style="font-size:small">$ci</span></div><div><span class="gmail_default" style="font-size:small">but it's nowhere to be found</span></div><div><span class="gmail_default" style="font-size:small">Also I need $avp(start_time) and $avp(duration)</span></div><div><span class="gmail_default" style="font-size:small">I am at a loss as to how to retrieve this information. The call is connected</span></div><div><span class="gmail_default" style="font-size:small">I need to fire a database query to close the call.</span></div><div><div class="gmail_default" style="font-size:small">I imagine that when the call got connected, some variable stored that unix-time .</div><div class="gmail_default" style="font-size:small">But it does not seem to be available in this part of the code.</div><div class="gmail_default" style="font-size:small">Philip</div><div class="gmail_default" style="font-size:small"><br></div><br></div><div><span class="gmail_default" style="font-size:small"><br></span></div><div><span class="gmail_default" style="font-size:small"><br></span></div><div><span class="gmail_default" style="font-size:small"><br></span></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><span class="gmail_default" style="font-size:small"></span><br>
</blockquote></div></div>