11-19-2008 05:48 AM - edited 03-15-2019 02:38 PM
Hi,
Incoming calls to a Cisco Phone CFwdAll to Cisco Unity (A Different Region/Location G.729br8) were dropping on the H323 2821 Voice Gateway Router.
I have configured our Voicemail Device Pool to use a Region that connects to all other sites at G.711 and the CFwdAll to Unity is now successful.
I don't understand why this failed before as the voice/voip dial peers were calling the;
voice-class codec 1
voice class codec 1
codec preference 1 g729br8
codec preference 2 g711ulaw
codec preference 3 g711alaw
Am I missing some more config to force the gateway to accept the originally configured G.729br8 codec.
All of our othersites have gateway routers that are MGCP controlled, we have never seen this before, they CFwdAll to Unity at G.729br8 over the WAN.
Solved! Go to Solution.
11-20-2008 01:59 AM
With a PVDM2-32 you should certainly be able to provision transcoding sessions when you are only using 8 voice channels.
If the sessions remaining are 0, then it possible there are other VWICs installed which have used up the remaining channels?
Incidentally, when configuring the DSP resource sharing, make sure that you have specified the appropriate complexity. This depends on whether you are using only G711 or G729 or both which is high complexity.
Here is an example of hardware transcoder:-
voice-card 0
dsp services dspfarm
codec complexity flex
Conferencing/Transcoding commands when used with PVDM2-XX DSPs:
sccp local
sccp ccm 192.168.1.1 identifier 1 version 4.1
sccp ccm 192.168.1.2 identifier 2 version 4.1
sccp
!
sccp ccm group 1
associate ccm 1 priority 1
associate ccm 2 priority 2
associate profile 1 register XCD-NAME
registration retries 20
registration timeout 30
keepalive retries 5
!
dspfarm profile 1 transcode
codec g711ulaw
codec g711alaw
codec g729ar8
codec g729abr8
maximum sessions 2
associate application SCCP
no shut
The XCD-NAME has to be exactly the name that you assign to the enhanced IOS transcoder in CCM, otherwise it will not register.
The identifier version depends on the IOS version. After the version keyword enter ? to list available options, simply select one the matches your CUCM version. If your CCM version is not listed, select the lastest available.
Hope this helps.
Allan.
Pls rate helpful posts.
11-21-2008 02:02 AM
Kim,
To configure a xcoder on a voice gateway below are the sample commands you need.
The command you are trying to use is for pvdm-12. ie. But what you have is a pvdm2-X
So you should use this..
sccp local GigabitEthernet0/0
sccp ccm 192.168.2.12 identifier 10 version 4.1
sccp
!
sccp ccm group 1
associate ccm 10 priority 1
associate profile 2 register MTP-IPCS3825
associate profile 20 register CFB-IPCS3825
!
dspfarm profile 2 transcode
codec g711ulaw
codec g711alaw
codec g729ar8
codec g729abr8
maximum sessions 4
associate application SCCP
!
dspfarm profile 20 conference
codec g711ulaw
codec g711alaw
codec g729ar8
codec g729abr8
codec g729r8
codec g729br8
maximum sessions 4
associate application SCCP
HTH
11-19-2008 08:23 AM
have you enabled G729 in the Unity server?? if not it's under the advanced settings tools.
we recommend not enabling this because it causes overhead on Unity and use XCODERs instead
HTH
java
if this helps, please rate
11-19-2008 12:41 PM
From Unity-SRDN, by default Unity3.1 and later use native transcoding to support both G.711 & G.729 using Unity srv itself CPU resource.
In real situation, we may turn off G.729 support in Unity srv itself:
regedit -> HKEY_LOCAL_MACHINE\SOFTWARE\Active Voice\AvSkinny\DWORD: G729 Enabled = '0'. See tooldepot advance settings for more detail.
Then all transcoding should be done by other resources like: PVDMI/II
For your case,
I think all othersites with MGCP vgw, they have xcoding resources available in their MRTG so they can do xcoding properly, therefore, all G.729 unity calls succeed.
For H323 vgw, you need to add xcoding resource to your ephones, here is the sample:
CME-conf#
voice-card 1
dsp service dspfarm
dspfarm transcode maximum session 2
dspfarm
telephony-service
sdsp tag 1 mtpMacxxxxxxxxx
sdsp unit 1
sdsp transcode session 2
Pls rate if help
James
11-20-2008 12:27 AM
Hi James,
when I try to enter
dspfarm transcoder maximum sessions
it only allows me " <0-0> Specify the maximum transcoding sessions value"
The 32 PVDM Module is only using timeslots 1-8,16 as this is E1 with 8 channels.
I can't understand why I am unable to borrow the remaining dsp resources from the 22 available.
When I try to add telephony-service I get "Need to remove call-manager fallback config" which I require for resilience.
11-20-2008 01:59 AM
With a PVDM2-32 you should certainly be able to provision transcoding sessions when you are only using 8 voice channels.
If the sessions remaining are 0, then it possible there are other VWICs installed which have used up the remaining channels?
Incidentally, when configuring the DSP resource sharing, make sure that you have specified the appropriate complexity. This depends on whether you are using only G711 or G729 or both which is high complexity.
Here is an example of hardware transcoder:-
voice-card 0
dsp services dspfarm
codec complexity flex
Conferencing/Transcoding commands when used with PVDM2-XX DSPs:
sccp local
sccp ccm 192.168.1.1 identifier 1 version 4.1
sccp ccm 192.168.1.2 identifier 2 version 4.1
sccp
!
sccp ccm group 1
associate ccm 1 priority 1
associate ccm 2 priority 2
associate profile 1 register XCD-NAME
registration retries 20
registration timeout 30
keepalive retries 5
!
dspfarm profile 1 transcode
codec g711ulaw
codec g711alaw
codec g729ar8
codec g729abr8
maximum sessions 2
associate application SCCP
no shut
The XCD-NAME has to be exactly the name that you assign to the enhanced IOS transcoder in CCM, otherwise it will not register.
The identifier version depends on the IOS version. After the version keyword enter ? to list available options, simply select one the matches your CUCM version. If your CCM version is not listed, select the lastest available.
Hope this helps.
Allan.
Pls rate helpful posts.
11-20-2008 02:22 AM
Hi Allan thanks for looking into this, I had already had the router setup as a xcoder on CCM and registered, when I made test calls the show dspfarm all showed no xcoding sessions and sure enough the call was disconnected,
There is only an E1 Card installed;
Cisco 2821 (revision 53.51) with 251904K/10240K bytes of memory.
Processor board ID FCZ122272GV
2 Gigabit Ethernet interfaces
9 Serial interfaces
1 Channelized E1/PRI port
DRAM configuration is 64 bits wide with parity enabled.
239K bytes of non-volatile configuration memory.
62720K bytes of ATA CompactFlash (Read/Write)
Here is the edited config of my 2821 Router;
card type e1 0 0
!
network-clock-participate wic 0
network-clock-select 1 E1 0/0/0
!
multilink bundle-name authenticated
!
isdn switch-type primary-net5
!
voice class codec 1
codec preference 1 g729br8
codec preference 2 g711ulaw
!
voice class h323 1
h225 timeout tcp establish 4
!
voice translation-rule 1
rule 1 /XXXX/ /XX/
!
voice translation-profile XXXXXXToXXXX
translate called 1
!
voice-card 0
dspfarm
dsp services dspfarm
!
call-history-mib retain-timer 500
call-history-mib max-size 500
!
controller E1 0/0/0
pri-group timeslots 1-8,16
description XXXXXXXXX DDi
!
interface GigabitEthernet0/0
description VOICE_GATEWAY$ETH-LAN$
ip address XXX.XXX.XXX.XXX 255.255.255.0
duplex auto
speed auto
h323-gateway voip bind srcaddr XXX.XXX.XXX.XXX
!
interface Serial0/0/0:15
no ip address
encapsulation hdlc
isdn switch-type primary-net5
isdn overlap-receiving
isdn incoming-voice voice
isdn send-alerting
no cdp enable
!
voice-port 0/0/0:15
translation-profile incoming XXXXXXToXXXX
!
dial-peer voice 10 voip
preference 1
destination-pattern XX..
voice-class codec 1
voice-class h323 1
session target ipv4:XXX.XXX.XXX.XXX
dtmf-relay h245-alphanumeric
no vad
!
dial-peer voice 11 voip
preference 2
destination-pattern XX..
voice-class codec 1
voice-class h323 1
session target ipv4:XXX.XXX.XXX.XXX
dtmf-relay h245-alphanumeric
no vad
!
dial-peer voice 20 pots
destination-pattern 9.T
direct-inward-dial
port 0/0/0:15
!
dial-peer voice 21 pots
destination-pattern 9...........
direct-inward-dial
port 0/0/0:15
!
dial-peer voice 22 pots
destination-pattern 9......
direct-inward-dial
port 0/0/0:15
!
dial-peer voice 23 pots
destination-pattern 9............
direct-inward-dial
port 0/0/0:15
!
dial-peer voice 24 pots
destination-pattern 999
direct-inward-dial
port 0/0/0:15
!
call-manager-fallback
secondary-dialtone 9
max-conferences 8 gain -6
transfer-system full-consult
timeouts interdigit 4
ip source-address XXX.XXX.XXX.XXX port 2000
max-ephones 48
max-dn 48
system message primary XXXXXXX
time-zone 21
time-format 24
date-format dd-mm-yy
Kim
11-20-2008 08:53 AM
I have verified the setup in my environment and got it working.
Points here:
********************
1. Since this site phones been controller by local H323 vgw, they need local dsp xcode resource to do the job but no from CCM.
2. Ensure local DSP resource still exist for xcoding capability.
To verify:
********************
cmd: show voice dsp <-- To see if has dsp resource available.
For my T1 2/0 port, I assign D-channel 1-17 to pri-group, so I have 1 DSP chip available.
The output looks like:
C549 009 04 {medium} 4.4.25 IDLE idle 0 2/1:23 05 0 0/0
C549 009 01 {medium} 4.4.25 IDLE idle 0 0 2/0:23 21 0 0/0
02 {medium} 4.4.25 IDLE idle 0 2/0:23 22 0 0/0
03 {medium} 4.4.25 IDLE idle 0 2/0:23 23 0 0/0
C549 010 01 {medium} 4.4.25 IDLE idle 0 0 2/1:23 06 0 0/0
02 {medium} 4.4.25 IDLE idle 0 2/1:23 07 0 0/0
03 {medium} 4.4.25 IDLE idle 0 2/1:23 08 0 0/0
04 {medium} 4.4.25 IDLE idle 0 2/1:23 09 0 0/0
C549 011 01 {medium} 4.4.25 IDLE idle 0 0 2/1:23 10 0 0/0
02 {medium} 4.4.25 IDLE idle 0 2/1:23 11 0 0/0
03 {medium} 4.4.25 IDLE idle 0 2/1:23 12 0 0/0
04 {medium} 4.4.25 IDLE idle 0 2/1:23 13 0 0/0
C549 012 01 {medium} 4.4.25 IDLE idle 0 0 2/1:23 14 0 0/0
02 {medium} 4.4.25 IDLE idle 0 2/1:23 15 0 0/0
03 {medium} 4.4.25 IDLE idle 0 2/1:23 16 0 0/0
04 {medium} 4.4.25 IDLE idle 0 2/1:23 17 0 0/0
C549 014 01 {medium} 4.4.25 IDLE idle 0 0 2/1:23 01 0 0/0
02 {medium} 4.4.25 IDLE idle 0 2/1:23 02 0 0/0
03 {medium} 4.4.25 IDLE idle 0 2/1:23 03 0 0/0
04 {medium} 4.4.25 IDLE idle 0 2/1:23 04 0 0/0
Note, some D-channels (18 ~ 23) won't consume the DSP resource which in turn free for my next step to assign the DSP resource for xcoding.
If you don't have enough DSP resource, then you may either lower down your D-channel in your E1 or buy extra PVDM DSP module.
Configuraion sample
**********************
sccp
sccp local fa0/1
voice-card 0
dspfarm
dsp services dspfarm
dspfarm transcoder max session 2
dspfarm
call-manager-fallback
sdspfarm tag 1 mtp
sdspfarm unit 1
sdspfarm transcoder session 2
Done!
So it will support your local phone with xcoding capability. Whenever they need to talk to remote Unity with G729 <-> G711 xcoding, it will use the local available dspfarm resource defined above.
BTW, I though you use CME so I give it 'telephony-service'. You can put the dspfarm resource under 'call-manager-fallback' too.
Pls rate if help.
James
11-21-2008 12:26 AM
Hi James,
I am unable to configure;
dspfarm transcoder max sessions 2
^
% Invalid input detected at '^' marker.
Even though I have configured the PVDM32;
controller E1 0/0/0
pri-group timeslots 1-8,16
I would have expected to be able to create at least 2 x transcoder sessions.
Is there anything I need to configure under;
controller e1 0/0/0?
Regards Kim
11-21-2008 02:02 AM
Kim,
To configure a xcoder on a voice gateway below are the sample commands you need.
The command you are trying to use is for pvdm-12. ie. But what you have is a pvdm2-X
So you should use this..
sccp local GigabitEthernet0/0
sccp ccm 192.168.2.12 identifier 10 version 4.1
sccp
!
sccp ccm group 1
associate ccm 10 priority 1
associate profile 2 register MTP-IPCS3825
associate profile 20 register CFB-IPCS3825
!
dspfarm profile 2 transcode
codec g711ulaw
codec g711alaw
codec g729ar8
codec g729abr8
maximum sessions 4
associate application SCCP
!
dspfarm profile 20 conference
codec g711ulaw
codec g711alaw
codec g729ar8
codec g729abr8
codec g729r8
codec g729br8
maximum sessions 4
associate application SCCP
HTH
11-21-2008 02:32 AM
Hi HTH,
excellent help thanks.
Kim
11-21-2008 03:04 AM
Hi Kim,
In addition to the goodwork by Deji, please refer back to my previous post, which you possibly overlooked the example provided.
Glad that you were able to resolve the problem :)
Regards
Allan.
11-21-2008 03:22 AM
Allan,
I am sure Kim missed that out.
I do appreciate your great work here and I admire your depth of knowledge.
I believe you are in the UK. I work for NSC Global here in London. May be we can be good buddies!
11-21-2008 03:30 AM
Thanks for the appreciate Deji :) I wish I had more time to regularly keep posting.. It's a great forum, and you do learn from other posts too.
Best regards
Allan
11-21-2008 03:41 AM
Thanks to all of you, this forum is exceptional.
Regards Kim
11-21-2008 01:50 PM
Yes - I forget it is 2821 rtr which should use PVDM II resource other than PVDM I. So my previous sample configure is for PVDM I. For PVDM II, then 2nd sample is good.
Good to know your question been answered!
James
Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: