How-to: Register SIP phones with your SmartNode by
Marco Liechti
An exciting upgrade has been made to the most recent SmartWare release,
R5.3: Up to three SIP phones can now be registered on every SmartNode,
without the need for an additional license. This paves the way for
everybody to test out the great SIP registrar feature. The feature has
been released previously, but was only functional with the purchase of
an optional software license key. Here are the steps you need to take in
order to register a phone with your SmartNode:
Make sure you have SmartWare release R5.3 on your SmartNode. Get it
free of charge from http://upgrades.patton.com.
Make sure you
have a working SIP gateway configured. If you are not yet familiar with
SmartWare release 5 and above, read the migration notes that point you to
resources to manage the configuration differences, or study the R5.3 Software
Configuration Guide.
For your convenience, we provide you a sample
R5.3 configuration file for SmartNode 4630. It does NOT contain the
registrar configuration: Click here!
To enable any phone to register with the SmartNode without password, create a "location service" and bind it to your existing context sip-gateway. You can copy/paste the below on the CLI of your SmartNode:
The SER_LOCATION is the database where all phones that register will be tracked. The SER_SIP_LOCATION service is the lookup function within context cs that allows routing calls between registered phones/extensions. Those two functions are separated on purpose.
The domain name "smartnode-gw" can be chosen arbitrarily. If your SmartNode has its own DNS name with SIP service record, make sure to use the right domain name. To strictly allow only registrations from a specific domain, remove the "match-any-domain" statement.
Last, to make sure registered extensions can be called both from ISDN and from SIP, you need to adapt call routing as follows. You can copy/paste the below on the CLI of your SmartNode:
context cs
routing-table called-e164 RT_FROM_ISDN
route T dest-service SER_SIP_LOCATION
service hunt-group SV_HUNT_PSTN
drop-cause no-route-to-destination
route call before 1 dest-service SER_SIP_LOCATION
For your convenience, we provide you a sample R5.3 configuration file for SmartNode 4630. It DOES contain the registrar feature as described above: Click here!
CONGRATULATIONS YOURE DONE! Register your SIP phones now.
Enter the SmartNodes IP address or domain name as "registrar" on the phone
Enter the desired extension number as "identity" on the phone, e.g. 501, 502 etc
To see if the registration was successful, type "show location-service SER_LOCATION". This will show you all active locations.
Please note: On some SNOM phones, youll need to check the Identity->SIP option "support broken registrar" option. Were working to correct this:
If you want to limit registrations to specific extension numbers, remove "identity-group default" and add "identity" entries for each allowed extension. The following lines present an alternative configuration of the location service compared to step 4 above. They only allow registration of extension 557:
If you want to add authentication to either the default entity group or a specific entity, add and use an authentication service. The following lines present an alternative configuration of the location service compared to step 4 above. They only allow registration of extension 557, and ask for authentication through password "myPassWord":
The location and authentication services are powerful tools that allow you much more than just registering a SIP phone. Please visit the following sources for more detailed information: