Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:vicidial:asterisk-16
asterisk
timeout_reset_dial.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File timeout_reset_dial.patch of Package asterisk
--- asterisk-16.17.0/main/dial.c 2021-03-25 13:30:04.000000000 -0400 +++ asterisk-16.17.0-vici/main/dial.c 2021-04-26 21:39:13.053644833 -0400 @@ -770,6 +770,7 @@ static enum ast_dial_result monitor_dial(struct ast_dial *dial, struct ast_channel *chan) { int timeout = -1; + int to_reset = 0; struct ast_channel *cs[AST_MAX_WATCHERS], *who = NULL; struct ast_dial_channel *channel = NULL; struct answer_exec_struct *answer_exec = NULL; @@ -802,6 +803,11 @@ int pos = 0, count = 0; struct ast_frame *fr = NULL; + if ((!to_reset) && ((dial->state == AST_DIAL_RESULT_PROGRESS) || (dial->state == AST_DIAL_RESULT_RINGING))) { + to_reset = 1; + timeout = dial->actual_timeout; + } + /* Set up channel structure array */ pos = count = 0; if (chan)
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor