Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
I suppose you could consider this an optional step if you don't mind SIP endpoints just
registering to your CUCM cluster without a password. I don't, so we are going to create a SIP
security profile that forces the use of Digest Authentication. If you go with the standard SIP
security profile, digest authentication is not used. This means that a client can connect by simply
providing the extension number and a user ID.
Go to User Management->End User. You can add a new user or use an existing user. You can
also use a user that was replicated from LDAP using the DirSync service. The information you
need to configure (values shown are used in our example):
Other phone parameters can use the default settings. I didn't test Device Mobility yet. I played
with Presence subscriptions with marginal success (later blog maybe). I also tested Trusted
Relay Point (TRP) and it worked as it should (TRP will be a topic in a later blog).
Click on Save. After saving the phone, you can add an extension. Add the extension as you
normally would. The bare minimum settings I used for testing:
Click on Save.
Now go back to the user you are assigning this soft phone to (e.g. bbellsip). Edit the user object.
Go to Device Associations and associate the device you just created.
Click on Save.
Configure X-Lite
Launch the X-Lite application. You may get prompted for software updates, etc. After the
application loads, you will have a screen similar to the following:
Right click on the "LCD Screen" and choose Account Settings. Click on Add to create a new
SIP account. Go to the "Account" tab and configure as follows:
The figure above gives you some guidance on what should be configured in each field and what
needs to match CUCM configuration fields. It should be noted that you can use DNS names in
the Domain field. I did some testing with SRV records. I found that if you have an SRV record
for SIP (e.g. _sip._udp.netcraftsmen.net) that is configured with the correct UDP port (5060), the
X-Lite client will query your DNS domain for the SRV record and register.
Click on OK. If you setup everything correctly, you should see a screen similar to the following:
Dial Plan
You'll notice in the Account settings screen that there was a dial plan field. If you want the user
experience on the X-Lite phone to mimic what your CUCM dial plan does for standard SCCP
phones, then you will need to configure the dial plan on the X-Lite client. Otherwise, your users
will need to dial the phone number they wish to reach and click on the dial button (green phone
going offhook) a second time to place the call. This is because the X-Lite phone doesn't support
the Key Press Markup Language (KPML). Also, SIP Dial Rules in CUCM don't apply to third-
party SIP devices, so you are left with little option.
The X-Lite dial plan syntax is provided in Appendix-B of the X-Lite User guide. It would take
some typing to cover all of the details. But we'll give one example:
0|911|9911|[2-8]xxxx|9xxxxxxxxxx;match=1;replace=50207;match=2;pre=9
The above string will translate "0" to "50207" and immediately route the number. The 911 and
9911 are also immediately routed, with the 911 (match=2) having a 9 prefixed. There is also a 5-
digit pattern for abbreviated extension dialing and an offnet pattern example. There are lots of
variations and definitely a few things missing form the above string to match all dial plan
behaviors. The goal is to mimic the digit patterns and lengths that your users are used to dialing.
Have fun!
Voice Mail
I tested the X-Lite application with voicemail (Cisco Unity Connection). This was relatively
straight forward. You configure the Unity Connection mailbox as you normally would and you
configure the line forwarding settings in CUCM to redirect callers to voicemail during busy and
no-answer events. In X-Lite, you configure the SIP account Voicemail tab and enter the
voicemail pilot number. Use the pilot number you assigned to the voicemail profile in CUCM.
The MWI notification functions as shown in the following figure.