Voice Servers, vumFS6 & vumFS7 for example, will receive call traffic from 3 different sources.
The distrubtion of calls to the servers in controls in CarrierProxy OpenSips mySql tables
. opensips.vumber_host_routing - routing of all calls
. opensips.vumber_uri_routing - routing of calls based on dialed number
Each server will call the stored procedure ppn_CallBack_GetRequest2 on ppnSyetem_Main
The SP will pass back a number for the voice server to call.
Each server will continuously call ppn_CallBack_GetRequest2, but the SP can ignore calls from servers as follows:
IF @serverid = 'VumFS7'
BEGIN
UPDATE top (@Qty) [ppn_CallBack]
SET statuscode = 1, treatmentcode = 1, completetime = dbo.getestdate(), serverid = @serverid
OUTPUT DELETED.ID, DELETED.CallBackNumber, DELETED.OutgoingCallerID, DELETED.NumberToDial, DELETED.PublicNumber, DELETED.AccountNo
where completetime is null and statuscode = 0
--and AccountNo != 100605
END
In the example above, callback calls will only be processed on VumFS7
Calls from and to the Web Phone be processed through the Voice servers. Inbound call from the carrier will be processed as carrier calls (see 1 above). Calls from the Web Phone (outbound calls) will be processed based on the ppnsystem.prodswitchips key on Web.config in vetw.vumber.com. Example:
<add key="ppnsystem.prodswitchips" value="104.209.47.167|104.209.47.167|104.209.47.167" />