This article shares how to capture call event by postman software for Yeastar P-Series PBX.
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.
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.
Subscribe to the events of Call Status Changed and New CDR.
4, Start to make any call and collect pop-up messages in postman.