You can configure PPP VoIP on the Branch Gateway at Site B.
Loopback and PMI interfaces configuration:
Gxxx-001# interface loopback 1
Gxxx-001(if:Loopback1)# ip address 4.4.4.11 32
Done!
Gxxx-001(if:Loopback 1)# pmi
The Primary management interface has changed. Please copy the running configuration to the start-up configuration file, and reset the device.
Gxxx-001(if:Loopback1)# exit
Gxxx-001# copy running-config startup-config
Gxxx-001# reset
VLAN interface configuration:
Gxxx-001# interface Vlan 1
Gxxx-001(if:Vlan 1)# ip address 3.3.3.1 24
Gxxx-001(if:Vlan 1)# exit
Gxxx-001# interface Vlan 2
Gxxx-001(if:Vlan 1:2)# ip address 33.33.33.1 24
Gxxx-001(if:Vlan 1:2)# exit
Serial interface configuration:
Gxxx-001# controller t1 4/1
Gxxx-001(controller:4/1)# channel-group 1 timeslots 1-2 speed 64
Gxxx-001(controller:4/1)# exit
Gxxx-001# interface serial 4/1:1
Gxxx-001(if:Serial 4/1:1)# ip address 2.2.2.2 24
Gxxx-001(if:Serial 4/1:1)# mtu 300
Note:
Some LAN data applications do not support fragmented packets. In this case, do not change the MTU from its default of 1500.
VoIP configuration:
Gxxx-001(if:Serial 4/1:1)# ip rtp header-compression
Gxxx-001(if:Serial 4/1:1)# ip rtp compression-connections 20
Gxxx-001(if:Serial 4/1:1)# ip rtp port-range 2048 3028
Gxxx-001(if:Serial 4/1:1)# exit
Static routes configuration:
Gxxx-001# ip route 1.1.1.0 24 serial 4/1:1
Gxxx-001# ip route 11.11.11.0 24 serial 4/1:1