Quantcast
Channel: General Help - FreePBX Community Forums
Viewing all articles
Browse latest Browse all 12597

REST API - Block/Allow outbounding calls

$
0
0

@mybuzi wrote:

Hi at all,
is possible to lock and unlock outbounding calls through API REST?
I need to create a Dashboard for my clients. When a client reach money limit 0€, i want to use API REST for block outbounding calls for all extensions on a specific Free PBX (when i say specific i mean a specific public ip address where free pbx run).

I want know if is possible (through API REST) or:
- lock and unlock outbounding calls for a extension
- lock and unlock outbounding calls for all extensions
- lock and unlock outbounding roules (in this mode people can't make calls but can receive calls).
- when a extension try to make a call but not have credit, change the destinations and reproduce a recorded message that say (recharge credit), and when credit will be >0€ on the dashboard, with another API REST request, change the destination from recorded message to the original outbounding route.

Is possible do that with free pbx?

Can give me some info or where search that on some Wiki, because i see all Asterisk wiki and i didn't found something for do that.
I see only channels.. and some other things but i not understand well if i must use channels api rest or there is another mode to do that.

Thanks a lot for your help

Posts: 2

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 12597

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>