Phone Proxy is a superset of TLS proxy where not only signaling but also media is secured for communication.It supports a Cisco UCM cluster in mixed mode or nonsecure mode.Configuration that i will show here will have UCM cluster in non-secure mode.TLS/SRTP will be terminated on ASA proxy server and TCP/RTP will be communicated between ASA and CUCM.You must have atleast ASA Code 8.0(4) although ASA 8.2 release is recommended as it supports MTA for each interface.Here,i will assume that ASA is already configured with basic inside and outside interfaces.

Cisco Unified Presence Server

Restrictions and Guidelines:-

  • The phone proxy is not supported in multiple context mode
  • The phone proxy is not supported when ASA is running in transparent mode.It must be running in Routed mode
  • Base License includes 2 UC Proxy Licenses
  • IP Phones registering to UCM Servers(including backup server) will require 2 UC Proxy licenses on ASA
  • An LSC must be installed on 7940/7960 IP phones because they do not come pre installed with a MIC

Network OverView:-

Inside Network         : 192.168.1.0/24
TFTP/CUCM             : 192.168.1.11
ASA Inside Interface    : 192.168.1.1
ASA Outside Interface   : 5.5.5.5
MTP Interface         : 5.5.5.6
CUCM(external)        : 5.5.5.11
HTTP Proxy Server     : 5.5.5.15

Configuration Steps :-

1. Configuring NAT for the CUCM/TFTP Server (optional):

Allow External access to TFTP services and map CUCM/TFTP to externally accessible ip address.

static(inside,outside) 5.5.5.11 192.168.1.11
access-list pp extended permit udp any host 5.5.5.11 eq 69
access-group pp in interface outside

2. Create keys and trustpoint in ASA configuration :

Create trustpoint for CUCM in ASA config and generate a certificate in the CTL file for phone to trust CUCM

a. Generate the keypair

crypto key generate rsa label cucmtftp_kp modulus 1024

b.  Create the trustpoint and associate it with the keypair

crypto ca trustpoint cucm_tftp_server_tp
enroll self
keypair cucmtftp_kp modulus

c.  Enroll the trustpoint

crypto ca enroll cucm_tftp_server_tp

3. Create ASA CTL file :

The CTL file lists what devices the phone can establish trust with (eg CUCM)

a. Create the CTL file instance:

ctl-file asactl

b. Create the record-entry for the CUCM/TFTP server

ctl-file asactl
record-entry cucm-tftp trustpoint cucm_tftp_server_tp 5.5.5.11
no shut

4. Create a TLS Proxy instance :

TLS Proxy instance is used to establish trust between the Phone and the ASA’s Phone Proxy functions

a. Create the TLS Proxy instance:

tls-proxy asatlsp

b. Create the server trustpoint and reference it to be internally created trustpoint when the CTL file is created(in Step 3):

tls-proxy asatlsp
server trust-point _internal_PP_asactl

5.  Create a Phone proxy instance :

Create a Phone Proxy Instance to specify phone proxy policy and settings in following steps:

a. Create the phone-proxy instance:

phone-proxy asa_phone_proxy

b. Configure the TFTP server using the real internal address not the Public address:

tftp-server address 192.168.1.11 interface inside

c. Specify single dedicated media-termination address:

Reference the tls-proxy instance created in step 4, and the ctl-file instance created in step 3

media-termination address 5.5.5.6
tls-proxy asatlsp
ctl-file asactl

d.(Optional) Configure the timeout for the secure-phone entries:

timeout secure-phones

e.(Optional) Enable service-settings (garp,pc port, voice vlan etc) on the phone:

no disable service-settings

f.(Optional)Configure an HTTP proxy for services:

You must provision an HTTP proxy server for Corporate Directory or Web services on phone to work.

proxy-server address 5.5.5.15 interface outside

g.(Optional)Configure Cisco IP Communicator (CIPC) softphones to operate in authenticated mode:

cipc security-mode authenticated

Overall Configuration of Step:5 should look like :

phone-proxy asa_phone_proxy
tftp-server address 192.168.1.11 interface inside
media-termination address 5.5.5.6
tls-proxy asatlsp
ctl-file asactl
cipc security-mode authenticated
timeout secure-phones
no disable service-settings
proxy-server address 5.5.5.15 interface outside

6. Define the policies :

Define policies to enable phone proxy for SIP and Skinny inspection

a.Configure the class of traffic to be inspect, one for secure SCCP traffic, one for secure SIP traffic:

class-map sec_sccp
match port tcp eq 2443
class-map sec_sip
match port tcp eq 5061

b. Configure the policy-map and attach the action to the class of traffic:

policy-map voice_policy
class sec_sccp
inspect skinny phone-proxy asa_phone_proxy
class sec_sip
inspect sip phone-proxy asa_phone_proxy

c.Enable the Service policy on the outside interface:

service-policy voice_policy interface outside

7. Import CUCM Certificates :

Finally, Import CUCM Certs i.e MIC Issuer Cert or CAPF for LSC provisioning.

Depending on your deployment, you would need to import the Cisco MIC Issuer certificate or the CAPF function for LSC certificates

Import the following 3 certificates which are stored on the Cisco UCM. These certificates are required by the security appliance for the phone proxy.

*Cisco_Manufacturing_CA
*CAP-RTP-001
*CAP-RTP-002

Configuration would look like :

crypto ca trustpoint CAP-RTP-001_trustpoint
enrollment terminal
crypto ca authenticate CAP-RTP-001_trustpoint
!

crypto ca trustpoint CAP-RTP-002_trustpoint
enrollment terminal
crypto ca authenticate CAP-RTP-002_trustpoint
!

crypto ca trustpoint Cisco_Manufacturing_CA_trustpoint
enrollment terminal
crypto ca authenticate Cisco_Manufacturing_CA_trustpoint
!

If LSC provisioning is required or you have LSC enabled IP phones, you must import the CAPF certificate from the Cisco UCM

crypto ca trustpoint CAPF_trustpoint
enrollment terminal
crypto ca authenticate CAPF _trustpoint

!

Debugging and Verification :

Following commands might be useful

Debug Commands :-

debug phone-proxy
debug phone-proxy tftp
debug phone-proxy media
debug phone-proxy signaling

Show Commands :-

show phone-proxy secure-phones
show phone-proxy signaling-sessions
show phone-proxy media-sessions
show tls-proxy session

!

PDF Printer    Send article as PDF   

Tags: , , , , ,

5 Responses to “7 Easy Steps to setup Cisco ASA Phone Proxy”

  1. Darien says:

    Bookmarked your web site. Thank you for sharing. Definitely worth the time away from my workload.

  2. Vince says:

    In step 5F, I had to use the inside interface for it to work.

    proxy-server address 5.5.5.15 interface inside

  3. phoeneous says:

    Does this work for 9971′s that do not have any certificates installed?

  4. wayne says:

    how do you get the phone to download the ctl? does it do it through tftp once it finss the tftp server?

  5. usman says:

    hello there,

    My IP phones and call managers are behind a proxy servers, i want to use a service on ip phones which is available on a public url. how can my ip phones or call manager access the url?

Leave a Reply

hide totop
  • RSS
  • Facebook
  • Twitter
  • RSS
  • Facebook
  • Twitter