Bug #6652

Can set destination timeout to a negative value

Added by Fran├žois Blackburn 6 months ago. Updated 6 months ago.

Status:Resolved
Priority:Normal
Assignee:Fran├žois Blackburn
Category:REST API
Target version:17.07
Security issue:No Read documentation?:No
In versions:<= 17.06

Description

Given I have destination to some resources (user, switchboard, group, queue)
When I set the timeout of destination to a negative value with REST API
Result 204

When I call the destination
Then a warning occurred in asterisk console:

WARNING[7052][C-00000002]: app_dial.c:2739 dial_exec_full: Invalid timeout specified: '-10.0'. Setting timeout to infinite

Expected: I cannot set a negative value

History

#1 Updated by Pascal Cadotte-Michaud 6 months ago

  • Status changed from New to Resolved

Also available in: Atom PDF