01-03-2013 01:50 AM - edited 03-16-2019 02:58 PM
Hi all,
I have two routers in a lab connected through an E1 PRI link which works fine, on one router I have PVDM2-16 and on the other router PVDM2-16 & PVDM2-32. I'm pretty much confused about the way Cisco presents the DSP resources on the gateways so it would be great if somebody could explain it to me?
Ok, so:
1. when I type: show voice dsp, nothing comes up on both routers (I found out that this command is not used anymore, is that correct?):
2811_1_MF-Lab#show voice dsp
DSP DSP DSPWARE CURR BOOT PAK TX/RX
TYPE NUM CH CODEC VERSION STATE STATE RST AI VOICEPORT TS ABORT PACK COUNT
==== === == ======== ========== ===== ======= === == ========= == ===== ============
edsp 0001 01 g729r8 p 0.1 IDLE 50/0/1.1
edsp 0002 01 g729r8 p 0.1 IDLE 50/0/2.1
edsp 0003 01 g729r8 p 0.1 IDLE 50/0/3.1
----------------------------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
===== === == ========= ========== ===== ======= === == ========= == ==== ============
*DSP SIGNALING CHANNELS*
DSP DSP DSPWARE CURR BOOT PAK TX/RX
TYPE NUM CH CODEC VERSION STATE STATE RST AI VOICEPORT TS ABRT PACK COUNT
===== === == ========= ========== ===== ======= === == ========= == ==== ============
------------------------END OF FLEX VOICE CARD 0 ----------------------------
2. Ok, then I found out I have: show voice dsp voice, show voice dsp signaling and show voice dsp detailed. What is the difference between DSP VOICE CHANNELS and DSP SIGNALING CHANNELS? What do they represent?
When I make an ds0-group in the E1 controller I can see signaling channels:
2811_2_MF-Lab#show voice dsp signaling
DSP DSP DSPWARE CURR BOOT PAK TX/RX
TYPE NUM CH CODEC VERSION STATE STATE RST AI VOICEPORT TS ABORT PACK COUNT
==== === == ======== ========== ===== ======= === == ========= == ===== ============
edsp 0001 01 g729r8 p 0.1 IDLE 50/0/1.1
edsp 0002 01 g729r8 0.1 IDLE 50/0/2.1
edsp 0003 02 g729r8 0.1 IDLE 50/0/2.2
edsp 0004 01 g711ulaw 0.1 IDLE 50/0/3.1
edsp 0005 01 g729r8 p 0.1 IDLE 50/0/4.1
----------------------------FLEX VOICE CARD 0 ------------------------------
*DSP SIGNALING CHANNELS*
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 {flex} 24.3.8 free idle 0 0 0 0/3
C5510 001 02 {flex} 24.3.8 free idle 0 0 0 0/3
C5510 001 03 {flex} 24.3.8 free idle 0 0 0 0/3
C5510 001 04 {flex} 24.3.8 free idle 0 0 0 0/3
C5510 001 05 {flex} 24.3.8 free idle 0 0 0 0/1
C5510 001 06 {flex} 24.3.8 free idle 0 0 0 0/1
C5510 001 07 {flex} 24.3.8 free idle 0 0 0 0/1
C5510 001 08 {flex} 24.3.8 free idle 0 0 0 0/1
C5510 001 09 {flex} 24.3.8 free idle 0 0 0 0/1
C5510 001 10 {flex} 24.3.8 free idle 0 0 0 0/1
------------------------END OF FLEX VOICE CARD 0 ----------------------------
And when I make a pri-group I don't see them... So are the DSP SIGNALING CHANNELS section reserved only for the FXO,FXS and emulations of the analog trunks and ports and the DSP VOICE CHANNELS for the DSP allocation to the digital trunks and transcoding?
3. Later I registered one gateway to its self through SCCP to act as a CUBE IP-2-IP transcoder for g711 site to an g.729 site. Transcoding works fine but what is the command to see the real-time consumed DSPs on the gateway? Only difference I could find is that the first channel disappears from the show voice dsp voice output while the call is active:
2811_1_MF-Lab#show voice dsp voice
DSP DSP DSPWARE CURR BOOT PAK TX/RX
TYPE NUM CH CODEC VERSION STATE STATE RST AI VOICEPORT TS ABORT PACK COUNT
==== === == ======== ========== ===== ======= === == ========= == ===== ============
edsp 0001 01 g729r8 p 0.1 IDLE 50/0/1.1
edsp 0002 01 g729r8 p 0.1 IDLE 50/0/2.1
edsp 0003 01 g729r8 p 0.1 IDLE 50/0/3.1
----------------------------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 02 None 24.3.5 idle idle 0 0 0 0/0
C5510 001 03 None 24.3.5 idle idle 0 0 0 0/0
C5510 001 04 None 24.3.5 idle idle 0 0 0 0/0
C5510 001 05 None 24.3.5 idle idle 0 0 0 0/0
C5510 001 06 None 24.3.5 idle idle 0 0 0 0/0
C5510 001 07 None 24.3.5 idle idle 0 0 0 0/0
C5510 001 08 None 24.3.5 idle idle 0 0 0 0/0
C5510 001 09 None 24.3.5 idle idle 0 0 0 0/0
C5510 001 10 None 24.3.5 idle idle 0 0 0 0/0
C5510 001 11 None 24.3.5 idle idle 0 0 0 0/0
C5510 001 12 None 24.3.5 idle idle 0 0 0 0/0
C5510 001 13 None 24.3.5 idle idle 0 0 0 0/0
C5510 001 14 None 24.3.5 idle idle 0 0 0 0/0
C5510 001 15 None 24.3.5 idle idle 0 0 0 0/0
C5510 001 16 None 24.3.5 idle idle 0 0 0 0/0
------------------------END OF FLEX VOICE CARD 0 ----------------------------
Show sdsfarm sessions and show sccp connections shows me the active connection but no intuitive DSP allocation for the transcoder. For the PRI and ds0 connections the allocation has an nice overview and the channel allocated to it.
PRI output:
2811_2_MF-Lab#show voice dsp voice
DSP DSP DSPWARE CURR BOOT PAK TX/RX
TYPE NUM CH CODEC VERSION STATE STATE RST AI VOICEPORT TS ABORT PACK COUNT
==== === == ======== ========== ===== ======= === == ========= == ===== ============
edsp 0001 01 g729r8 p 0.1 IDLE 50/0/1.1
edsp 0002 01 g729r8 0.1 IDLE 50/0/2.1
edsp 0003 02 g729r8 0.1 IDLE 50/0/2.2
edsp 0004 01 g711ulaw 0.1 busy 50/0/3.1
edsp 0005 01 g729r8 p 0.1 IDLE 50/0/4.1
----------------------------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 g711ulaw 24.3.8 busy idle 0 0 0/1/0:15 01 0 556/550
C5510 001 02 None 24.3.8 idle idle 0 0 0 0/0
C5510 001 03 None 24.3.8 idle idle 0 0 0 0/0
C5510 001 04 None 24.3.8 idle idle 0 0 0 0/0
C5510 001 05 None 24.3.8 idle idle 0 0 0 0/0
C5510 001 06 None 24.3.8 idle idle 0 0 0 0/0
C5510 001 07 None 24.3.8 idle idle 0 0 0 0/0
C5510 001 08 None 24.3.8 idle idle 0 0 0 0/0
C5510 001 09 None 24.3.8 idle idle 0 0 0 0/0
I hope somebody could clear this up for me?
Thanks,
Marko
01-03-2013 04:57 AM
Marko,
1. As you have observed, the show voice dsp command is deprecated.
2. The obvious difference between the dsp signalling channels and dsp voice channels is that one will show you the type of codec complexity configured for each dsp. i.e flex, medium or high complexity while the other will show you the actual codec used on a particular dsp channel for an active call
3. You can use show voice dsp group all to see dsp allocations for transcoding or conferencing eg
dsp 4:
State: UP, firmware: 28.3.5
Max signal/voice channel: 43/43
Max credits: 645, Voice credits: 645, Video credits: 0
num_of_sig_chnls_allocated: 0
Transcoding channels allocated: 20
Group: FLEX_GROUP_XCODE, complexity: HIGH
Shared credits: 0, reserved credits: 645
Transcoding channels allocated: 1
Credits used (rounded-up): 33
Slot: 0
Device idx: 1
PVDM Slot: 0
Dsp Type: SP2600
Or
W1MS-C#sh voice dsp group all
DSP groups on slot 0:
This command is not applicable to slot 0
DSP groups on slot 1:
This command is not applicable to slot 1
DSP groups on slot 2:
This command is not applicable to slot 2
DSP groups on slot 3:
dsp 1:
State: UP, firmware: 4.4.19
Max signal/voice channel: 6/6
Max credits: 240
Group: FLEX_GROUP_VOICE, complexity: HIGH
Shared credits: 210, reserved credits: 0
Signaling channels allocated: 4
Voice channels allocated: 1
Credits used: 30
Voice channels:
Ch01: voice port: 3/0/0.1, codec: g729r8, credits allocated: 30
0 DSP resource allocation failure
Please rate all useful posts
"'Nature is too thin a screen, the glory of the omnipresent God bursts through it everywhere"-Ralph Waldo Emerson
01-03-2013 07:23 AM
1. Thanks for clearing that up
2. I don't get it. When I type show voice dsp signaling everything is blank under the *DSP SIGNALING CHANNELS*
section:
2811_1_MF-Lab#show voice dsp signaling ?
| Output modifiers
2811_1_MF-Lab#show voice dsp signaling
DSP DSP DSPWARE CURR BOOT PAK TX/RX
TYPE NUM CH CODEC VERSION STATE STATE RST AI VOICEPORT TS ABORT PACK COUNT
==== === == ======== ========== ===== ======= === == ========= == ===== ============
edsp 0001 01 g729r8 p 0.1 IDLE 50/0/1.1
edsp 0002 01 g729r8 p 0.1 IDLE 50/0/2.1
edsp 0003 01 g729r8 p 0.1 IDLE 50/0/3.1
----------------------------FLEX VOICE CARD 0 ------------------------------
*DSP SIGNALING CHANNELS*
DSP DSP DSPWARE CURR BOOT PAK TX/RX
TYPE NUM CH CODEC VERSION STATE STATE RST AI VOICEPORT TS ABRT PACK COUNT
===== === == ========= ========== ===== ======= === == ========= == ==== ============
------------------------END OF FLEX VOICE CARD 0 ----------------------------
When I type show voice dsp voice I see 6 DSP voice channels (codec complexity high), what do they mean, I can use them for PRI termination or what?:
2811_1_MF-Lab#show voice dsp voice
DSP DSP DSPWARE CURR BOOT PAK TX/RX
TYPE NUM CH CODEC VERSION STATE STATE RST AI VOICEPORT TS ABORT PACK COUNT
==== === == ======== ========== ===== ======= === == ========= == ===== ============
edsp 0001 01 g729r8 p 0.1 IDLE 50/0/1.1
edsp 0002 01 g729r8 p 0.1 IDLE 50/0/2.1
edsp 0003 01 g729r8 p 0.1 IDLE 50/0/3.1
----------------------------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 24.3.5 idle idle 0 0 0 0/0
C5510 001 02 None 24.3.5 idle idle 0 0 0 0/0
C5510 001 03 None 24.3.5 idle idle 0 0 0 0/0
C5510 001 04 None 24.3.5 idle idle 0 0 0 0/0
C5510 001 05 None 24.3.5 idle idle 0 0 0 0/0
C5510 001 06 None 24.3.5 idle idle 0 0 0 0/0
------------------------END OF FLEX VOICE CARD 0 ----------------------------
3. When I allocate a dspfarm transcode profile with max 2 sessions with the default codecs I get this output:
2811_1_MF-Lab#show voice dsp group all
DSP groups on slot 0:
dsp 1:
State: UP, firmware: 24.3.5
Max signal/voice channel: 16/16
Max credits: 240
num_of_sig_chnls_allocated: 4
Transcoding channels allocated: 2
Group: FLEX_GROUP_VOICE, complexity: FLEX
Shared credits: 180, reserved credits: 0
Signaling channels allocated: 0
Voice channels allocated: 0
Credits used: 0
Group: FLEX_GROUP_XCODE, complexity: MEDIUM
Shared credits: 0, reserved credits: 60
Transcoding channels allocated: 0
Credits used: 0
Why did the num_of_sig_chnls_allocated: 4 went from 0 to 4?? I get the Transcoding channels allocated: 2, that's obvious. Also when I change the complexity of the codecs from the voice-card 0 section to HIGH the counter here for the num_of_sig_chnls_allocated: drops to 2.
Can you explain to me the corellation between all of this output?
4. When we set the codec complexity on the voice card to let's say "high", does that mean when I have a PRI trunk on one side and an IP call leg on the otherside of the gateway that I can use all of the high complexity codecs on the IP call leg (dial peers), is that how it works? I know that by changing the codec complexity the available PRI timeslots change according to the complexity, the ISDN PRI side uses g.711u/a law so my guess is that the codec complexity refers to the call legs on the other side that will terminate the PRI timeslots?
Thanks for your help,
Marko
01-03-2013 08:20 AM
Marko,
read more about codec complexity here..
http://www.cisco.com/en/US/tech/tk1077/technologies_tech_note09186a00800b6710.shtml
Please rate all useful posts
"'Nature is too thin a screen, the glory of the omnipresent God bursts through it everywhere"-Ralph Waldo Emerson
01-04-2013 06:42 AM
Marko,
I just want to explain a little bit betther what the output of this comand mean
2811_1_MF-Lab#show voice dsp group all
DSP groups on slot 0:
dsp 1:
State: UP, firmware: 24.3.5
Max signal/voice channel: 16/16-------------------
Max credits: 240
num_of_sig_chnls_allocated: 4
Transcoding channels allocated: 2
Group: FLEX_GROUP_VOICE, complexity: FLEX
Shared credits: 180, reserved credits: 0
Signaling channels allocated: 0
Voice channels allocated: 0
Credits used: 0
Group: FLEX_GROUP_XCODE, complexity: MEDIUM
Shared credits: 0, reserved credits: 60
Transcoding channels allocated: 0
Credits used: 0
Explaining what each section mean.
1.++++ Max signal/voice channel: 16/16 ++++++++++++++
------------Max signal is the total avalable channel for use on the dsp
------------Voice channel is the designed total available channel for use on this type of dsp based on its credit allocation
Let me explain this a little bit...
Look at this PVDM3-128, this PVDM has 3 dsps with a total of 128 channels...
The output of. Pay attention to the dsp 3.
sh voice dsp group all:
DSP groups on slot 0:
dsp 1:
State: UP, firmware: 28.3.3
Max signal/voice channel: 43/43
Max credits: 645, Voice credits: 645, Video credits: 0
num_of_sig_chnls_allocated: 30
Transcoding channels allocated: 6
Group: FLEX_GROUP_VOICE, complexity: FLEX
Shared credits: 451, reserved credits: 0
Signaling channels allocated: 30
Voice channels allocated: 0
Credits used (rounded-up): 0
Group: FLEX_GROUP_XCODE, complexity: HIGH
Shared credits: 0, reserved credits: 194
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: 28.3.3
Max signal/voice channel: 43/43
Max credits: 645, Voice credits: 645, Video credits: 0
num_of_sig_chnls_allocated: 12
Transcoding channels allocated: 14
Group: FLEX_GROUP_VOICE, complexity: FLEX
Shared credits: 193, reserved credits: 0
Signaling channels allocated: 12
Voice channels allocated: 0
Credits used (rounded-up): 0
Group: FLEX_GROUP_XCODE, complexity: HIGH
Shared credits: 0, reserved credits: 452
Transcoding channels allocated: 0
Credits used (rounded-up): 0
Slot: 0
Device idx: 0
dsp 3:
State: UP, firmware: 28.3.3
Max signal/voice channel: 42/43------------------here you see the maxsignal=42 (this is because 43+43=86, hence we only have 42 channels left to make 128 channels)..dsp1 has 43 channels, dsp 2 has 43, hence dsp 3 will have 42.
Max credits: 645, Voice credits: 645, Video credits: 0
num_of_sig_chnls_allocated: 18
Transcoding channels allocated: 0
Group: FLEX_GROUP_VOICE, complexity: FLEX
Shared credits: 276, reserved credits: 0
Signaling channels allocated: 18
Voice channels allocated: 0
Credits used (rounded-up): 0
Group: FLEX_GROUP_CONF, complexity: CONFERENCE
Shared credits: 0, reserved credits: 369
Codec: CONF_G729, maximum participants: 8
Sessions per dsp: 7
Slot: 0
Device idx: 0
PVDM Slot: 0
Dsp Type: SP2600
Next
2. +++++ Max credits: 240 ++++++++++
-----------On the PVDM2, each dsp has 240 credits. This just tells you the total amount of credit on this dsp. Credits and codec complexity determine te amount of channels that will be vailable on a dsp
3.+++++ num_of_sig_chnls_allocated: 4 +++++
--------------This has explained above is the number of voice channels available for use. This usually depends on the amount of credit available and the amount of pri timeslots configured.
4. ++++ Transcoding channels allocated: 2 +++++
---------------This is the total number of transcoding sessions configured on your gateway and allocated to this dsp.
5. ++++ Signaling channels allocated: 0 ++++++++
---------------This is a static value and it depends on how many voice channels have been allocated to this DSP based on your configuration and available credit on the dsp
6. ++++ Voice channels allocated: 0 +++++++++
-----------------------This is where you see the real time traffic of how many voice channels are using this dsp.
E.g Look at this output again. In this gateway I have configured 60 pri channels...
#sh voice dsp group all
DSP groups on slot 0:
dsp 1:
State: UP, firmware: 28.3.3
Max signal/voice channel: 43/43
Max credits: 645, Voice credits: 645, Video credits: 0
num_of_sig_chnls_allocated: 30
Transcoding channels allocated: 6
Group: FLEX_GROUP_VOICE, complexity: FLEX
Shared credits: 451, reserved credits: 0
Signaling channels allocated: 30---------------dsp 1 is allocacated 30 channels
Voice channels allocated: 0
Credits used (rounded-up): 0
Group: FLEX_GROUP_XCODE, complexity: HIGH
Shared credits: 0, reserved credits: 194
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: 28.3.3
Max signal/voice channel: 43/43
Max credits: 645, Voice credits: 645, Video credits: 0
num_of_sig_chnls_allocated: 12
Transcoding channels allocated: 14
Group: FLEX_GROUP_VOICE, complexity: FLEX
Shared credits: 193, reserved credits: 0
Signaling channels allocated: 12---------DSP2 is allocated 12 channels
Voice channels allocated: 0
Credits used (rounded-up): 0
Group: FLEX_GROUP_XCODE, complexity: HIGH
Shared credits: 0, reserved credits: 452
Transcoding channels allocated: 0
Credits used (rounded-up): 0
Slot: 0
Device idx: 0
PVDM Slot: 0
Dsp Type: SP2600
dsp 3:
State: UP, firmware: 28.3.3
Max signal/voice channel: 42/43
Max credits: 645, Voice credits: 645, Video credits: 0
num_of_sig_chnls_allocated: 18
Transcoding channels allocated: 0
Group: FLEX_GROUP_VOICE, complexity: FLEX
Shared credits: 276, reserved credits: 0
Signaling channels allocated: 18-----------DSP3 is allocated 18 channels making total of 60 channels
Voice channels allocated: 0
Credits used (rounded-up): 0
Group: FLEX_GROUP_CONF, complexity: CONFERENCE
Shared credits: 0, reserved credits: 369
Codec: CONF_G729, maximum participants: 8
Sessions per dsp: 7
Slot: 0
Device idx: 0
PVDM Slot: 0
Dsp Type: SP2600
Also note that in this output the voice channels allocated is 0, because there is no active call ongoing..
Now look at this with two calls ongoing. You can see that the voice channel allocated has changed.
show voice dsp group all
DSP groups on slot 0:
dsp 1:
State: UP, firmware: 28.3.3
Max signal/voice channel: 43/43
Max credits: 645, Voice credits: 645, Video credits: 0
num_of_sig_chnls_allocated: 30
Transcoding channels allocated: 6
Group: FLEX_GROUP_VOICE, complexity: FLEX
Shared credits: 421, reserved credits: 0
Signaling channels allocated: 30
Voice channels allocated: 2---------------------2 active calls/ 2 channels in use
Credits used (rounded-up): 30------------------shows total credits used
Voice channels:
Ch01: voice port: 0/0/0:15.1, codec: g711ulaw, credits allocated: 15
Ch02: voice port: 0/0/0:15.2, codec: g711ulaw, credits allocated: 15
Group: FLEX_GROUP_XCODE, complexity: HIGH
Shared credits: 0, reserved credits: 194
Transcoding channels allocated: 1----------------1 xcoding channel used on this dsp
Credits used (rounded-up): 33-------------xcoding used 33 credits
Slot: 0
Device idx: 0
PVDM Slot: 0
Dsp Type: SP2600
The reason why the channels allocated reduced is this:When flex configured as the dsp complexity mode, the calculation perfomred by IOS is such that each channel will use a total of 15 credits./15 MIPS
Now when you have a total of 240 credits, that will give you 240/15=16 channels.
If you change you voice-card codec complexity to high, the IOS calculates each call to use about 30 credits. now 240/30 =8 channels.
So the higher the complexity mode of the dsp, the lower density of calls you will have. Infact when you go from flex to high you will half the amount of voice channels available
Please rate all useful posts
"'Nature is too thin a screen, the glory of the omnipresent God bursts through it everywhere"-Ralph Waldo Emerson
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