[Home]

Summary:ASTERISK-19840: Disable global atxfernoanswertimeout
Reporter:Thomas Sevestre (to)Labels:
Date Opened:2012-05-04 06:16:17Date Closed:2012-05-04 08:34:28
Priority:MajorRegression?
Status:Closed/CompleteComponents:
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
Description:I've tried to disable atxfernoanswertimeout without success.

Say I have this configuration:

extension.conf:
[context_1]
exten => _X., 1, Dial(${EXTEN},20,tT)
exten => _X., 2, Hangup(16)

[context_2]
exten => _X., 1, Dial(${EXTEN},60,tT)
exten => _X., 2, Hangup(16)

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.

I've tried different way to implement this without success. For instance by replacing the block

{code:title=From features.c}
if (ast_tvdiff_ms(ast_tvnow(), started) > timeout) {
state = AST_CONTROL_UNHOLD;
ast_log(LOG_NOTICE, "We exceeded our AT-timeout for %s\n", chan->name);
break; /*doh! timeout*/
}
{code}

by:

{code}
if (ast_test_flag(caller, AST_FLAG_ZOMBIE)) {
state = AST_CONTROL_UNHOLD;
break;
}
{code}

Am I missing something simple?

Thanks for your help
Comments:By: Michael L. Young (elguero) 2012-05-04 08:33:52.334-0500

Thanks for your comments. This does not appear to be a bug report and we are closing it. We appreciate the difficulties you are facing, but it would make more sense to raise your question in the support tracker, http://www.asterisk.org/support.