Description
This article shares how to capture call event by postman software for Yeastar P-Series PBX.
Preconditions
1, API is enabled in Yeastar P-Series PBX.
2, Extension or Trunk status monitor is enabled if necessary in API - Advanced Settings.
3, Postman software has been installed.
Steps
1, Get token, refer to this article to get it.
2, Start a WebSocket connection in Postman - New - WebSocket.
3, Subscribe to desired events, check requested event in this link.
Example
Subscribe to the events of Call Status Changed and New CDR.
4, Start to make any call and collect pop-up messages in postman.
0 Comments