[Home]

Summary:ASTERISK-24648: Execiftime() not support appiffalse
Reporter:Avraam David (adavid)Labels:
Date Opened:2014-12-29 07:41:30.000-0600Date Closed:2015-01-03 21:37:47.000-0600
Priority:MajorRegression?
Status:Closed/CompleteComponents:Core/PBX
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
Description:Execiftime() not support appiffalse argument, only appiftrue.
Comments:By: Rusty Newton (rnewton) 2015-01-02 11:31:43.631-0600

First, please read the [Asterisk Issue Guidelines|https://wiki.asterisk.org/wiki/display/AST/Asterisk+Issue+Guidelines] before using the issue tracker in the future.

Second, Execiftime doesn't support either of the arguments you mention.

https://wiki.asterisk.org/wiki/display/AST/Asterisk+11+Application_ExecIfTime
https://wiki.asterisk.org/wiki/display/AST/Asterisk+13+Application_ExecIfTime

Third, if you really do have an issue, please attach (More > Attach Files) debug files demonstrating the issue with Asterisk log.

https://wiki.asterisk.org/wiki/display/AST/Collecting+Debug+Information

Please attach files as .txt so they'll be easily accessible via the browser.

When you have clarified your issue, added a description, a demonstration and debug please press Send Back or Enter Feedback.

By: Avraam David (adavid) 2015-01-03 14:51:26.753-0600

All if function's (gotoif, gotoiftime, execif) support argument if false, only execiftime() not supported.

Why?  it's not a Bug/Error?


By: Matt Jordan (mjordan) 2015-01-03 21:37:47.947-0600

While it is a bit odd that the application does not have a false conditional, it isn't a bug. Having a false conditional would simply be an improvement.

Note that {{GotoIfTime}} could easily be used to implement a True/False conditional based on time.