SmartWare Configuration Library
Patton provides this SmartWare Configuration Library as a free service to SmartNode administrators. The library contains example command sets for configuring and activating such SmartWare services as DHCP, QoS, VPNs, Frame-Relay, and many others. Patton offers these examples to help you implement selected features and functions from within SmartWare's rich set of software services.
The SmartWare commands displayed here are valid and applicable with all models in Patton's SmartNode family of VoIP solutions. SmartNode administrators may freely copy and paste these examples into your own SmartWare configuration files. While some examples can be applied to your SmartNode exactly as shown (Tone Sets, SNTP, etc.), others are templates that require you to modify certain details to reflect your specific network environment (SIP, DHCP, DynDNS, etc).
NOTE: For some of these configuration templates to work with your SmartNode, you must make site-specific modifications that reflect the unique requirements of your application environment.
SmartWare™ CLI Style Guide Patton has published a concise style guide in PDF format for the SmartWare Command Line Interface (CLI). The brief guide offers Patton's recommended naming conventions and style guidelines for creating configuration elements such as profiles, interfaces, gateways, etc. using SmartWare's CLI. Adhering to these recommendations will make your SmartWare configuration files easier to read and re-use, further enhancing the usefulness of the configuration examples below.
[Expand All] [Collapse All]
| SmartWare Configuration Examples |
Call Services |
|
8 Phone Distibution configuration ( Link to this Config ) |
|
| Configuration Description | | Allows you to pick up Phone 0 and ring all other 7 ohones at the same time. Then once one of the other 7 phones is answered the call is connected and the other phones cease ringing. | | Command Sequence to Copy, Edit, and Paste | |
|
|
CDR over Radius ( Link to this Config ) |
|
| Configuration Description | The SmartNode sends a CDR message if a incoming or outgoing Call-Setup passes the SIP-Interface.
You may define and configure a independent CDR-services-element for each call-routing-leg.
| | Command Sequence to Copy, Edit, and Paste | |
|
|
Distribution Group ( Link to this Config ) |
|
| Configuration Description | | Incoming SIP call rings four phones simultaneously. | | Command Sequence to Copy, Edit, and Paste | |
|
|
Hunt Group ( Link to this Config ) |
|
| Configuration Description | | Inbound SIP call hunting across 4 FXS interfaces | | Command Sequence to Copy, Edit, and Paste | |
|
|
Second Dialtone Service ( Link to this Config ) |
|
| Configuration Description | | The command sequence below enables SmartNode to provide second-dial-tone service. Once a user connects to a SmartNode FXO port, SmartNode will generate and deliver a second dialtone to the user. The routing-table RT_CDPN decides where to deliver the call. | | Command Sequence to Copy, Edit, and Paste | |
|
|
|
Context CS |
|
ISDN UD-64 Data connection over VOIP ( Link to this Config ) |
|
| Configuration Description | ENFORCE THE TRANSPARENT CODEC FOR ISDN UD-64 CALLS:
Incoming ISDN calls will be split into two call-router paths to enforce transparent codec for ISDN unrestricted digital calls.
Note that the VOIP-DATA interface has no route into the call-router, it operates as a one-way interface. However it has a special Voip-Profile linked, which only contains the transparent codec.
The VOIP-DEFAULT interface will be used for incoming voip calls. It uses the default voip profile, which is linked in the voip gateway.
The default profile contains the transparent codec with the lowest priority to ensure that voice calls never uses the transparent codec.
| | Command Sequence to Copy, Edit, and Paste | |
|
|
SN2X00 / 2*IC-E1Voip Gateway PBX to SIP with PSTN Fallback ( Link to this Config ) |
|
| Configuration Description | | SmartNode 2X00 used as an ISDN E1 gateway between a PBX and a SIP Network. The second E1 port may be used for Fallback to the PSTN.
Please read the comment before using the configuration. | | Command Sequence to Copy, Edit, and Paste | |
|
|
SN1X00 / SN4552 / SN46XX; Phone Gateway to a SIP network with PSTN Fallback ( Link to this Config ) |
|
| Configuration Description | | SmartNode used as gateway between a SIP network
and a phone, connected to port 0/1. The Port 0/0 is configured
as user and can be used as fallback to a PSTN.
| | Command Sequence to Copy, Edit, and Paste | |
|
|
SN1X00 / SN4552 / SN46XX; Phone Gateway to a SIP network with PSTN Fallback and Emercency call routing ( Link to this Config ) |
|
| Configuration Description | | SmartNode used as gateway between a SIP network and a phone, connected to port 0/1. The Port 0/0 is configured as user and can be used as fallback to a PSTN. Emercency calls will be routed to PSTN instead of VOIP. | | Command Sequence to Copy, Edit, and Paste | |
|
|
SN46x8 as Trunk Gateway SIP to PBX with Fallback ( Link to this Config ) |
|
| Configuration Description | | SN46X8
R3.20 SIP
Sample configuration
SmartNode connected as trunk gateway between a SIP network
and PBX with 4 S0 port. The Port S0 slot 0 port 0 is configured
as fallback and sync-port. It is configured in the user mode
and should be connected to a PSTN.
The ports slot 0 port 1 to 4 are configured as net and should
be connected to a PBX. Not all the ports have to be connected
| | Command Sequence to Copy, Edit, and Paste | |
|
|
|
Context IP |
|
Multilink PPP, MLPPP, over one subscriber ( Link to this Config ) |
|
| Configuration Description | | The example shows you, how to bundle multiple PPP lines into one, using one subscriber. You may add additional lines in the same way.
| | Command Sequence to Copy, Edit, and Paste | |
|
|
Multilink PPP, MLPPP, over 2 subscribers ( Link to this Config ) |
|
| Configuration Description | The example shows you how to bundle multiple PPP lines into one, using two subscribers.
You may add additional lines and subscribers in the same way.
IMPORTANT: Both subscribers needs the same mulitlink settings
| | Command Sequence to Copy, Edit, and Paste | |
|
|
Connect SmartNode to the LAN as a DHCP Client ( Link to this Config ) |
|
| Configuration Description | The command sequence below enables SmartNode to operate as a DHCP client by pointing a SmartNode IP-interface to a DHCP server on the directly connected LAN. As a DHCP client, upon power-up the SmartNode can automatically retreive an IP address, default gateway address, and DNS server address from the specified DHCP server.
NOTE: Before you point a SmartNode IP-Interface [IF-NAME] to a DHCP server, you must ensure the interface is bound to an Ethernet port.
| | Command Sequence to Copy, Edit, and Paste | |
|
|
Connect SmartNode to the LAN via static IP addressing with a default gateway address ( Link to this Config ) |
|
| Configuration Description | The command sequence below enables static-IP-addressing by assigning a fixed IP address, netmask, and default gateway address to a SmartNode IP interface.
To complete this configuration you will need the following information:
The IP-Address and network mask for the SmartNode: [IF-IP], [IF-MASK]
The Gateway address of the default gateway:[GW-IP]
Use the command "show ip route" to display the routing table.
10.10.22.53(ctx-ip)[router]#show ip route
Route Table of IP context 'router':
Validity state (V): * valid, (*) duplicate
Flags: U up, H host, G Gateway, L local, D default
--------------------------------------------------------------
V Destination Nexthop Protocol Metric Flags
--------------------------------------------------------------
* 10.10.22.53/32 loopback local 0 ULH
* 192.168.2.1/32 loopback local 0 ULH
* 127.0.0.1/32 loopback local 0 ULH
* 192.168.2.0/24 eth1 local 1 UL
* 10.10.0.0/16 eth0 local 1 UL
* 127.0.0.0/8 loopback local 1 UL
* 0.0.0.0/0 10.10.1.10 static 0 UDG
(*) 0.0.0.0/0 10.10.1.1 dhcp 12 DG
--------------------------------------------------------------
| | Command Sequence to Copy, Edit, and Paste | |
|
|
|
DHCP |
|
Enable SmartNode as a DHCP Server ( Link to this Config ) |
|
| Configuration Description | The command sequence below enables SmartNode to operate as a DHCP server. In networks where the SmartNode is the Internet Gateway Router, this configuration is the best way to provide user devices with Internet access. Once enabled as a DHCP server, The SmartNode can provide a dynamically assigned IP address, DNS Server address, and Default Gateway address to users that are configured as DHCP clients (e.g. PCs, Laptops).
NOTE: You must ensure the network address and the IP addresses in the DHCP server profile match one of the IP interfaces defined in the IP Context.
When you start a DHCP server for the first time you will see the following warning:
2004-12-02T15:56:17 : LOGERROR : Error while loading lease database
This is only a warning does not indicate a problem.
| | Command Sequence to Copy, Edit, and Paste | |
|
|
|
DynDNS |
|
Dynamic Service ( Link to this Config ) |
|
| Configuration Description | The command sequence below enables SmartNode to support dynamic service via DynDNS (i.e. http://www.dyndns.org). If your IP address changes more often than once every 28 days you should use this Service Dynamic configuration. If your IP address changes less often you should use the Service-Static configuration (shown below on this web page). When in doubt, use static configuration.
NOTE: You must replace the following variables with your site-specific values:
MyAccount.dyndns.org
MyAccount
MyPassword
| | Command Sequence to Copy, Edit, and Paste | |
|
|
Static Service ( Link to this Config ) |
|
| Configuration Description | The command sequence below enables SmartNode to support static service via DynDNS (i.e. http://www.dyndns.org). If your IP address changes less often than every 28 days, you should use this Service-Static configuration. If your IP address changes more often, you should use ths Service Dynamic configuration. (shown above, on this web page). When in doubt, use static configuration.
NOTE: You must replace the following variables with your site-specific values:
MyAccount.dyndns.org
MyAccount
MyPassword
| | Command Sequence to Copy, Edit, and Paste | |
|
|
|
Full configurations |
|
FXO To SIP TRUNK (with HUNT) ( Link to this Config ) |
|
| Configuration Description | | The following will take calls in the FXO port, and send it out sip.
It will also take calls in SIP and then hunt across all the FXO ports to find a open port
This config also contains the USA tonesets, you can change that as needed for local tones.
Finally, if you choose to use DNS names in the SIP interfaces or in the SIP gateway, you will need to specify a DNS server for any config to work. | | Command Sequence to Copy, Edit, and Paste | |
|
|
SmartNode 4552 with SIP-Proxy Sipgate.de and fallback to PSTN ( Link to this Config ) |
|
| Configuration Description | | Configuration for SN4552 with registration to www.sipgate.de
Every national and international long distance call goes to www.sipgate.de.
Every local call goes out to www.sipgate.de.
All emergency calls and special Service Numbers like 110 = police germany, 112 = firebrigade, Health Car germany, 18XX = costable Service numbers are going out directly to local PSTN ISDN interface.
In case of sipgate failure, all sipgate numbers goes as fallback to the local PSTN ISDN Interface. | | Command Sequence to Copy, Edit, and Paste | |
|
|
Altigen H.323 SOHO Router ( Link to this Config ) |
|
| Configuration Description | Generic Altigen H.323 SOHO Router Config
# Replace ‹Altigen IP›
| | Command Sequence to Copy, Edit, and Paste | |
|
|
BroadVoice Long Distance FXS or FXO to PBX ( Link to this Config ) |
|
| Configuration Description | Replace ‹3015551212› with telephone number
Replace ‹PASSWORD› with Password
Replace ‹SMARTNODE IP = x.x.x.x› with SmartNode IP
Replace ‹GATEWAY IP = x.x.x.x› with Gatway IP
Replace ‹DNS IP = x.x.x.x› with DNS IP
Uncommment lines in SVC-DG-BROADVOICE for ports used
| | Command Sequence to Copy, Edit, and Paste | |
|
|
Patton Avalanche (H.323 Gatekeeper) ( Link to this Config ) |
|
| Configuration Description | | Patton Avalanche Test Config | | Command Sequence to Copy, Edit, and Paste | |
|
|
PSTN and Terminal Gateway for e-Phone applications ( Link to this Config ) |
|
| Configuration Description | | SmartNode used as a PSTN/ISDN and terminal gateway in a Media-Streams e-Phone enviroment. | | Command Sequence to Copy, Edit, and Paste | |
|
|
|
H.323 Gateways |
|
Enable SmartNode as H.323 Gateway with GateKeeper ( Link to this Config ) |
|
| Configuration Description | The command sequence below enables SmartNode to operate as an H.323 gateway for registration with a GateKeeper.
NOTE: You must replace. . . xxx.xxx.xxx.xxx . . .  
with your GateKeeper's IP address. You must also replace. . .  PattonAvalanche123 . . .   with the H.323 alias for your SmartNode
| | Command Sequence to Copy, Edit, and Paste | |
|
|
|
Network Address Port Translation & Port Forwarding |
|
Dynamic NAPT ( Link to this Config ) |
|
| Configuration Description | The command sequence below will create a NAPT profile and apply it to the SmartNode's global IP Interface. A home office with the following characteristics will typically use Dynamic NAPT configuration:
- a single global IP address (whether static or dynamic)
- multiple host workstations (PCs, laptops) connected to the home LAN
| | Command Sequence to Copy, Edit, and Paste | |
|
|
Dynamic NAPT with static Port Mappings ( Link to this Config ) |
|
| Configuration Description | The command sequence below will create a NAPT profile with port mappings and apply it to the SmartNode's global IP Interface. This configuration allows SmartNode to forward incoming IP connections on specified ports of the global IP Interface to a private host behind NAPT.
NOTE: To determine which ports need to be mapped, please refer to the documentation for the applications you are running behind NAPT.
| | Command Sequence to Copy, Edit, and Paste | |
|
|
Static NAT Address Mapping ( Link to this Config ) |
|
| Configuration Description | The command sequence below will create a NAT profile with static address mappings and apply it to an IP interface on the SmartNode. This configuration allows SmartNode to translate IP adresses one-to-one for incoming and outgoing packets. When SmartNode is configured for NAT, the defined port numbers remain unchanged.
Note that he mapped IP addresses must be reachable on their respective interfaces.
| | Command Sequence to Copy, Edit, and Paste | |
|
|
|
PBX |
|
Altigen PBX IP-Extension ( Link to this Config ) |
|
| Configuration Description | | Remote should be changed to the IP Address of your Alitgen PBX.
Once you log in with your extension # and password...press 4 for personal options and 8 to enable/disable IP extension. | | Command Sequence to Copy, Edit, and Paste | |
|
|
|
Port Configurations |
|
SN465X G.SHDSL connection with PPPoE ( Link to this Config ) |
|
| Configuration Description | Port and context ip configuration for a PPPoE connection over the SmartNodes G.SHDSL.
| | Command Sequence to Copy, Edit, and Paste | |
|
|
SN ADSL Port configuration ( Link to this Config ) |
|
| Configuration Description | | Port and context ip configuration for a ADSL link over a SmartNode VoIP-Gateway. | | Command Sequence to Copy, Edit, and Paste | |
|
|
FXS ( Link to this Config ) |
|
| Configuration Description | | 4528 FXS | | Command Sequence to Copy, Edit, and Paste | |
|
|
FXO ( Link to this Config ) |
|
| Configuration Description | | 4524 FXO | | Command Sequence to Copy, Edit, and Paste | |
|
|
E1 Configuration ( Link to this Config ) |
|
| Configuration Description | | 2300/2400 E1 Configuration
DD | | Command Sequence to Copy, Edit, and Paste | |
|
|
Frame-Relay over Serial X.21/V.35 ( Link to this Config ) |
|
| Configuration Description | | Port and context ip configuration for a Frame-Relay connection over a V.35 or X21 serial link.
The transmit-data-on-edge setting depends on the remote modem device | | Command Sequence to Copy, Edit, and Paste | |
|
|
T1 Configuration NETWORK ( Link to this Config ) |
|
| Configuration Description | | 2300/2400 T1 Slot 3 0 Network-Side | | Command Sequence to Copy, Edit, and Paste | |
|
|
T1 Configuration USER ( Link to this Config ) |
|
| Configuration Description | | 2300/2400 T1 Card in Slot 3 0 User-Side
DD | | Command Sequence to Copy, Edit, and Paste | |
|
|
PPP over Serial X.21/ V.35 ( Link to this Config ) |
|
| Configuration Description | | Port and context ip configuration for a PPP connection over a V.35 or X21 serial link.
The transmit-data-on-edge setting depends on the remote modem device. | | Command Sequence to Copy, Edit, and Paste | |
|
|
PPPoE ( Link to this Config ) |
|
| Configuration Description | A standard PPPoE configuration including authentication.
# Replace ‹account› and ‹password› | | Command Sequence to Copy, Edit, and Paste | |
|
|
|
Provisioning |
|
Auto Provisioning with Timers and System MAC ( Link to this Config ) |
|
| Configuration Description | # Set 192.168.0.200 to correct DNS or IP address
# USE WITH CAUTION!!! POWERFUL AND DANGEROUS AT THE SAME TIME
DD | | Command Sequence to Copy, Edit, and Paste | |
|
|
|
Service-Policy |
|
Voice Priority ( Link to this Config ) |
|
| Configuration Description | Quality-of-Service needs to be configured carefully. Especially the rate-limit values needs to be exact as this is the base for prioritizing the data/voice traffic.
All the values in brackets <> needs to be replaced. Please have a look in the user-guide in order to see what exactly is possible to be configured in this profile...
Note: The voice-margin MUST NOT be configured in the outgoing profile
| | Command Sequence to Copy, Edit, and Paste | |
|
|
|
SIP Services and Providers |
|
Example configuration for OUTBOUND registrations and authentication for a SIP trunk firmware 5.X ( Link to this Config ) |
|
| Configuration Description |
This configuration examples may be used in applications, where the gateway has to use the SIP-Username, e.g. root calling number, for registration and outbound authentication but the content of the SIP-From-Header may change;
e.g. root calling number together with the extension.
| | Command Sequence to Copy, Edit, and Paste | |
|
|
Example configuration for INBOUND registrations in firmware 5.X ( Link to this Config ) |
|
| Configuration Description | The firmware 5.X supports the registrar function what allows SmartNode to accept registration from any kind of SIP-clients (telephones, soft-clients).
The example configuration shows how such an so called identity needs to be configured. Please refer to the configuration guide for a complete overview of what is possible. The example below does only show how to configure the SmartNode in order to accept inbound-registrations and how to route a call to such a registered client.
Note: The configuration option is only available with the SIP-registrar license installed. To get such a license please contact our sales-departement. | | Command Sequence to Copy, Edit, and Paste | |
|
|
Example configuration for OUTBOUND registrations in firmware 5.X ( Link to this Config ) |
|
| Configuration Description |
This configuration shows an example for how to route calls beetwen an ISDN and SIP network including registration on a SIP server using the new SIP gateway configuration architecture within the SWR5.T software version.
| | Command Sequence to Copy, Edit, and Paste | |
| | | |