This section provides a general overview of the call processing mechanism. Thus, when a user dials a phone number, the following is what occurs:
- The call arrives at PortaSIP and is authenticated according to the call handling rules. These rules define how to identify the calling party, e.g., by their calling number, the number called or the SIP device’s IP address.
- Next, the call is authorized in PortaBilling. PortaBilling verifies that the calling party is one of its accounts and that this account is allowed to make a call to this destination and has sufficient funds for it. PortaBilling also searches which routes, and in what order to use for delivering a call, and then returns the authorization results (max call duration and the routing list).
- Finally, PortaSIP routes the call to the destination (the phone number dialed) according to a list of received routes. When the call ends (the account owner hangs up), PortaSIP sends the accounting information to PortaBilling to charge the account for this call.
- Incoming calls processing is similar to that of outgoing calls processing except that first, the vendor sending the call to PortaSIP is authorized, and then – the account that receives the call is also authorized.
The chapters within this section provide detailed information about these call processing stages.
Was this article helpful?