In the case of incoming calls from a vendor via IP, there is one further issue: since the call reaches your network via the Internet, potentially anyone could be attempting to send you a call in such a fashion. PortaSwitch must be able to correctly authorize calls coming from your vendors (otherwise these calls will be dropped); yet only calls from a "real" vendor should go through.


  1. Someone dials a phone number assigned to your customer.
  2. The vendor receives this call from the CSP network and sends the call to PortaSIP.
  3. PortaSIP sends an authorization request to PortaBilling, using either a remote IP address or a SIP username as the verification parameter (for more details about these two methods of authentication, see the Call authorization rules chapter).
  4. PortaBilling will check whether this authorization request is related to a "Calls from Vendor via SIP" connection.
    • If there is no match, it assumed to be a normal call from one of your customers, and the call will then proceed according to the standard algorithm.
    • If this call is indeed coming via a "Calls from Vendor via SIP" connection, PortaBilling will compare the username and password supplied in the authorization request with those defined in the vendor account associated with this connection.
  5. PortaBilling applies the connection’s translation rules and checks whether the dialed number belongs to one of your accounts (1234). If it does not, the call will be refused (since there has probably been a configuration error so that the vendor is routing international traffic to your network).
  6. PortaBilling sends the routing information for the call to PortaSIP.
  7. PortaSIP receives and recognizes that the call should be sent to one of your SIP phones. Follow-me, UM parameters, and other related information are provided as well. One very important point is that this call will be charged to the account which receives the call.
  8. After the call is disconnected, the called account is charged for the call, and the costs of the call are calculated for the vendor.

On this page

What's new
Admin manuals
UI help
Back to main menu