Skip to content

The 180s timeout for PHPAGI scripts #44

Answered by boffart
jorikfon asked this question in Q&A
Discussion options

You must be logged in to vote

$conf .= 'exten => _.!,1,ExecIf($["${MASTER_CHANNEL(M_TIMEOUT)}x" != "x"]?Set(TIMEOUT(absolute)=${MASTER_CHANNEL(M_TIMEOUT)}))' . " \n\t";

Timeout sets to the channel generated by the command DIal.
The channel name is stored in a variable MASTER_CHANNEL(M_TIMEOUT_CHANNEL)

The timeout can be controlled, if in AGI invoke answer()

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by jorikfon
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants