
Porta SIP
System Concepts
• C wishes to call A. So he dials A’s phone number (since C is in the
US, he dials it using the North American format, 2027810003).
• The call is routed through the telecom network to gateway GW-
NY-01. When the incoming call arrives at the gateway (1), it is
processed there in exactly the same way as a normal PSTN->SIP
call: the number is transformed, the call is authorized in the billing
(2), and the timer starts to measure the maximum call time
allowed, based on A’s current balance (3).
• The call is sent to PortaSIP (4).
• PortaSIP receives the INVITE, but without authorization
information. So the PortaSIP server performs authorization in the
billing based on the IP address, and also requests billing-assisted
routing (5).
• PortaBilling recognizes that the destination is an account with
follow-me services enabled, and produces a special list of routes:
o If the follow-me mode chosen is “When unavailable”, then a
direct route to the account’s SIP UA is included as the first
route in the list, with a default timeout.
o A list of follow-me numbers is produced. If the current time
falls outside the specified period for a certain number, it is
removed from the list.
o If the follow-me order is “Random”, then the list of phone
numbers is shuffled.
o The maximum call duration is calculated for each follow-me
number, based on the balance and rates for the called account
(A).
o The resulting list of routes is produced and sent back to
PortaSIP (6).
• PortaSIP tries the first route (7); if the call is not connected within
the timeout interval, it moves to the next route (8), then to the
next one (9), until either the call is put through or no more routes
are left.
• If such a call was completed to follow-me number R, two CDRs
will appear i90
• n the system: one for the call C->A (charged per the incoming
rates for A) and the other for C->R (charged per the outgoing
rates for A).
• If the call did not originate in the PSTN network, but rather from
user B’s SIP UA, two CDRs will likewise be generated. B will be
charged for call B->A, while A will be charged for call B->R.
Note that the follow-me service is not recursive. Thus A can forward calls
from his SIP phone to B's SIP phone, but the call will only go directly to
B's SIP phone. If B has set up forwarding to his mobile phone, this
forwarding will not be used, in order to prevent excessive routing and
routing loops.
(c) 2000-2006 PortaOne, Inc. All rights reserved. www.portaone.com
14
Comentarios a estos manuales