Sep 20

Faxing T.38 Relay MGCP to SIP

Not so commonly discussed area of the Voice Communication world is the T.38 Fax Relay between multiple signalling protocols. I was tasked to complete a Fax Server install into an existing Cisco UC environment. The Fax Server communicated to the CUCM via the SIP Protocol and the existing UC infrastructure inclusive of VG224 and a 2811 ISR was controlled via the MGCP protocol.

First thing first, gain connectivity between the CUCM and the Fax Server to ensure SIP is correctly working. Make a call to the fax server and you should receive the fax signalling sounds.. done.

Now lets work on the 2811 Voice Gateway. This is an ISDN Gateway controlled via the MGCP Protocol through CUCM. However we don’t need to log into CUCM to allow the T.38 Fax Relay protocol. Enable T.38 Fax Relay Globally under the Voice Services VOIP Menu.

(Config)# voice service voip
(Config-voip)# fax protocol t38 ls-redundancy 2 hs-redundanyc 0 fallback passthru g711alaw

In the above exampled I chose to fallback to Passthru method, as this is the existing method on the Voice Gateway.

Now lets enable the T.38 Fax Relay Protocol under MGCP.

(Config)# mgcp default-package fxr-package
(Config)# no fax t38 inhibit

Now lets restart the MGCP Application. *Depending your MGCP Configuration, this may disrupt existing calls.

(Config)# no mgcp
(Config)# mgcp

Faxing inbound/outbound the UC network should now be working as normal.

The VG224 configuration is exactly the same as the 2811 Voice Gateway. As organisations still have a need to fax internally, the VG224 needs the above configuration mended as well.

Below is the summary of configuration changes made.

(Config)# voice service voip
(Config-voip)# fax protocol t38 ls-redundancy 2 hs-redundanyc 0 fallback passthru g711alaw
(Config)# mgcp default-package fxr-package
(Config)# no fax t38 inhibit
(Config)# no mgcp
(Config)# mgcp

Jun 01

Blocking Inbound Calls based on Caller-ID using Cisco Voice Gateway

Blocking Inbound Calls using Cisco ISR Voice Gateway is a simple 3 step process. First step is to create or append to a Voice Translation Rule, next is to map the Voice Translation Rule to a Voice Translation Profile. Then finally attached the Voice Translation Profile to either a Voice-Port or Inbound Dial-Peer.

Lets looks at this more closely.

Step 1. Create a Voice Translation Rule.

From the Global Configuration Mode enter in to the Voice Translation Rule Sub Menu, be sure to select a unique Rule Set ID. Now enter the new Translation Rule identifying the Calling Number ( Caller-ID) of the caller you would like to block.

(config)# voice translation-rule 200
(cfg-translation-rule)# rule 1 reject /06408343425/

Step 2. Create a Voice Translation Profile and apply the Voice Translation Rule

Next step is to create a Voice Translation Profile. Within the Voice Translation Profile we need to translate the Calling party referencing the Rules Set we created above.

(config)# voice transalation-profile ISDN-INBOUND
(cfg-translation-profile)# translate calling 200

Step 3. Attach the Voice Translation Profile to either the Voice Port or Inbound Dial-Peer

I prefer to attached Voice Translation Profiles on the Voice-Port, however attaching to the Dial-Peer is also very acceptable and correct. In either instance the commands for attaching Voice Translation Profiles is the same.

Voice Port Configuration

(config)# voice-port 0/0/0:15
(cfg-voice-port)# translation-profile inbound ISDN-INBOUND

Dial-Peer Configuration

(config)# dial-peer voice 1 pots
(cfg-dial-peer)# translation-profile inbound ISDN-INBOUND

Troubleshooting

Debug isdn q931 – Displays the Calling Party Number format

Debug voice translation – Displays realtime verbose output of matching of Voice Translation Rules for incoming calls.

Show run | s voice – Provides a Running Configuration output focusing on the Voice configuration section.

Show voice translation-rule – Displays all configured Voice Translation Rules

Show voice translation-profile – Displays all configured Voice Translation Profiles.

Test voice translation-rule RULE-ID Phone-Number – Tests Voice Translation Rules, will display translated number.