<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 => _X., 1, Dial(${EXTEN},20,tT)<br>exten => _X., 2, Hangup(16)<br><br>[context_2]<br>exten => _X., 1, Dial(${EXTEN},60,tT)<br>exten => _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) > timeout) {<br> state = AST_CONTROL_UNHOLD;<br> ast_log(LOG_NOTICE, "We exceeded our AT-timeout for %s\n", chan->name);<br> 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> state = AST_CONTROL_UNHOLD;<br> 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>