ELindemann
(ELindemann)
September 17, 2020, 10:28pm
1
Hi @all ,
how do i check the state of a CFC. But not through logging on theFreepbx GUI.
Is there any way to solve this issue, something like:
asterisk -rx “pjsip show endpoints”
->
asterisk -rx “callflowcontrol show state”
and i could grep on the cli the state of cfc280/cfc281/etc., if night or day is active?
Thx in advance for any idea, help
ELindemann
dicko
(dicko)
September 17, 2020, 10:42pm
2
The current state of ‘CallFlows’ are maintained in the sqlite3 astdb database,
rasterisk -x 'database show'
for the whole shebang, you can ‘show’ ‘showkey’ and ‘get’ subsets of the database.
lgaetz
(Lorne Gaetz)
September 17, 2020, 10:50pm
3
asterisk -x "database show DAYNIGHT"
ELindemann
(ELindemann)
September 17, 2020, 11:06pm
4
Hi dicko,
you are fast as a lightning. Thx.
I did what you told me, but on the first sight, something like this:
…ER, SUBSCRIBE, REFER, PUBLISH, UPDATE, MESSAGE\r\nAccept: application/dialog-info+xml\r\nMax-Forwards: 70\r\nUser-Agent: Yealin …
A lot of strange, for me unreadable output. But after piping it, i could read it. But not keywords like callflow…,
I found TC = timeconditions (?) and a litte bit above bingo
/DAYNIGHT/C0 : DAY…
/DAYNIGHT/C1 : DAY…
Yessssssssssss.
Thank You.
Elindemann
ELindemann
(ELindemann)
September 17, 2020, 11:09pm
5
Hi Igaetz,
a little bit shorter:
asterisk -x “database show DAYNIGHT”
shows me:
/DAYNIGHT/C0 : DAY
/DAYNIGHT/C1 : DAY
2 results found.
Asterisk ending (0).
Thank you too.
How do i close this topic?
I think it will be the fastest opening/closing issue?
Elindemann
system
(system)
Closed
September 24, 2020, 11:09pm
6
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.