Get Extension Status
GET
https://api.hamkaran.cloud/api/hamkaran/v1/extensionThis 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
Header Params
key
string
required
Example:
{{Hamkaran Webservice key}}
Request samples
Responses
Response List(200)
HTTP Code: 200
Content Type : HTMLtext/html
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
}
}
}
Last modified: 8 months ago