In the process of working with IP telephony, cloud PBXs and Oki-Toki in particular, you will definitely hear or see something like We see SIP 404 from your side or 100 SIPs come and that's it. No, that's not all, if you're left wondering. What is a SIP Provider is easy and simple to understand by reading our article.
The article applies to products: Cloud Call Center
From kettles to electric kettles
What you see as an error is the last SIP Provider that comes from the provider when the call ends. The call can be conditionally divided into 6 stages:
1. We send the supplier a request to make a call (called an INVITE)
2. We get the first SIP Provider SIP 0 (the patient is alive, the request has reached them)
3. We get SIP 100 (the provider told us that the connection between oki-toki and the provider was successfully completed)
4. And then according to the situation:
- Initially, the provider will try to call the customer. And as soon as it starts, it will send us SIP 100. If it does not get through during the call, then the last SIP Provider will be exactly SIP18X: No answer (SIP 180 or SIP 183).
- Further. sometimes Busy (SIP 486), although in today's world of multi-line communication, this happens less and less.
- Most often, if something is wrong, then some kind of communication error corresponds to this (403, 404, 503, 486, 480, and so on), then it will be the last response. (Note: nothing can be said about the quality of the connection from the SIP Provider.)
- If the client picks up the phone, then his last SIP Provider will be SIP 200.
5. In case of a successful connection (SIP 200), the communication provider informs us that the subscriber has picked up the phone (in sip telephony this is called connect)
6. At the end of the conversation, in the technical log of the call, we can determine the party that ended the call. Termination on the Oki-Toki side is referred to as kill and termination on the supplier or subscriber side is finish.
That's all you need to know to get started.
SIP Providers when calling are not Oki-Toki messages (or errors), but the latest responses from the supplier and only he can accurately name the exact reason for their appearance as a result of the call;
There is a reason why we reject the call with an error – this is SIP9XX – or Direction blocked. An error occurs when the operator makes a call to a number with a prefix that is not registered in the allowed directions of the connected SIP gateway (provider);
SIP Providers report the state of the connection and do not contain information about its quality.
If SIP 180/183 or SIP 200 may not raise additional questions, what do the rest mean? See Part 2.
How to report SIP calls, see here .