Hamkaran.cloud
  1. Hamkaran Cloud Phone
Hamkaran.cloud
  • Hamkaran Cloud Phone
    • Get Call Center Reports
      GET
    • Get Extension Status
      GET
    • Get Call Recording by UID
      POST
    • Create Call
      POST
    • HangUp Call
      POST
    • Send a pre-recorded call
      POST
    • Get a pre-recorded call Details
      POST
  1. Hamkaran Cloud Phone

Get Extension Status

GET
https://api.hamkaran.cloud/api/hamkaran/v1/extension
This API allows users to view the status of call center extensions. By sending a request to this endpoint, the system provides information about each extension's status, such as active status, on a call, availability, and other relevant details. This functionality is part of Hamkaran Cloud's cloud telephony solutions, helping organizations to better monitor their call center extensions and improve internal communication efficiency.
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://api.hamkaran.cloud/api/hamkaran/v1/extension' \
--header 'key: {{Hamkaran Webservice key}}'
Response Response Example
Successful Request Response
{
  "id": 100,
  "dec": "شرکت طرح و توسعه پردازش همکاران",
  "server_url": "serv.hamkaran.cloud",
  "port": 8960,
  "tlsport": 8961,
  "extension": {
    "100201": {
      "internalnumber": "201",
      "number": 100201,
      "server_url": "serv.hamkaran.cloud:8960",
      "port": 8960,
      "status": "OK",
      "status_text": "OK (9ms)",
      "client_ip": "46.100.56.108",
      "client_port": "5545",
      "tlsport": 8961,
      "client_ip_details": {
        "status": "success",
        "country": "Iran",
        "countryCode": "ir",
        "region": "23",
        "regionName": "Tehran",
        "city": "Tehran",
        "zip": "",
        "lat": 35.6892,
        "lon": 51.389,
        "timezone": "Asia/Tehran",
        "isp": "Iran Telecommunication Company PJS",
        "org": "Telecommunication Company of Tehran",
        "as": "AS58224 Iran Telecommunication Company PJS",
        "query": "46.100.56.108"
      }
    },
    "100202": {
      "internalnumber": "202",
      "number": 100202,
      "server_url": "serv.hamkaran.cloud:8960",
      "port": 8960,
      "status": "UNKNOWN",
      "status_text": "UNKNOWN",
      "client_ip": "(Unspecified)",
      "client_port": "0",
      "tlsport": 8961,
      "client_ip_details": null
    },
    "100203": {
      "internalnumber": "203",
      "number": 100203,
      "server_url": "serv.hamkaran.cloud:8960",
      "port": 8960,
      "status": "UNKNOWN",
      "status_text": "UNKNOWN",
      "client_ip": "(Unspecified)",
      "client_port": "0",
      "tlsport": 8961,
      "client_ip_details": null
    },
    "100205": {
      "internalnumber": "205",
      "number": 100205,
      "server_url": "serv.hamkaran.cloud:8960",
      "port": 8960,
      "status": "UNKNOWN",
      "status_text": "UNKNOWN",
      "client_ip": "(Unspecified)",
      "client_port": "0",
      "tlsport": 8961,
      "client_ip_details": null
    }
  }
}

Request

Header Params
key
string 
required
Example:
{{Hamkaran Webservice key}}
Body Params multipart/form-data
object {0}

Responses

🟢200Response List
text/html
Body
object {0}
Modified at 2024-06-10 19:58:05
Previous
Get Call Center Reports
Next
Get Call Recording by UID
Built with