Satisfaction
If PBX receives DTMF digits that are entered by callers, PBX will send a satisfaction report to the application server.
Report parameters
| Parameter | Type | Description |
|---|---|---|
| event | String | Event type. |
| callid | String | The unique ID of each call. |
| surveyresult | String | The result of the customer satisfaction survey (The DTMF key pressed by the caller.). |
| sn | String | The PBX's serial number. |
Report example
POST / HTTP/1.1 Host: api.yeastarcloud.com Accept: application/json User-Agent: WebAPI Content-Type: application/json Accept: application/json { "event": "satisfaction", "callid": "1571972541.133", "surveyresult": "1", "sn": "369451090405" }