Introduction
MyPBX series are fully compatible with all models of SmartNode, the VoIP gateways that integrate IP and TDM communications for enterprise and carrier access network.
In this guide we will show you how to connect MyPBX and the Patton SmartNode SN4114/JO/EUI. The same configurations will apply to other SmartNode products.
Target:
1. Make outbound calls from MyPBX via the PSTN trunks of Patton directly.
2. Receive calls from PSTN trunks of Patton at MyPBX.
Description:
IP address of MyPBX: 192.168.5.151
IP address of Patton: 192.168.5.150
Figure 1
1. MyPBX Configuration
Step 1. Create a Service Provider SIP trunk on MyPBX
Path: PBX--Trunks--VoIP Trunk--Add Service Provider
Fill in the IP of Patton in the “Hostname/IP” field.
Figure 2
After saving and applying the changes, you will see the trunk is “Registered” in "Line Status”.
Path: Status---Trunk Status
Figure 3
Step 2. Create an outbound route on MyPBX.
Path: PBX---Outbound Call Control--Outbound Routes
Choose the SIP trunk "Patton" and set the rule for the outbound as the picture shows, which allows users to dial any number.
Figure 4
Step 3. Create an inbound route on MyPBX
Path: PBX--Inbound Call Control--Inbound Routes
Choose the SIP trunk "Patton" on the inbound route and set the inbound route destination. In this guide, we choose IVR as the destination, which is the general setting.
Figure 5
2. Patton Configuration
Configuration on Patton SN is quite simple. Users should import the enclosed configuration for the Patton gateway based on the SIP trunk information (between SN and MyPBX).
Step 1. Edit the Configuration according to the network diagram of the deployment between SN and MyPBX.
In this guide, the configuration file should be changed as follows. If you don't know how to make the configuration file, please contact the Patton support or the reseller.
1) Edit the IP Address of the SmartNode unit:
context ip router
interface eth0
ipaddress 192.168.5.150 255.255.255.0
tcp adjust-mss rx mtu
tcp adjust-mss tx mtu
…
2) Edit the SIP trunk information – the IP Address of the IP PBX:
context cs switch
…
interface sip IF-SIP
bind context sip-gateway GW-SIP
route call dest-service TO_FXO
remote 192.168.5.151 5060
early-disconnect
…
Step 2. Upgrade Configuration for SmartNode from WEB GUI:
1) Access SmartNode through WEB GUI. Click on the "Import/Export" menu on the left, and click on the "Import Configuration" tab.
Figure 6
2) Click on the "Browse…" button to point to the configuration stored location (path file), then "Import".
Figure 7
Figure 8
3) Once the upgrading process is complete, click on the "Reload" button to reboot the SmartNode to effect.
Figure 9
4) Confirm the rebooting.
Figure 10
3. Make Calls
1) Make outbound calls from MyPBX via the PSTN trunks of Patton directly.
Users can dial the external number directly from MyPBX extension to call someone.
Figure 11
2) Receive calls from PSTN trunks of Patton at MyPBX.
Figure 12
Users who want to call MyPBX extension through the Patton gateway should dial the Patton PSTN line number first. After the call goes to MyPBX IVR, users can dial any extension number.
APPENDIX Patton Configuration file
NOTE: The configuration file is in TXT format.
cli version 3.20
clock local default-offset +00:00
dns-client server 192.168.5.1
webserver port 80 language en
sntp-client
sntp-client server primary 129.132.2.21 port 123 version 4
system
ic voice 0
low-bitrate-codec g729
profile ppp default
profile call-progress-tone defaultDialtone
play 1 1200 350 -16 440 -16
profile call-progress-tone defaultAlertingtone
play 1 1000 440 -22 480 -22
pause 2 2000
profile call-progress-tone defaultBusytone
play 1 500 440 -27 480 -27
pause 2 500
profile call-progress-tone defaultWaitingtone
play 1 250 440 -22 480 -22
pause 2 250
play 3 250 440 -22 480 -22
pause 4 3250
profile tone-set default
profile voip default
codec 1 g711alaw64k rx-length 20 tx-length 20
codec 2 g711ulaw64k rx-length 20 tx-length 20
codec 3 g729 rx-length 20 tx-length 20
codec 4 transparent-clearmode rx-length 20 tx-length 20
fax transmission 1 relay t38-udp
rtp traffic-class local-default
fax redundancy low-speed 2 high-speed 2
fax dejitter-max-delay 400
fax ced-retransmission 3
profile pstn default
profile sip default
no autonomous-transitioning
profile dhcp-server DHCP
network 192.168.10.0 255.255.255.0
include 1 192.168.10.10 192.168.10.99
lease 2 hours
default-router 1 192.168.10.1
domain-name-server 1 192.168.10.1
profile aaa default
method 1 local
method 2 none
context ip router
interface eth0
ipaddress 192.168.5.150 255.255.255.0
tcp adjust-mss rx mtu
tcp adjust-mss tx mtu
interface eth1
ipaddress 192.168.10.1 255.255.255.0
tcp adjust-mss rx mtu
tcp adjust-mss tx mtu
context ip router
dhcp-server use profile DHCP
route 0.0.0.0 0.0.0.0 192.168.5.1 0
context cs switch
routing-table called-e164 FROM_FXO
route default dest-interface IF-SIP
interface sip IF-SIP
bind context sip-gateway GW-SIP
route call dest-service TO_FXO
remote 192.168.5.151 5060
early-disconnect
interface fxo IF-FXO-00
route call dest-table FROM_FXO
disconnect-signal busy-tone
ring-number on-caller-id
dial-after timeout 1
interface fxo IF-FXO-01
route call dest-table FROM_FXO
disconnect-signal busy-tone
ring-number on-caller-id
dial-after timeout 1
interface fxo IF-FXO-02
route call dest-table FROM_FXO
disconnect-signal busy-tone
ring-number on-caller-id
dial-after timeout 1
interface fxo IF-FXO-03
route call dest-table FROM_FXO
disconnect-signal busy-tone
ring-number on-caller-id
dial-after timeout 1
service hunt-group TO_FXO
timeout 3
allows-push-back
drop-cause normal-unspecified
drop-cause no-circuit-channel-available
drop-cause network-out-of-order
drop-cause temporary-failure
drop-cause switching-equipment-congestion
drop-cause access-info-discarded
drop-cause circuit-channel-not-available
drop-cause resources-unavailable
drop-cause user-busy
drop-cause no-user-responding
drop-cause destination-out-of-order
drop-cause incompatible-destination
drop-cause subscriber-absent
unavailable drop user-busy
route call 1 dest-interface IF-FXO-00
route call 2 dest-interface IF-FXO-01
route call 3 dest-interface IF-FXO-02
route call 4 dest-interface IF-FXO-03
context cs switch
no shutdown
context sip-gateway GW-SIP
interface GW-SIP_INF
bind interface eth0 context router port 5060
context sip-gateway GW-SIP
no shutdown
port ethernet 0 0
medium auto
encapsulation ip
bind interface eth0 router
no shutdown
port ethernet 0 1
medium auto
encapsulation ip
bind interface eth1 router
no shutdown
port fxo 0 0
encapsulation cc-fxo
bind interface IF-FXO-00 switch
no shutdown
port fxo 0 1
encapsulation cc-fxo
bind interface IF-FXO-01 switch
no shutdown
port fxo 0 2
encapsulation cc-fxo
bind interface IF-FXO-02 switch
no shutdown
port fxo 0 3
encapsulation cc-fxo
bind interface IF-FXO-03 switch
no shutdown
1 Comments