Chapter 6 Setting up the private VoIP network 75SRG200/400 Release 1.5 Configuration GuideTypically, the Absorbed Length is All for UDP and 0 for CDP.f In the Second Route field, enter 999 (the PSTN route).g In the adjacent Absorbed Length field, select the number of digits to be absorbed.Depending on the dialing plan, the destination code is integrated with the DN or is dialed as aprefix to the DN. When a user calls the main office, the SRG examines the destination code todetermine the routing. If the First Route, the VoIP trunks, is unavailable, the call is routed to theSecond Route, the PSTN, and the External Number is called. Because Overflow was selected, ifboth the First Route and the Second Route are unavailable, the call is routed using the NormalRoute specified in the Normal Route column of the Destination Codes table. Because Auto wasselected, the routing occurs without manual intervention.Call routing: providing access to the SRG PSTNAccess to the SRG PSTN is required for:• calls to the SRG PSTN from SRG telephones or redirected SRG IP telephones in local mode• calls from the SRG PSTN to redirected SRG IP telephones in normal mode• calls from main office telephones to the SRG PSTN, using the VoIP trunksTo achieve this access, a remote access package for the VoIP trunks and a destination code for thePSTN must be configured.Remote Access Package for VoIP trunksThe SRG views all calls coming in over the VoIP trunks as remote access calls, even though theVoIP pathway is a dedicated trunk to another closed system.To allow tandem dialing from the main office through the SRG PSTN, or to redirect SRG IPtelephones to use the SRG local PSTN, you must specify a remote package that provides access tothe PSTN line pool. This remote package is then assigned to each VoIP trunk.To configure remote access packages1 Set up a remote access package for the PSTN line pool (Configuration > Telephony > CallSecurity > Remote Access Packages).2 Assign the package to each VoIP trunk (Configuration > Telephony > Lines > Active VoIPLines > All Lines panel > Trunk Type column > select the desired trunk from the table >Details for Line details panel > Restrictions tab > Use remote package field).Configuring PSTN destination codesTo allow SRG telephones to dial out over the PSTN and to allow main office telephones to tandemout through the local SRG PSTN, you need to define a destination code that accesses the PSTNline pool without an External Number. Frequently, this code is 9, but it does not have to be.