P
P
pcdesign2019-08-19 13:44:09
Asterisk
pcdesign, 2019-08-19 13:44:09

How to get phone numbers from follow me?

There is an extension number 100. He has follow me set to mobile 79037777777.
How can I see this programmatically with a script?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Andrey Barbolin, 2019-09-02
@pcdesign

I believe it's FreePBX. It stores such values ​​in the internal SQLLite database.
I do not remember exactly what value, but it seems FM or FOLLOW.
From the console, you can get it with the command.
bash# sudo asterisk -rx "database show" | grepFM | grep 100
or if the number is known, then check in which cell it is stored
bash# sudo asterisk -rx "database show" | grep 79037777777

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question