Build me asterisk API SDK
Budget $250-750 USD
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 -->
<Response>
<!-- Say and Dial are Verbs -->
<Say>Thank you for calling. Please hold.</Say>
<Dial>
<!-- Number is a Dial Noun -->
<Number>+13129457420</Number>
</Dial>
</Response>
CallBack Status for eg, on this URL [login to view URL] voip server will send below parameters
CallSid
CallStatus (ringing, answered, completed, busy, failed, no-answer, unknown)
HangupSource (Callee, Caller)
CallDuration
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.
Regards
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
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
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