Create extension via HTTP URL

Hi Guys,

I am trying to find a solution to create SIP extension remotlly using HTTP URL (from CRM).
For example:
http://10.0.0.1/CreateExtention?credentials=XXXXXX&extention=110000000&extPassword=qwert123456

When the server receive this post it will create SIP extension 110000000 with the password qwert123456 after verify credential.

I tried to look on API solution (tutorial) but can’t find anything about it.

My server stats are:
Asterisk 1.4.44
FreePBX 2.8.1.5
Linux CentOS release 5.11 (Final)

There is no problem to upgrade the versions if needed.

I will appreciate your assistance, Thanks.
Noy

Did you see this:

Thank you for your replay, this post did not solved the issue.
I also found this http://community.freepbx.org/t/need-to-add-extensions-outside-of-gui/18496 and it also without a solution.

You’re massively out of date, unfortunately. If you switch to FreePBX 13 (which will involve updating everything) you can then start looking at the new REST API module, which has only recently been released as Open Source. You could add to that.

Or, there’s UserMan, which integrates natively with Active Directory?

Thank you I will update and check the REST API, is there any other advise that can assist?

but now there isn’t and he had to develop this method via REST API, is right?

Right, I thought that someone already develop and will be glad to share it with us but this is not the situation.
We probably will develop this, if I will can I will share it with you :slight_smile:

1 Like

If you develop this, be sure to share it with both your CRM provider and us. Be sure to mention the version of FreePBX you are using - there are interfaces to older version of FreePBX that aren’t supported in the newer versions.