How to create/remove users on FreePBX+Asterisk using REST ARI & PHP

Mohammed Moinuddin Waseem

I have FreePBX distro installed (containing FreePBX 14 • Linux 7.4 • Asterisk 13) on one machine IP: 192.168.1.129.

I have another machine with XAMPP web server (MyWebApp) IP: 192.168.1.22.

I want to create and remove users in FreePBX from MyWebApp interface. FreePBX wiki says RESTful interaction is possible, however I'm stuck and more confused after going through FreePBX wiki links and Asterisk ARI documents.

Appreciate if anyone can clarify any of the following:

  • is it possible in the first place what I'm trying to achieve?
  • What needs to be enabled on FreePBX?
  • What additional needs to be installed on MyWebApp to interact with FreePBX?

Thanks in advance.

arheops

There is no native REST API for FreePBX, but there is a third-party module.

However, there is no available documentation on that topic; refer to this thread: https://community.freepbx.org/t/rest-api-clarity/35740

You also can always read the source code of the module or ask someone to write a syncing module for your need. Source code of FreePBX project is open-source.

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

From Java

How to register users in Django REST framework?

From Dev

How to get all dialer events from Asterisk REST API (ARI)?

From Dev

How to login users using ajax and php?

From Dev

Freepbx can't connect to asterisk wrong password

From Dev

Asterisk ARI / phpari - Bridge recording: "Recording not found"

From Dev

Asterisk ARI call from external to external

From Dev

Asterisk 13 ARI not firing "ChannelTalkingStart" events

From Dev

Send SMS from PHP script with FreePBX Bootstrap

From Dev

How to use Asterisk ARI with socket.io & Node.js

From Dev

How to call REST API using CURL in php?

From Dev

How to authorize specific resources based on users who created those in REST, using annotations

From Dev

FreePBX How to configure FollowMe for external sip phone

From Dev

How to login users using ajax and php?

From Dev

Refund users using paypal rest API

From Dev

How to create account balance for each users in asterisk freePBX system?

From Dev

Asterisk / Freepbx / Call doesn't disconnects after hangup

From Dev

Asterisk ARI / phpari - Bridge recording: "Recording not found"

From Dev

asterisk random generation using rand in php

From Dev

Programming Asterisk IVR inside freepbx problem continuing the program when clerk hangup

From Dev

how to integrate mobile call to a chatbot using asterisk

From Dev

PHP / SQL give rest of users a value

From Dev

Calling a PHP script using FreePBX and Asterisk

From Dev

Receiving "Wrong Password" while trying to connect to Asterisk using SIP users

From Dev

Asterisk. I'm using ARI to collect events, how do I group events into single customer interactions from start to finish?

From Dev

How to add new menu category in FreePBX

From Dev

asterisk ari calling stuck in ringing with python

From Dev

OneDrive - how to access files of users in my Business account using the Rest API?

From Dev

How to update users profile using Microsoft Graph 365 Rest API

From Dev

How to restrict certain users from editing all attributes of an object using PUT with Spring Data Rest?

Related Related

  1. 1

    How to register users in Django REST framework?

  2. 2

    How to get all dialer events from Asterisk REST API (ARI)?

  3. 3

    How to login users using ajax and php?

  4. 4

    Freepbx can't connect to asterisk wrong password

  5. 5

    Asterisk ARI / phpari - Bridge recording: "Recording not found"

  6. 6

    Asterisk ARI call from external to external

  7. 7

    Asterisk 13 ARI not firing "ChannelTalkingStart" events

  8. 8

    Send SMS from PHP script with FreePBX Bootstrap

  9. 9

    How to use Asterisk ARI with socket.io & Node.js

  10. 10

    How to call REST API using CURL in php?

  11. 11

    How to authorize specific resources based on users who created those in REST, using annotations

  12. 12

    FreePBX How to configure FollowMe for external sip phone

  13. 13

    How to login users using ajax and php?

  14. 14

    Refund users using paypal rest API

  15. 15

    How to create account balance for each users in asterisk freePBX system?

  16. 16

    Asterisk / Freepbx / Call doesn't disconnects after hangup

  17. 17

    Asterisk ARI / phpari - Bridge recording: "Recording not found"

  18. 18

    asterisk random generation using rand in php

  19. 19

    Programming Asterisk IVR inside freepbx problem continuing the program when clerk hangup

  20. 20

    how to integrate mobile call to a chatbot using asterisk

  21. 21

    PHP / SQL give rest of users a value

  22. 22

    Calling a PHP script using FreePBX and Asterisk

  23. 23

    Receiving "Wrong Password" while trying to connect to Asterisk using SIP users

  24. 24

    Asterisk. I'm using ARI to collect events, how do I group events into single customer interactions from start to finish?

  25. 25

    How to add new menu category in FreePBX

  26. 26

    asterisk ari calling stuck in ringing with python

  27. 27

    OneDrive - how to access files of users in my Business account using the Rest API?

  28. 28

    How to update users profile using Microsoft Graph 365 Rest API

  29. 29

    How to restrict certain users from editing all attributes of an object using PUT with Spring Data Rest?

HotTag

Archive