Call Flow Plugin: Switch won't set state when Time Condition changes by the clock
-
Using the Call Flow plugin with FreePBX, the switch's state sets correctly when the time condition is overridden (such as when dialing the feature code from another phone), but not when the clock rolls over and the time condition changes itself.
Looking at a debug trace of fop2, it seems that the position of the switch is set by the condition of the /TC/1 (or whatever number) entry in the asterisk database. However, that database entry is set only when the time condition is manually overridden.
It seems like the device state "CUSTOM:TC1" (or whatever number) might be a better indicator of where the switch is supposed to be, as it seems to be set accurately whether the time condition is manually overridden or switched manually.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login