Help with night mode (call flow) toggle on side car. (solved)

Status
Not open for further replies.

Chidado

Member
Mar 8, 2017
50
2
8
Hello all,
I am having an issue with night mode toggle on the side car of my cisco/yealink phones. Once setup the button changes to red, after a few minutes it changes back to green but night mode is still active.

Thanks in advance,
Chidado
 

moteus

New Member
Nov 14, 2016
13
1
1
44
You have to run one of service to keep its state in sync. Checkout lua.conf.xml file.
Basically there 2 strategy. 1 - resend state each X seconds (call_flow_monitor.lua).
2 - respond to phones SUBSCRIBE messages (call_flow_subscribe.lua).
 

mfelli

New Member
Dec 24, 2017
16
1
3
44
Thanks moteus that worked! I had to run 2 commands using Advanced, Command menu before I started seeing it work:
reloadxml
luarun /usr/share/freeswitch/scripts/call_flow_subscribe.lua
Now when my yealinks refresh their BLF subscriptions it updates. I do still have to figure out why it clears it first though, which is odd. But will worry about that later!

[update] Omg, I dunno how I missed this. But call flows should start with "flow+" then the feature code example: flow+*7003
The phone no longer clears it, and no longer wakes up every time it refreshes subscribe.
 
Last edited:
  • Like
Reactions: Chidado
Status
Not open for further replies.