Hi Kshitij,

Thanks for the great explanation.I have one doubt regarding case1.

In case 1 (call coming from PSTN to branch phone) when we have not
defined any codec on voip peer then by default g729 codec will be
selected and it seems G729 codec finally used to connect to phone
irrespective of fact that branch gateway and branch Ip phone are in
same region. Show voice call summ on brach router shows that call
connected using g729 and MOH to PSTN caller will not work in this case
when CUCM is multicasting MOH (no multicating from branch router) as
g729 codec is not supported.
Same MOH/multicasting works when voip dial-peer codec is forced G711.

PSTN ------------GW ------G729 ------CUCM--------g729----- IP

PSTN---------- GW-------------------------G729-------------------IP Phone

The reason for g729 codec used seems to be fact that this codec is
used by GW voip dial-peer as default (only option) and now CUCM will
negotiate codec with IP phone using sccp keeping in view that one leg
is g729 so final selection will be g729.
If this is the case transcoder should be invoked to send call to Ip phone.

Has someone tested this in lab scenario.

Regards,
Brajesh.









On Mon, Nov 14, 2011 at 6:06 PM, Kshitij Singhi
<martinian.ksin...@gmail.com> wrote:
> Hi Sonu,
> So for a call on the Branch site, I can think of a few scenarios:
> 1. Call coming in for an IP Phone at the branch site from the PSTN.
> 2. Call being made from a phone at Branch Site 1 to another phone at Branch
> Site 1.
> 3. Call being made from a phone at Branch Site X to a phone at Branch Site
> 1.
> 4. Call coming in for an IP Phone at the branch site from the PSTN rolling
> over to Unity.
> 5. Call coming in via a GK to a phone at Branch Site 1
> For 2. and 3. we don't need to worry about the dial peers. This is SCCP
> signalling within CUCM itself and the codec selected is going to be governed
> by the Region settings. I am assuming that we have the following regions
> created (all sites are CUCM sites - if there is a GK involved, there might
> be a CME site in which case one of the Regions will not be there):
> Reg-SiteA
> Reg-SiteB
> Reg-SiteC
> Reg-GK
> Reg-MOH
> Within the same region, the relationship is G.711. Inter-region
> relationships are G.729. The only exception to this rule is the MOH region
> which is G.711 throughout.
> For 5. the dial-peer with a session target of ras shouldn't have any codec
> defined on it. That would invoke G.729r8 on such calls.
> For 1 and 2 we have the dial peer set up as you have described. In such a
> case, the Destination phone will be in Reg-SiteB and the ingress GW will
> also be in the same Region. So it doesn't really matter how we specify the
> voice class codec since this is not a call between sites.
> For 4, Unity should be in Reg-SiteA and the IP Phone/Ingress GW in
> Reg-SiteB. Thus, even though G711ulaw will be advertised in the TCS to CUCM,
> only G.729 will be negotiated due to the Inter-region relationship defined.
> What we should be looking at are calls from Site A TEHO to a Site B PSTN
> phone (Or something similar). According to me, this is a call between sites
> and once again, we needn't worry about the preference of codecs in the voice
> class command since:
> Site A IP Phone (Reg-SiteA) will be calling the egress GW at Site B
> (Reg-SiteB). If the incoming dial peer at Site B has both codecs defined,
> the GW will send an H.245 TCS to CUCM advertising both codecs. However, CUCM
> will enforce the region relationship(s) mentioned previously and will thus
> negotiate only G.729.
> Note that the preference of the codecs in the voice class codec becomes a
> matter of concern only when something like this happens:
> 1. An H.323 endpoint advertises G.711 as first preference and then G.729
> 2. GW advertises G729 as first preference and then G.711.
> In this scenario, the MSD will be the tie breaker. In most cases, for a CUCM
> scenario, CUCM becomes the master and "wins", so to speak although I don't
> know of any way to define a codec "preference" on CUCM as such.
>
> On Mon, Nov 14, 2011 at 12:18 PM, <ccie_voice-requ...@onlinestudylist.com>
> wrote:
>>
>> Send CCIE_Voice mailing list submissions to
>>        ccie_voice@onlinestudylist.com
>>
>> To subscribe or unsubscribe via the World Wide Web, visit
>>        http://onlinestudylist.com/mailman/listinfo/ccie_voice
>> or, via email, send a message with subject or body 'help' to
>>        ccie_voice-requ...@onlinestudylist.com
>>
>> You can reach the person managing the list at
>>        ccie_voice-ow...@onlinestudylist.com
>>
>> When replying, please edit your Subject line so it is more specific
>> than "Re: Contents of CCIE_Voice digest..."
>>
>>
>> Today's Topics:
>>
>>   1. Re: [VM Ware Question] (Adam Thompson)
>>   2. Voice Class Codec Question. (Pradeep Kumar Sharma)
>>   3. Re: can not save script in script repository (=?gbk?B?YnJ1bm8=?=)
>>   4. Re: Number of IP Phones in the lab (Google)
>>   5. uccx  Unified CM Telephony Subsystem  gray out
>>      (=?gbk?B?YnJ1bm8=?=)
>>
>>
>> ----------------------------------------------------------------------
>>
>> Message: 1
>> Date: Sun, 13 Nov 2011 21:15:36 -0500
>> From: Adam Thompson <arthomp...@gmail.com>
>> To: michael.se...@compucom.com
>> Cc: ccie_voice@onlinestudylist.com
>> Subject: Re: [OSL | CCIE_Voice] [VM Ware Question]
>> Message-ID:
>>
>>  <cabvs7z0bs+7hsfnf8t8o6yuyg88c713bkk_35jft2e0ngor...@mail.gmail.com>
>> Content-Type: text/plain; charset="iso-8859-1"
>>
>> ESXi 5 has pretty much the same look and feel of 4.1. The biggest
>> difference is how they do the licensing. In 4.1, the licensing was based
>> on
>> the number of CPUs. In 5, it is based on RAM, and another thing I believe.
>> Oh, and it does include vSphere.
>>
>> HTH
>> -Adam
>>
>> On Sun, Nov 13, 2011 at 8:21 PM, <michael.se...@compucom.com> wrote:
>>
>> > Anyone out there in CCIE Voice LAND using ESXi 5 yet.  Looking for some
>> > feedback before installing.  Does it come with the VSphere Client like
>> > 4.1?  Does it have pretty much the look and feel of 4.1?****
>> >
>> > ** **
>> >
>> > ** **
>> >
>> > ** **
>> >
>> > ** **
>> >
>> > ** **
>> >
>> > ** **
>> >
>> > ** **
>> >
>> > _______________________________________________
>> > For more information regarding industry leading CCIE Lab training,
>> > please
>> > visit www.ipexpert.com
>> >
>> > Are you a CCNP or CCIE and looking for a job? Check out
>> > www.PlatinumPlacement.com
>> >
>> -------------- next part --------------
>> An HTML attachment was scrubbed...
>> URL:
>> </archives/ccie_voice/attachments/20111113/d07f85c2/attachment-0001.html>
>>
>> ------------------------------
>>
>> Message: 2
>> Date: Mon, 14 Nov 2011 08:25:14 +0530
>> From: Pradeep Kumar Sharma <sonu.netwo...@gmail.com>
>> To: ccie_voice@onlinestudylist.com
>> Subject: [OSL | CCIE_Voice] Voice Class Codec Question.
>> Message-ID:
>>
>>  <calwzlgcx8epxzok-atylgws4mgzctwkiajvfmdb4rclgpbd...@mail.gmail.com>
>> Content-Type: text/plain; charset="iso-8859-1"
>>
>> Hello Guys,
>>
>> If we have been asked to use G729 codec between sites, then what should be
>> my first preference of codec in voice class codec profile for incoming
>> calls to call manager on branch sites.
>>
>> Generally we use :-
>>
>> on Brance 1 Router:
>>
>> voice class codec 1
>> codec preference 1 g711ulaw
>> codec preference 2 g729r8
>>
>> dial-peer voice 1000 voip
>>  destination-pattern 1...$
>>  voice-class codec 1
>>  session target ipv4:X.X.X.X   (Pub or Subs)
>> dtmf-relay h245-alphanumeric
>> no vad
>>
>> ====
>>
>> but in this case we are using g711 over the wan and i think this is not
>> the
>> requirement.
>> Is it the correct configuration Or do we need to use g729 codec as the
>> first preference ?
>>
>>
>> -SONU-
>> -------------- next part --------------
>> An HTML attachment was scrubbed...
>> URL:
>> </archives/ccie_voice/attachments/20111114/d386a75e/attachment-0001.html>
>>
>> ------------------------------
>>
>> Message: 3
>> Date: Mon, 14 Nov 2011 12:23:07 +0800
>> From: "=?gbk?B?YnJ1bm8=?=" <bruno.juni...@gmail.com>
>> To: "=?gbk?B?S2VuIFd5YW4=?=" <kew...@gmail.com>,
>>        "=?gbk?B?Q0NJRVZvaWNlS1A=?=" <ccievoic...@gmail.com>
>> Cc: CCIE-V???? <ccie_voice@onlinestudylist.com>
>> Subject: Re: [OSL | CCIE_Voice] can not save script in script
>>        repository
>> Message-ID: <tencent_569c00be4e1bd4b60e355...@qq.com>
>> Content-Type: text/plain; charset="gbk"
>>
>> sorry for delay reply.  it works . thx .
>>
>>  ------------------
>>  Best Regards,
>> Bruno
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>  ------------------ Original ------------------
>>  From:  "Ken Wyan"<kew...@gmail.com>;
>>  Date:  Sun, Nov 13, 2011 11:12 AM
>>  To:  "CCIEVoiceKP"<ccievoic...@gmail.com>;
>>  Cc:  "bruno"<bruno.juni...@gmail.com>;
>> "CCIE-V????"<ccie_voice@onlinestudylist.com>;
>>  Subject:  Re: [OSL | CCIE_Voice] can not save script in script repository
>>
>>
>>  It's always better to import script from Script Management page. But then
>> it's shown as "SCRIPT" only & default scripts are shown as "SSCRIPT".
>>
>>  After importing to UCCX we needn't worry about folder locations.
>>
>>
>>  On Sat, Nov 12, 2011 at 11:27 PM, CCIEVoiceKP <ccievoic...@gmail.com>
>> wrote:
>>   Not sure if it's a bug or by design, but you need to import a script
>> first on the Script Management page ... Then the default folder will show up
>> ...
>>
>>  Kevin Prater
>>  907.301.6519
>>
>>
>> Sent from my iPhone and I have big thumbs ... So please excuse the typos.
>>
>>
>> On Nov 11, 2011, at 8:12 PM, "bruno" <bruno.juni...@gmail.com> wrote:
>>
>>
>>
>>       after i have intergrate uccx with cucm. I success login uccx editor
>> with uccxadmin.after edit script ,i want to save the script in script
>> repository. i can't find the default folder. long time ago ,i can find it.
>> what happen .
>>  ------------------
>>  Best Regards,
>> Bruno
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>  _______________________________________________
>> For more information regarding industry leading CCIE Lab training, please
>> visit www.ipexpert.com
>>
>> Are you a CCNP or CCIE and looking for a job? Check out
>> www.PlatinumPlacement.com
>>
>>
>> _______________________________________________
>> For more information regarding industry leading CCIE Lab training, please
>> visit www.ipexpert.com
>>
>> Are you a CCNP or CCIE and looking for a job? Check out
>> www.PlatinumPlacement.com
>> -------------- next part --------------
>> An HTML attachment was scrubbed...
>> URL:
>> </archives/ccie_voice/attachments/20111114/1a1a60f5/attachment-0001.html>
>>
>> ------------------------------
>>
>> Message: 4
>> Date: Mon, 14 Nov 2011 08:15:41 +0300
>> From: "Google" <ccievoicedu...@gmail.com>
>> To: "'Mike '" <mik...@msn.com>, <ccie_voice@onlinestudylist.com>
>> Subject: Re: [OSL | CCIE_Voice] Number of IP Phones in the lab
>> Message-ID: <e47042f9627b436aacf46c9e2abc8...@meaa.net.intra>
>> Content-Type: text/plain; charset="us-ascii"
>>
>> Hi,
>>
>>
>>
>> You will be having two phone each site and one PSTN Phone, total 7 phones.
>>
>>
>>
>> Br1 Phone connected to ESW-4 port
>>
>> Br2 Phone connected to ESW-4 port
>>
>> HQ Phone connected to HQ-SW 3750.
>>
>>
>>
>> Raj
>>
>>
>>
>>
>>
>> -----Original Message-----
>> From: ccie_voice-boun...@onlinestudylist.com
>> [mailto:ccie_voice-boun...@onlinestudylist.com] On Behalf Of Mike
>> Sent: Monday, November 14, 2011 3:23 AM
>> To: ccie_voice@onlinestudylist.com
>> Subject: [OSL | CCIE_Voice] Number of IP Phones in the lab
>>
>>
>>
>> I'm in the process of collecting 7961's and I'm a bit confused on how many
>> phones are in the lab. Is it 2 phones per location plus a PSTN? I figured
>> 6
>> 7961's plus a 7960 for PSTN.
>>
>>
>>
>> Also does BR2 have a HWIC-ESW or 3750?
>>
>>
>>
>> Thanks,
>>
>> Mike
>>
>> -------------- next part --------------
>> An HTML attachment was scrubbed...
>> URL:
>> </archives/ccie_voice/attachments/20111114/8c8a560a/attachment-0001.html>
>>
>> ------------------------------
>>
>> Message: 5
>> Date: Mon, 14 Nov 2011 14:48:51 +0800
>> From: "=?gbk?B?YnJ1bm8=?=" <bruno.juni...@gmail.com>
>> To: "=?gbk?B?Q0NJRS1W08q8/sHQse0=?=" <ccie_voice@onlinestudylist.com>
>> Subject: [OSL | CCIE_Voice] uccx  Unified CM Telephony Subsystem  gray
>>        out
>> Message-ID: <tencent_0521a5eb18876e042d548...@qq.com>
>> Content-Type: text/plain; charset="gbk"
>>
>> i have creat Unified CM Telephony Group #0 \  application \trigger etc on
>> uccx ,and check sync ,everything is fine. But when i check the them on cucm
>> ,i found none of them register.  so i go to uccx control center, i found the
>> Unified CM Telephony Subsystem  gray out,whatever i restart or reboot the
>> server. it just can't up .  what  's prob do u think ?
>>
>>  Unified CM Telephony Users
>> jtapi_1 -- Ok
>>
>>
>> Unified CM Telephony Port Groups
>>
>> Port Group 0
>> CTI ports on node 1 -- Ok
>> CCM Data
>>  Device Pool--Ok
>>  Media Resource Group List-- Ok
>>  PresenceGroup-- Ok
>>  Partition-- Ok
>>  User Hold Audio Source-- Ok
>>  Alerting Name Ascii-- Ok
>>  Require DTMF Reception-- Ok
>>  NetWork Hold Audio Source-- Ok
>>  CallPickUpGroup-- Ok
>>  VoiceMailProfile-- Ok
>>  AAR Group-- Ok
>>  Location-- Ok
>>  Calling Search Space-- Ok
>>
>>
>> Unified CM Telephony Triggers
>>
>> ICD
>> ICD -- Ok
>> CCM Data
>>  Forward Busy Calling Search Space-- Ok
>>  Device Pool-- Ok
>>  Alerting Name Ascii-- Ok
>>  PresenceGroup-- Ok
>>  Partition-- Ok
>>  CallPickUpGroup-- Ok
>>  VoiceMailProfile-- Ok
>>  Location-- Ok
>>  Calling Search Space-- Ok
>>
>>  ------------------
>>  Best Regards,
>> Bruno
>> -------------- next part --------------
>> An HTML attachment was scrubbed...
>> URL: </archives/ccie_voice/attachments/20111114/5b92800d/attachment.html>
>>
>> ------------------------------
>>
>> _______________________________________________
>> CCIE_Voice mailing list
>> CCIE_Voice@onlinestudylist.com
>> http://onlinestudylist.com/mailman/listinfo/ccie_voice
>>
>>
>> End of CCIE_Voice Digest, Vol 69, Issue 52
>> ******************************************
>
>
> _______________________________________________
> For more information regarding industry leading CCIE Lab training, please
> visit www.ipexpert.com
>
> Are you a CCNP or CCIE and looking for a job? Check out
> www.PlatinumPlacement.com
>
_______________________________________________
For more information regarding industry leading CCIE Lab training, please visit 
www.ipexpert.com

Are you a CCNP or CCIE and looking for a job? Check out 
www.PlatinumPlacement.com

Reply via email to