Variables Used :
Ip Address of the Com1 Server | ip | 122.165.81.92 |
Extension number where the event has to be terminated | ext | 201 |
External Number to which say a call has to be originated | num | 07299377799 |
Unique code given by server as acknowledgement of an event | accountcode | 7pcdhqsk2cr2 |
Date Field For CDR query in YYYYMMDD | date | 20161125 |
Datetime Field For CDR query in YYYYMMDDHH | hour | 2016112511 |
API List :
API Links For An Outbound Call : | |
Initiate a Call | http://122.165.81.92/admin/integration/v1_call_click2call.php?ext=201&num=07299377799 |
Initiate a Call (Both External - Note: Update click2call Trunk in features) | http://122.165.81.92/admin/integration/v1_call_outgoingclick2call.php?from=09884019019&to=07299377799 |
Voice Logger File details of a call (Valid for calls made only today) | http://122.165.81.92/admin/integration/v1_cdr_details.php?accountcode=7pcdhqsk2cr2 |
API Links For CDR Data : | |
CDR Query for the Day | http://122.165.81.92/admin/integration/v1_cdr_day.php?date=20161125 |
CDR Query for the Hour | http://122.165.81.92/admin/integration/v1_cdr_hour.php?hour=2016112511 |
API Links For Extension Status : | |
Status for all Extensions | http://122.165.81.92/admin/integration/v1_ext_status_list.php |
Status For a specific Extension | http://122.165.81.92/admin/integration/v1_ext_status.php?ext=201 |