voipmeister.com voip stuff matters and more

VG224: FLEXDSPRM-5-OUT_OF_RESOURCES

After upgrading a few VG224′s the other day, I noticed that some of the VG’s were not working properly (e.g. no dialtone, unreachable DN’s, etc.). After some investigation I noticed that there were problems concerning the DSP’s in the VG (VG224′s have 3 DSP’s on board as opposed to voicerouters where they are separate modules). The logging showed:

172.16.16.13-20120329.log:2012-03-29T17:15:30.940236+02:00 172.16.16.13 50: .Mar 29 2012 17:15:29: %FLEXDSPRM-5-OUT_OF_RESOURCES: No dsps found either locally or globally.
172.16.16.13-20120329.log:2012-03-29T17:15:45.720307+02:00 172.16.16.13 51: .Mar 29 2012 17:15:44: %FLEXDSPRM-5-OUT_OF_RESOURCES: No dsps found either locally or globally.
172.16.16.13-20120329.log:2012-03-29T17:17:32.144515+02:00 172.16.16.13 52: .Mar 29 2012 17:17:31: %FLEXDSPRM-5-OUT_OF_RESOURCES: No dsps found either locally or globally.

Also, when reloading a VG, I noticed that the DSP’s did not always come online. In some cases all the DSP’s were down (which would be indicated by the logging above).

Further investigation can be done with the following statements:

HK-0#sh voice dsp group all
DSP groups on slot 0:
dsp 1:
State: FAIL, firmware: 0.0.0
Max signal/voice channel: 16/16
Max credits: 240
num_of_sig_chnls_allocated: 0
Transcoding channels allocated: 0
Group: FLEX_GROUP_VOICE, complexity: FLEX
    Shared credits: 240, reserved credits: 0
    Signaling channels allocated: 0
    Voice channels allocated: 0
    Credits used: 0

dsp 2:
State: FAIL, firmware: 0.0.0
Max signal/voice channel: 16/16
Max credits: 240
num_of_sig_chnls_allocated: 0
Transcoding channels allocated: 0
Group: FLEX_GROUP_VOICE, complexity: FLEX
    Shared credits: 240, reserved credits: 0
    Signaling channels allocated: 0
    Voice channels allocated: 0
    Credits used: 0

dsp 3:
State: FAIL, firmware: 0.0.0
Max signal/voice channel: 16/16
Max credits: 240
num_of_sig_chnls_allocated: 0
Transcoding channels allocated: 0
Group: FLEX_GROUP_VOICE, complexity: FLEX
    Shared credits: 240, reserved credits: 0
    Signaling channels allocated: 0
    Voice channels allocated: 0
    Credits used: 0

HK-0#

HK-0#sh voice dsp voice

Warning! DSPs 1,2,3 in slot 0 are using non-default firmware from device flash:
This is not recommended, the IOS default version is 24.3.7

----------------------------FLEX VOICE CARD 0 ------------------------------
                        *DSP VOICE CHANNELS*

CURR STATE : (busy)inuse (b-out)busy out (bpend)busyout pending
LEGEND     : (bad)bad    (shut)shutdown  (dpend)download pending

DSP   DSP                 DSPWARE CURR  BOOT                         PAK   TX/RX
TYPE  NUM CH CODEC        VERSION STATE STATE   RST AI VOICEPORT TS ABRT PACK COUNT
===== === == ========= ========== ===== ======= === == ========= == ==== ============
C5510 001 01 None           0.0.0 bad   idle      0  0                 0          0/0
C5510 001 02 None           0.0.0 bad   idle      0  0                 0          0/0
C5510 001 03 None           0.0.0 bad   idle      0  0                 0          0/0
C5510 001 04 None           0.0.0 bad   idle      0  0                 0          0/0
C5510 001 05 None           0.0.0 bad   idle      0  0                 0          0/0
C5510 001 06 None           0.0.0 bad   idle      0  0                 0          0/0
C5510 001 07 None           0.0.0 bad   idle      0  0                 0          0/0
C5510 001 08 None           0.0.0 bad   idle      0  0                 0          0/0
C5510 001 09 None           0.0.0 bad   idle      0  0                 0          0/0
C5510 001 10 None           0.0.0 bad   idle      0  0                 0          0/0
C5510 001 11 None           0.0.0 bad   idle      0  0                 0          0/0
C5510 001 12 None           0.0.0 bad   idle      0  0                 0          0/0
C5510 001 13 None           0.0.0 bad   idle      0  0                 0          0/0
C5510 001 14 None           0.0.0 bad   idle      0  0                 0          0/0
C5510 001 15 None           0.0.0 bad   idle      0  0                 0          0/0
C5510 001 16 None           0.0.0 bad   idle      0  0                 0          0/0
C5510 002 01 None           0.0.0 bad   idle      0  0                 0          0/0
C5510 002 02 None           0.0.0 bad   idle      0  0                 0          0/0
C5510 002 03 None           0.0.0 bad   idle      0  0                 0          0/0
C5510 002 04 None           0.0.0 bad   idle      0  0                 0          0/0
C5510 002 05 None           0.0.0 bad   idle      0  0                 0          0/0
C5510 002 06 None           0.0.0 bad   idle      0  0                 0          0/0
C5510 002 07 None           0.0.0 bad   idle      0  0                 0          0/0
C5510 002 08 None           0.0.0 bad   idle      0  0                 0          0/0
C5510 002 09 None           0.0.0 bad   idle      0  0                 0          0/0
C5510 002 10 None           0.0.0 bad   idle      0  0                 0          0/0
C5510 002 11 None           0.0.0 bad   idle      0  0                 0          0/0
C5510 002 12 None           0.0.0 bad   idle      0  0                 0          0/0
C5510 002 13 None           0.0.0 bad   idle      0  0                 0          0/0
C5510 002 14 None           0.0.0 bad   idle      0  0                 0          0/0
C5510 002 15 None           0.0.0 bad   idle      0  0                 0          0/0
C5510 002 16 None           0.0.0 bad   idle      0  0                 0          0/0
C5510 003 01 None           0.0.0 bad   idle      0  0                 0          0/0
C5510 003 02 None           0.0.0 bad   idle      0  0                 0          0/0
C5510 003 03 None           0.0.0 bad   idle      0  0                 0          0/0
C5510 003 04 None           0.0.0 bad   idle      0  0                 0          0/0
C5510 003 05 None           0.0.0 bad   idle      0  0                 0          0/0
C5510 003 06 None           0.0.0 bad   idle      0  0                 0          0/0
C5510 003 07 None           0.0.0 bad   idle      0  0                 0          0/0
C5510 003 08 None           0.0.0 bad   idle      0  0                 0          0/0
C5510 003 09 None           0.0.0 bad   idle      0  0                 0          0/0
C5510 003 10 None           0.0.0 bad   idle      0  0                 0          0/0
C5510 003 11 None           0.0.0 bad   idle      0  0                 0          0/0
C5510 003 12 None           0.0.0 bad   idle      0  0                 0          0/0
C5510 003 13 None           0.0.0 bad   idle      0  0                 0          0/0
C5510 003 14 None           0.0.0 bad   idle      0  0                 0          0/0
C5510 003 15 None           0.0.0 bad   idle      0  0                 0          0/0
C5510 003 16 None           0.0.0 bad   idle      0  0                 0          0/0
------------------------END OF FLEX VOICE CARD 0 ----------------------------

HK-0#

When looking at the running config, you might see a statement that points you in the right direction:

HK-0#
! Warning! DSPs 1,2,3 in slot 0 are using non-default firmware from device flash:
! This is not recommended, the IOS default version is 24.3.7

You can also have a look here: https://supportforums.cisco.com/thread/278921.

To remedy the problem, the best course of action is to contact Cisco TAC and present your findings. TAC will probably provide you with ‘DSP ware’ apropriate for your IOS version AND you DSP hardware (several types of DSP’s exist).

CUCM database replication issues

A little note to self how to troubleshoot db replication issues on CUCM:

  • Make sure the hostnames of the CUCM servers are IP only (or set up a working DNS configuration)
  • Make sure both servers have the right time and timezone configured and make use of NTP servers

How to emulate the PSTN with an E1 interface

Here’s how to configure the network end of an E1-E1 back-to-back setup:

network-clock-participate wic 2 
isdn switch-type primary-net5
!
controller E1 0/2/0 
 clock source internal pri-group timeslots 1-3,16 
!
interface Serial0/2/0:15 
 no ip address 
 encapsulation hdlc 
 isdn switch-type primary-net5 
 isdn protocol-emulate network 
 isdn incoming-voice voice 
 no cdp enable 
!

Ofcourse, the 2 statements that differ from a normal setup are (the first under the controller configuration, the last under the serial interface configuration):

clock source internal 
isdn protocol-emulate network

If all is well, the command show isdn status gives:

Global ISDN Switchtype = primary-net5
ISDN Serial0/2/0:15 interface
        ******* Network side configuration *******
        dsl 2, interface ISDN Switchtype = primary-net5
    Layer 1 Status:
        ACTIVE
    Layer 2 Status:
        TEI = 0, Ces = 1, SAPI = 0, State = MULTIPLE_FRAME_ESTABLISHED
    Layer 3 Status:
        0 Active Layer 3 Call(s)
    Active dsl 2 CCBs = 0
    The Free Channel Mask:  0x80000007
    Number of L2 Discards = 0, L2 Session ID = 107
    Total Allocated ISDN CCBs = 0

E1-E1 RJ45 cross-over cable

Here’s how to connect 2 E1 RJ45 interfaces back-to-back:

First End

PIN 1 ORANGE 
PIN 2 WHITE/ORANGE 
PIN 4 BLUE
PIN 5 WHITE/BLUE

Second End

PIN 1 BLUE 
PIN 2 WHITE/BLUE 
PIN 4 ORANGE 
PIN 5 WHITE/ORANGE

Cisco transient connection attempts

Logs full of messages like:

Dec 8 07:56:09, SUB1, Error, Cisco CallManager, : 25977: Dec 08 06:56:09.227 UTC : %CCM_CALLMANAGER-CALLMANAGER-3-DeviceTransientConnection: Transient connection attempt. Connecting Port:50453 Device name [Optional].: Device IP address.:10.0.30.249 Protocol.:SCCP Device type. [Optional]:255 Reason Code [Optional].:6 Cluster ID:StandAloneCluster Node ID:SUB1, 8737

Might indicate one of the following:

  • A device is rehoming in the middle of an registration attempt
  • The second port of your ATA is not configured
  • The IP Phone is not provisioned in CUCM
  • You have VG248’s with unused ports that are not disabled
  • You have VG224’s with unused ports that are not shutdown
  • The network path has issues (firewall messing up SCCP traffic and such)

Basically, it boils down to missing configuration or misconfiguration. For example, if a second port on an ATA tries to register with CUCM, but the CUCM has no configuration for the port, the connection is dropped (hence the transient connection). Possible solutions are:

  • Disable the second port.
  • Configure the port but don’t assign a DN
  • Configure the port and assign a DN

VG248

Disable the unused ports on the VG248. By logging in and navigating to configure > Telephony > Port specific parameters, you will see which ports are enabled but do not have a DN assigned.

VG224

Administratively shut down the unused ports on the VG224. You’ll have to check in CUCM which ports aren’t used and shut them down accordingly.

Further reading