Project

General

Profile

Bug #6652

Can set destination timeout to a negative value

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

Status:
Resolved
Priority:
Normal
Category:
REST API
Target version:
Security issue:
No
In versions:
<= 17.06
Read documentation?:
No

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 12 months ago

  • Status changed from New to Resolved

Also available in: Atom PDF