<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Hello,<div><br><div><div><div>I've tried to disable atxfernoanswertimeout without success.</div></div><div><br>Say I have this configuration:<br><br>extension.conf:<br><font class="Apple-style-span" face="'Courier New'">[context_1]<br>exten =&gt; _X., 1, Dial(${EXTEN},20,tT)<br>exten =&gt; _X., 2, Hangup(16)<br><br>[context_2]<br>exten =&gt; _X., 1, Dial(${EXTEN},60,tT)<br>exten =&gt; _X., 2, Hangup(16)<br></font><br>When transfering (using DTMF xfer from features.c), I want to have a 20 secondes timeout in context_1 and a 60 second timeout in context_2.<br><br>I've tried different way to implement this without success. For instance by replacing the block in features.c:<br><br><font class="Apple-style-span" face="'Courier New'">if (ast_tvdiff_ms(ast_tvnow(), started) &gt; timeout) {<br> &nbsp;&nbsp;state = AST_CONTROL_UNHOLD;<br> &nbsp;&nbsp;ast_log(LOG_NOTICE, "We exceeded our AT-timeout for %s\n", chan-&gt;name);<br> &nbsp;&nbsp;break; /*doh! timeout*/<br>}<br></font><br><br>by:<br><br><font class="Apple-style-span" face="'Courier New'">if (ast_test_flag(caller, AST_FLAG_ZOMBIE)) {<br> &nbsp;&nbsp;state = AST_CONTROL_UNHOLD;<br> &nbsp;&nbsp;break;<br>}<br></font><br><br>Am I missing something simple?<br><br>Thanks for your help<br>Thomas<br><br></div></div><br></div></div></div><br></body></html>