Build me asterisk API SDK

Job Description:

API SDK module required with Asterisk using PHP and MySQLwith subscription and credit billing model for users to enable them to add their own SIP trunk and route their own sip accounts and use API through any of the SIP trunk they have to process their IVR instructions on given webhooks.

Basic MySQL structure to start with.

a) users table [api_key (unique), loginid (unique), pwd, trunk_id , user_type (admin/user) ]

b) trunks table [trunk_id, username, password, ip/address , port, protocol, transport_type, did_numbers, status] and other fields and table that is required.

Experience Required : Asterisk AGI PHP MySQL

Reference API SDK documentation

[login to view URL]

Calls will be made through the voip server using the rest API tht needs to be developed in PHP below is the sample how we will test the same

{connection_id} is the connection of the sip trunk having unique number

APIAuthKey_fromPortal is the API Key that will be assigned and will be unique for each user

curl -X POST [login to view URL]{connection_id} \

--data-urlencode "To=+13121230000" \

--data-urlencode "From=+13120001234" \

--data-urlencode "Url=[login to view URL]" \

--data-urlencode "StatusCallback=[login to view URL]" \

--data-urlencode "Recording=Enable|Disable" \

--data-urlencode "RecordingCallback=[login to view URL]" \

--data-urlencode "MachineDetection=Enable|Disable" \

--data-urlencode "DetectionMode=Regular|Premium" \

--header "Authorization: Bearer APIAuthKey_fromPortal"

Instructions will be processed on the webhook for eg., Url=[login to view URL] using the CallSid, Digits (dtmf captured) with XML format for eg and there are multiple nouns and verbs that needs to be processed over the webhook as per above reference.,

eg,., [login to view URL]:qJwOD5iSUMSRMAqz9EXMK824CzTNNeuZE1ueqp49bRrXOtvczoTm9g&From=+13034752155&To=+13034752186&Digits=943302

<?xml version="1.0" encoding="UTF-8"?>

<!-- TeXML files must contain the Response element -->


<!-- Say and Dial are Verbs -->

<Say>Thank you for calling. Please hold.</Say>


<!-- Number is a Dial Noun -->




CallBack Status for eg, on this URL [login to view URL] voip server will send below parameters


CallStatus (ringing, answered, completed, busy, failed, no-answer, unknown)

HangupSource (Callee, Caller)


Note: more parameters can be sent that are required to process webhook instructions please refer the below documentation to grasp the parameters and instructions required to be process on the asterisk server

[login to view URL]

Interested people can drop their thoughts in order to review and get back on the same as soon as possible.

Thank you in advance.


Skills: Asterisk PBX, Linux, MySQL, PHP, Software Architecture

About the Client:
( 0 reviews ) Thane, India

Project ID: #36290127

7 freelancers are bidding on average $621 for this job


Hello, I am Raman. I can help you with building you asterisk api sdk. We have completed more than 20+ PHP, MySQL, SQL, API projects in last few months. I would request you to send me a message so that we can get st More

$499 USD in 7 days
(554 Reviews)

Hello Dear, I have 10 years of experience in Web Development and Web Design. I have very good experience in PHP, WordPress, Laravel, CodeIgniter. I have worked on many project for API Integrati More

$600 USD in 25 days
(148 Reviews)

Dear Client, I would like to propose my services for the API SDK module development project that you have posted. My proposal is based on the requirements and specifications that you have mentioned in your job post. More

$800 USD in 3 days
(15 Reviews)

Hello! I'm thrilled to provide my proposal for the work to create an Asterisk API SDK using PHP and MySQL with a subscription and credit charging mechanism allowing customers to add their own SIP boot and route their o More

$500 USD in 7 days
(1 Review)