#----------------------------------------------------------------# # Patton SmartNode in combination with Voxbone # # # # This config is used when connecting the SmartNode to # # Voxbone VoIP service to receive incoming calls only. # # # # Author: Danny Staub # # Patton Electronics Co. # # Gaithersburg, MD 20879 # # www.patton.com; support@patton.com # # # # Date: 03/12/2013 # # # #----------------------------------------------------------------# cli version 3.20 dns-client server 8.8.8.8 dns-relay webserver port 80 language en sntp-client sntp-client server primary 129.132.2.21 port 123 version 4 system ic voice 0 system profile acl ACL_IN # Enter the IP address or your local Voxbone server permit 1 ip host xxx.xxx.xxx.xxx any # IP address or range permitted for remote management permit 2 ip any deny 3 ip any any deny 4 icmp any any profile napt NAPT_WAN profile ppp default 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 profile pstn default profile sip default no autonomous-transitioning profile dhcp-server DHCPS_LAN network 192.168.1.0 255.255.255.0 include 1 192.168.1.10 192.168.1.99 lease 2 hours default-router 1 192.168.1.1 domain-name-server 1 192.168.1.1 profile aaa default method 1 local method 2 none context ip router interface WAN ipaddress dhcp use profile acl ACL_IN in tcp adjust-mss rx mtu tcp adjust-mss tx mtu interface LAN ipaddress 192.168.1.1 255.255.255.0 tcp adjust-mss rx mtu tcp adjust-mss tx mtu context ip router dhcp-server use profile DHCPS_LAN context cs switch interface sip IF_SIP_VOXBONE bind context sip-gateway GW_SIP_VOXBONE_VOXBONE route call dest-interface IF_ISDN_00 # Enter the IP address or your local Voxbone server remote xxx.xxx.xxx.xxx trust remote interface isdn IF_ISDN_00 context cs switch no shutdown context sip-gateway GW_SIP_VOXBONE interface IF_GW_SIP_VOXBONE bind interface WAN context router port 5060 context sip-gateway GW_SIP_VOXBONE no shutdown port ethernet 0 0 medium auto encapsulation ip bind interface WAN router no shutdown port ethernet 0 1 medium auto encapsulation ip bind interface LAN router no shutdown port e1t1 0 0 port-type clock auto framing encapsulation q921 q921 uni-side auto encapsulation q931 q931 protocol uni-side bchan-number-order ascending encapsulation cc-isdn bind interface IF_ISDN_00 switch port e1t1 0 0 no shutdown