fusionpbx api

Status
Not open for further replies.

alamin

Member
May 13, 2021
50
0
6
38
Hello,

am enable API key from user and get report using my api key, like this url http://YOUR_IP/app/xml_cdr/xml_cdr.php?key=YOUR_KEY

but I want to click to call apps as like above url, is it possible or not.

http://YOUR_IP/app/click_to_call/click_to_call.php?key=YOUR_KEY/src_cid_name=test&src_cid_number=101&dest_cid_name=test&dest_cid_number=1001&src=101&dest=1001&rec=false&ringback=us-ring

Thanks.
 

Scubadave112

Member
Jan 24, 2020
122
20
18
37
Hello,

am enable API key from user and get report using my api key, like this url http://YOUR_IP/app/xml_cdr/xml_cdr.php?key=YOUR_KEY

but I want to click to call apps as like above url, is it possible or not.

http://YOUR_IP/app/click_to_call/click_to_call.php?key=YOUR_KEY/src_cid_name=test&src_cid_number=101&dest_cid_name=test&dest_cid_number=1001&src=101&dest=1001&rec=false&ringback=us-ring

Thanks.
Im no API expert at all but are you saying the first url, your getting a valid return? because it isn't a valid format...... you don't have the api version and it wouldn't be xml_cdr.php it would just be xml_cdr? also it would be /app/api

unless your using a third party api.... im pretty certain this is not a valid request on the official api....

so the simple answer to your question is no but the in depth answer would be your objective is possible with the API.

are you currently a purple member? you can't just generate an API key under user.... if you want access to API it is a member application that must be installed and if your a purple or higher member mark and his team will deff assist you on this.

just my two cents though... i do know someone did setup some un official api in past somewhere and maybe your using that I dunno
 

alamin

Member
May 13, 2021
50
0
6
38
yes, this method is ok and I get CRD report from using user api key. See my image. So I want to as like click to call via url but I dont know which process using api key click to call url.

Thanks.
 

Attachments

  • pbx.JPG
    pbx.JPG
    142.3 KB · Views: 72

alamin

Member
May 13, 2021
50
0
6
38
really interesting! I don't know how its working :) But I needed my query click to call using using this API. After login then click to call ok, I want implement using api key.

Thanks.
 

jeetz

Member
Oct 15, 2019
84
2
8
41
okay this is for the latest fusionpbx 5, does this not cover 4.5 fusion?

 

alamin

Member
May 13, 2021
50
0
6
38
CDR report I can see using this API but I want to active click to call app using this API.
 
Status
Not open for further replies.