Is there a way to know what phone extensions are currently on a call?
Try “core show channels verbose” in the asterisk cli
by any chance you would not know if there is a table that saves that data,
When a user is on a call
that would be in the cdrs…
I am looking in the asteriskcdrdb DB in a table call cdr
My query looks like
SELECT * FROM
WHERE DST = 'mycellnum’
ORDER BY calldate DESC
but i see calls that have been completed but for some reason it does not show me in progress calls
For live monitoring use Asterisk manager interface and request the extensionstate.
cdr only hold completed calls. for calls in progress, I am not aware of anything else than the cli command afore mentioned.