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 |
Transfer Call From which extension | fromext | 210 |
Transfer Call To which extension | toext | 204 |
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 |
CDR details of a call | http://122.165.81.92/admin/integration/v1_cdr_details.php?accountcode=7pcdhqsk2cr2 |
Voice File Path (Note: YYYYMMDD can be taken from userfield - Substring 8 characters from position 4) | http://122.165.81.92/voicefiles/monitor/YYYYMMDD/OG_20210518184127_08088168624.wav |
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 Call Events : | |
Call Hangup | http://122.165.81.92/admin/integration/v1_call_hangup.php?ext=201 |
Call Transfer | http://122.165.81.92/admin/integration/v1_call_transfer.php?fromext=201&toext=204 |
API Links For An Inbound Call : | |
Live Active Inbound Call | http://122.165.81.92/admin/integration/v1_cli_incomingcall.php?ext=201 |
API Links For Predictive Dialler : | |
CLI After The Call Is Connected | http://122.165.81.92/admin/integration/v1_cli_acdcall.php?agent=AAAAAA |