A client can initiate the incoming call event by incoming SIP call. In this case, /OnCallEvent REST method is called. This method contains incoming call information.
The diagram shows that /OnCallEvent query goes to web server, then client handles this event on step 4 after web server response.
Example:
2 | 3 | ||
---|---|---|---|
|
|
If web server returns error then SESSION_STATUS.WARN goes to client and error status returns to caller (SIP side in this case)
Example:
2 | 3 | ||
---|---|---|---|
|
|