S
S
SteepNET2020-08-12 10:51:49
API
SteepNET, 2020-08-12 10:51:49

Asterisk+php who is the extension talking to?

Good afternoon! FreePBX 14, there is a need to see in real time what number the internal number is talking to and output it to the php page.
You can do this through asterisk -rx 'core show channels concise' or through asterisk -rx 'core show channels' but there is a lot to parse, remove, etc.
Maybe there is a more elegant way?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Andrey Barbolin, 2020-08-12
@dronmaxman

Asterisk AMI or ARI?

S
Sergey Grushko, 2020-08-13
@zepps

Look, here you need to understand what is meant by "see with what number ..."
If from the user's point of view, that is, ready-made systems like FOP2: ( Overview and configuration of FOP2 ), ( Installing FOP2 on Asterisk )
If from a development point of view of your product, then where is it better to do it right away on Asterisk AMI

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question