04-04-2014 11:05 AM - edited 03-16-2019 10:22 PM
Hi,
we are facing incoming/outgoing voice issue some times in one of our location with PSTN calls.
when we check the router we get DSP allocation error. I have attached sh voice dsp group all, sh voice dsp detailed output.
please suggest what is wrong with DSP allocation. and affects calls
Apr 4 16:28:56.958 UTC: %VOICE_IEC-3-GW: VTSP: Internal Error (DSP unknown failure): IEC=1.1.182.9.22.5 on callID 36001 GUID=0A82B36BBB4D11E3AE11A44C115B4380
Apr 4 16:29:06.074 UTC: %FLEXDSPRM-5-OUT_OF_RESOURCES: No dsps found either locally or globally.
Apr 4 16:29:06.074 UTC: %VOICE_IEC-3-GW: VTSP: Internal Error (DSP unknown failure): IEC=1.1.182.9.22.2 on callID -1
Apr 4 16:29:08.326 UTC: %VOICE_IEC-3-GW: VTSP: Internal Error (DSP unknown failure): IEC=1.1.182.9.22.2 on callID -1
Apr 4 16:30:25.905 UTC: %FLEXDSPRM-5-OUT_OF_RESOURCES: No dsps found either locally or globally.
537 DSP resource allocation failure
sh version:
nwk1-rpi-wan-2# sh version
Cisco IOS Software, C3900 Software (C3900-UNIVERSALK9-M), Version 15.2(4)M3, RELEASE SOFTWARE (fc2)
Technical Support: http://www.cisco.com/techsupport
Copyright (c) 1986-2013 by Cisco Systems, Inc.
Compiled Tue 26-Feb-13 06:54 by prod_rel_team
ROM: System Bootstrap, Version 15.0(1r)M13, RELEASE SOFTWARE (fc1)
nwk1-rpi-wan-2 uptime is 15 weeks, 5 days, 8 hours, 1 minute
System returned to ROM by power-on
System restarted at 09:59:27 UTC Sun Dec 15 2013
System image file is "flash0:c3900-universalk9-mz.SPA.152-4.M3.bin"
Last reload type: Normal Reload
Last reload reason: power-on
This product contains cryptographic features and is subject to United
States and local country laws governing import, export, transfer and
use. Delivery of Cisco cryptographic products does not imply
third-party authority to import, export, distribute or use encryption.
Importers, exporters, distributors and users are responsible for
compliance with U.S. and local country laws. By using this product you
agree to comply with applicable laws and regulations. If you are unable
to comply with U.S. and local laws, return this product immediately.
A summary of U.S. laws governing Cisco cryptographic products may be found at:
http://www.cisco.com/wwl/export/crypto/tool/stqrg.html
If you require further assistance please contact us by sending email to
export@cisco.com.
Cisco CISCO3945-CHASSIS (revision 1.0) with C3900-SPE150/K9 with 2031616K/65536K bytes of memory.
Processor board ID FTX1617ALT4
3 Gigabit Ethernet interfaces
24 Serial interfaces
1 terminal line
2 Channelized T1/PRI ports
DRAM configuration is 72 bits wide with parity enabled.
255K bytes of non-volatile configuration memory.
4001760K bytes of ATA System CompactFlash 0 (Read/Write)
License Info:
License UDI:
-------------------------------------------------
Device# PID SN
-------------------------------------------------
*0 C3900-SPE150/K9 FOC16154QP1
Technology Package License Information for Module:'c3900'
-----------------------------------------------------------------
Technology Technology-package Technology-package
Current Type Next reboot
------------------------------------------------------------------
ipbase ipbasek9 Permanent ipbasek9
security None None None
uc uck9 Permanent uck9
data None None None
Configuration register is 0x2102
04-04-2014 11:52 AM
any suggestions please............
04-05-2014 01:06 AM
Hi ,
Can u check the STATE of dsp under show voice dsp group all? it should show UP for all dsp's.
the PUNE attachment does not have the output.
regds,
aman
04-05-2014 01:22 AM
04-05-2014 01:37 AM
Hi,
Can u share the output of show run,show inventory and show voice dsp group all?
Other option we can explore upgrading IOS image to 15.2.4.M6 [1024/256 ] which is Cisco suggested if the setup was working fine and no configuration change has been done.
regds,
aman
04-07-2014 05:42 AM
Baskaranm,
I assume this could be due to exhaustion of the Credits in your dsp's / cores for your PVDM modules.
try to remove the unwanted codec from your transcoding and conf profile OR reduce the session may be.
Please try to check and test it.
04-07-2014 06:39 AM
Hi raj,
thnaks for your reply.
from sh voice dsp group all output attached inthis thread, please can you tell how many DSP allocated for only voice.
so I can check the call volume in peak hour and see the dsp availability
04-07-2014 09:40 AM
Hi,
from the output attached, I can see that Voice Credits used is Zero under few DSPs.
you have got one PVDM3-256 installed in router whuch has got 6 DSPs with 645 credits per DSP.
In DSP1 , I can see 41 credits being used while DSP 2 and 3 shows 0 .
is this output attached , when u get the error DSP Unknown Failure.
regds,
aman
04-07-2014 10:50 AM
no. the output attached is captured afterwards, I'm trying to get the out put while the error happens.
But unfortunately I not able to..
can you tell how many credits in totol assinged to voice call.?
04-08-2014 01:19 AM
Hi,
You do not have enough DSP resources for your setup. Your DSP is configured for flex mode,flex mode does allow oversubscription of the resources, which introduces the risk of call failure if all resources are used. With flex mode it is possible to have fewer DSP resources than you actually need. Here is the analysis
You have a PVDM3-256
PVDM3-256 has a total of 6 dsps. Each dsp has a total of 645 credit meaning that in total you have 645*6 credits = 3870 credits
From you configuration, you have the ff:
1.Medium complexity transcoding session = 55
2. G729 conference session = 26
Now each medium complexity session consumes 20 credits on this dsp. so you ave a total of 55*20 =1100 credits used up.
Each G729 conference session uses 92 credits. so you have 92*26= 2392 credits..
So in all you have 1100 + 2392 = 3492 credits..
For your voice channels, sing eyou are using a medium complexity codec, you need 20*24=480
When we add all together, (1100+2392+480) = 3972
From the previous calculation, we can see that you only have 3870 credits available, this means that you dont have enough resources to support your voice channels, hence the reason why you are getting the out of resources error.
To resolve your issue, reduce the number of conference session to 24. And you will be fine
You can refer to this documentation which explains things in detail
https://supportforums.cisco.com/document/123126/cisco-pvdm2-and-pvdm3-dsp-creditmips-allocation
04-08-2014 01:32 AM
Just to make things much clearer.. I have broken down your dsp allocation as follows:
nwk1-rpi-wan-2# sh voice dsp group c all
DSP groups on slot 0:
dsp 1:
State: UP, firmware: 32.1.2
Max signal/voice channel: 43/43
Max credits: 645, Voice credits: 645, Video credits: 0
num_of_sig_chnls_allocated: 23
Transcoding channels allocated: 14------------------------------------------xcoding sessions allocated to this dsp = 14
Group: FLEX_GROUP_VOICE, complexity: FLEX
Shared credits: 322, reserved credits: 0
Signaling channels allocated: 23-------------------------------------------- 23 voice channels allocated
Voice channels allocated: 2
Credits used (rounded-up): 41
Voice channels:
Ch01: voice port: 0/0/0:23.1, codec: g722-64, credits allocated: 20
Ch02: voice port: 0/0/0:23.2, codec: g722-64, credits allocated: 20
Group: FLEX_GROUP_XCODE, complexity: MEDIUM
Shared credits: 0, reserved credits: 283
Transcoding channels allocated: 0
Credits used (rounded-up): 0
Slot: 0
Device idx: 0
PVDM Slot: 0
Dsp Type: SP2600
dsp 2:
State: UP, firmware: 32.1.2
Max signal/voice channel: 43/43
Max credits: 645, Voice credits: 645, Video credits: 0
num_of_sig_chnls_allocated: 0
Transcoding channels allocated: 32------------------------------------dsp 2 has 32 xcoding channels allocated
Group: FLEX_GROUP_XCODE, complexity: MEDIUM
Shared credits: 0, reserved credits: 645
Transcoding channels allocated: 0
Credits used (rounded-up): 0
Slot: 0
Device idx: 0
PVDM Slot: 0
Dsp Type: SP2600
--More-- dsp 3:
State: UP, firmware: 32.1.2
Max signal/voice channel: 42/43
Max credits: 645, Voice credits: 645, Video credits: 0
num_of_sig_chnls_allocated: 0
Transcoding channels allocated: 9----------------------------------------dsp 3 has the 9 remaining channel for xcoding aloocated (14 +32 +9 =55)
Group: FLEX_GROUP_VOICE, complexity: FLEX
Shared credits: 2, reserved credits: 0
Signaling channels allocated: 0
Voice channels allocated: 0
Credits used (rounded-up): 0
Group: FLEX_GROUP_XCODE, complexity: MEDIUM
Shared credits: 0, reserved credits: 182
Transcoding channels allocated: 0
Credits used (rounded-up): 0
Group: FLEX_GROUP_CONF, complexity: CONFERENCE
Shared credits: 0, reserved credits: 461--------------------------dsp 3 then uses the remianing credits for conferenceing (461/92 = 5 sessions)
Codec: CONF_G729, maximum participants: 8
Sessions per dsp: 7
Slot: 0
Device idx: 0
PVDM Slot: 0
Dsp Type: SP2600
dsp 4:
State: UP, firmware: 32.1.2
Max signal/voice channel: 43/43
Max credits: 645, Voice credits: 645, Video credits: 0
num_of_sig_chnls_allocated: 0
Transcoding channels allocated: 0
Group: FLEX_GROUP_CONF, complexity: CONFERENCE
Shared credits: 0, reserved credits: 645---------------------------------dsp 4 has all credits used for conferencing = 7 sessions
Codec: CONF_G729, maximum participants: 8
Sessions per dsp: 7
Slot: 0
Device idx: 1
PVDM Slot: 0
Dsp Type: SP2600
--More-- dsp 5:
State: UP, firmware: 32.1.2
Max signal/voice channel: 43/43
Max credits: 645, Voice credits: 645, Video credits: 0
num_of_sig_chnls_allocated: 0
Transcoding channels allocated: 0
Group: FLEX_GROUP_CONF, complexity: CONFERENCE
Shared credits: 0, reserved credits: 645--------------------------------------dsp 5 has 7 sessions for conferencing
Codec: CONF_G729, maximum participants: 8
Sessions per dsp: 7
Slot: 0
Device idx: 1
PVDM Slot: 0
Dsp Type: SP2600
dsp 6:
State: UP, firmware: 32.1.2
Max signal/voice channel: 42/43
Max credits: 645, Voice credits: 645, Video credits: 0
num_of_sig_chnls_allocated: 0
Transcoding channels allocated: 0
Group: FLEX_GROUP_CONF, complexity: CONFERENCE
Shared credits: 0, reserved credits: 645-----------------------------------dsp 6 has 7 sessions for conferencing ( 5+7+7+7 = 26)
Codec: CONF_G729, maximum participants: 8
Sessions per dsp: 7
Slot: 0
Device idx: 1
PVDM Slot: 0
Dsp Type: SP2600
As you can see DSP 1 is over subscribed...
dsp 1:
State: UP, firmware: 32.1.2
Max signal/voice channel: 43/43
Max credits: 645, Voice credits: 645, Video credits: 0
num_of_sig_chnls_allocated: 23
Transcoding channels allocated: 14------------------------------------------xcoding sessions allocated to this dsp = 14
Group: FLEX_GROUP_VOICE, complexity: FLEX
Shared credits: 322, reserved credits: 0
Signaling channels allocated: 23-------------------------------------------- 23 voice channels allocated
Voice channels allocated: 2
Credits used (rounded-up): 41
Voice channels:
Ch01: voice port: 0/0/0:23.1, codec: g722-64, credits allocated: 20
Ch02: voice port: 0/0/0:23.2, codec: g722-64, credits allocated: 20
Group: FLEX_GROUP_XCODE, complexity: MEDIUM
Shared credits: 0, reserved credits: 283
Transcoding channels allocated: 0
Credits used (rounded-up): 0
Slot: 0
Device idx: 0
PVDM Slot: 0
Dsp Type: SP2600
After 14 xcoding sessions were allocated we had 283 credits used up..which means that we should have 645-283 = 362 credits.
The number of voice channels supported on this = 362/20 = 18.
However the router has allocated all the 23 channels you configured. Hence your resources are over subscribed...
04-08-2014 01:44 AM
Nice explanation...
Much appreciated.
Just want to know how the voice channel is using the MC credits = 20 and why not G711ulaw credits = 15.
04-08-2014 01:49 AM
This is because your voice calls are using G722 not G711. This is most liley down to the way you have configured your dial-peers. You can have your dial-peers to use G711 and then your calls will use G711 credit (15)
04-08-2014 01:55 AM
Yes, it seems from the configuration given by Baskaranm, which i saw just now.
!
voice class codec 1
codec preference 1 g711ulaw
codec preference 2 g722-64
codec preference 3 g722-56
codec preference 4 g722-48
codec preference 5 g729r8
codec preference 6 g729br8
!
also why only reducing the conference session specifically.
i think we could had reduce the session from transcoding too.
your take on this and if any specific reason please let me know.
04-08-2014 02:09 AM
We can reduce any of them. The important thing is to reduce the amount of credits used by the dsp. We can even reduce the amount of PRI channels, although I wont recommend this
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide