Voice class codec issue

Hi,
I have a sip trunk terminating on a CUBE. On the CUBE, I hard-code the dial-peer 211 with G.729 codec. On an inbound call to a DID terminating on the IP phone, the call negotiated g.729 and completed successfully. No issues.
Now I created a voice class codec with 2 codecs in the following preferences
voice class codec 1
codec preference 1 ---> g729
codec preference 2 ---> g711
I then apply this to a dial-peer 211.
On an inbound call from the same incoming number to the same DID(same endpoint), this call is now negotiated only at G.711 codec. I verified that I am hitting the same dial-peer by using "show call active voice brief" and checking the pid. It is using dial-peer 211.
My expectation is that the call will still negotiate G.729 and will use G.711 only if the call cannot be completed at G.729.
As a test, I also verified by removing codec preference 2 (i.e.) G.711 from voice class codec 1 and call negotiated at G.729.
BTW, in each scenario, I used the show voice call active compact to verify the call legs and codecs being used.
CUCM version 9.1 and IOS 15.1(4). Any ideas why this odd behavior?
Regards,
K iyer

Here is the catch with CUCM. CUCM always prefers and will use the "best available codec" offered. Therefore, when the gateway forwards the setup to CUCM, it would see g711 as a valid option and would use it. Here is more info on the same:
http://www.cisco.com/en/US/docs/voice_ip_comm/cucm/admin/9_1_1/ccmsys/CUCM_BK_C5565591_00_cucm-system-guide-91_chapter_0101.html#CUCM_RF_RE6237E1_00
Regions
Regions provide capacity controls for Cisco Unified Communications Manager multi-site deployments where you may need to limit the bandwidth for individual calls that are sent across a WAN link, but where you want to use a higher bandwidth for internal calls. Additionally, the system uses regions also for applications that only support a specific codec; for example, an application that only uses G.711. Use regions to specify the maximum transport-independent bit rate that is used for audio and video calls within a region and between regions; in this case, codecs with higher bit rates do not get used for the call.
Cisco Unified Communications Manager prefers codecs with better audio quality. For example, despite having a maximum bit rate of 32 kb/s, G.722.1 sounds better than some codecs with higher bit rates, such as G.711, which has a bit rate of 64 kb/s.
HTHs
Please rate helpful posts.

Similar Messages

  • Voice-Class Codec question

    What is it meant by allowing g711 30ms and g729 60ms.. I know this has to do with the bytes per frames, but how would you put that in the voice-class codec command.. How do you come up with the the total of bytes to accomplish the task...?

    i didt get your question,do you mean this?
    voice class codec 101
    codec preference 1 g729r8 bytes 40
    codec preference 2 g723r63 bytes 48
    codec preference 3 g723ar63 bytes 48

  • 'voice-class codec' for SCCP phones (CME)?

    Hi, with SIP phones it's possible to apply a codec voice class.
    Let's say I have the following voice class:
    voice class codec 1
    codec preference 1 g722-64
    codec preference 2 g711alaw
    I can apply it for SIP phones, e.g. for pool 9:
    voice register pool  9
    voice-class codec 1
    With SCCP phones, I can only set one codec with the 'codec' command under ephone.
    My goal is to use 'codec transparent' in the dial peer and to let the phone itself negotiate the codec. How can I do this with SCCP phones?
    For example, if I use 'codec transparent' in the dial-peer and someone (who doesn't support g722) calls me, then the SIP phone negotiates g711alaw with the other side and no transcoding is needed. This is what I also want for my SCCP phones. Am I missing a command?
    I'm using CME 8.6

    The syntax for SCCP phones is the same. Just apply the class to the VoIP dial peers.
    dial-peer voice 100 voip
    tone ringback alert-no-PI
    description For InBound VoIP
    modem passthrough nse codec g711ulaw
    voice-class codec 1 <<<<<
    voice-class h323 1
    incoming called-number .
    fax rate disable
    no vad
    Please rate helpful answers!

  • IPhone 4 voice/data connection issues?

    I've had my iPhone 4 for around 6 months now. Lately I've been dropping a lot of out-going calls and have had some issues receiving calls in the last few days. Today I've had 3 voice mail notifications from people who have tried to call me and could not get through. It rings through to voicemail and sends me a notification after they're done recording. I have anywhere from 2 to 4 service bars, usually averaging at 3 in this location.
    On top of the voice and call issues, I've been having problems with GPS and location services lately, too. I use the Waze app for directions. My phone will register 3G data signal, but none of the apps that use GPS can find any location. I have Location Service turned on in settings and have no problem starting my routes when I have wifi signal at home before I leave.
    Phone details:
    iPhone 4 8GB
    Sprint Network
    1 GB space available

    Helo mchelman,
    Thank you for using Apple Support Communities!
    I was researching what you may be able to do in this situation, and want to recommend this troubleshooting assistant.
    Calls and connection issues
    http://www.apple.com/support/iphone/assistant/calls/
    All the very best,
    Sterling

  • Class Loadin Issue!!!!!!!! Urjent

    My application is not able to load jar given in lib folder..It's loading application Server jar.............Which is causing class loader issue.............One way to fix it this to copy the jar in JDK jre/ext/lib.............BUT this can't be done on PRODUCTION environment................Please tell me some other workaround for that............
    Thanks in advance
    Samt

    stubbornpisces wrote:
    Hey Anurag,
    Thanks for the reply............
    I am using WebLogic 10.3 and We are implementing BIRT in our application for report Generation....
    The jar is js.jar under Rhino plugin of BIRT....
    Currently jar file is in classpath...BUT If I am copying the jar file at JRE /ext/lib.....then it's working fine............BUT on PRODUCTION box, I can't copy anything there...........Yes you should not be placing any third party libraries or your custom libraries there.
    SO Is there any work around that Weblogic picked my application specific jar before picking Weblogic Application's Jars.........
    If you are using an EAR file deployed on your WebLogic instance try placing the JAR file in EAR/lib folder (If not you can also try the WEB-INF/lib directory). It might help you. However I cannot recommend a sure shot location unless I know what invokes the classes inside "js.jar". You have to keep in mind the class loader hierarchy to know the right place where a particular JAR file to go. This is because a Parent Class Loader doesn't have visibility of Classes loaded by a Child Class Loader and hence the hierarchy is important.
    Read more about the WebLogic class loader hierarchy here: [http://e-docs.bea.com/wls/docs81/programming/classloading.html|http://e-docs.bea.com/wls/docs81/programming/classloading.html]
    Hope this helps!
    Cheers
    Anurag

  • Does resteasy API have class loader issues when using via OSGi

    Does resteasy API have class loader issues when using via OSGi

    Hi Scott,
    THis isnt an answer to ur Question, but could u tell me which jar files are needed for the packages:
    com.sap.portal.pcm.system.ISystems
    com.sap.portal.pcm.system.ISystem
    and under which path I coul dfind them.
    Thnx
    Regards
    Meesum.

  • Importing an Avid 6 edited film in .MOV into Adobe Premier CS6 for re-editing but codec issues!

    Hello,
    My first time using Adobe Premier CS6.
    I have edited a film on Avid 6 but it's far too big.
    I want to import this film into Adobe Premier CS6 for re editing so I can export it as a H.264 and make it small enough to post online (currently it's 9gb)
    I have tried importing it but I'm running into CODEC issues eeven though it's a .mov.  What can I do?
    Please help, it's all new to me.
    Cheers,
    S

    More information needed for someone to help... please click below and provide the requested information
    -PPro Information FAQ http://forums.adobe.com/message/4200840
    What version of quicktime do you have installed?
    Exactly what is inside that MOV wrapper?
    Codec & Format information, read both links in reply #1 http://forums.adobe.com/thread/1270588
    Report back with the codec details of your file, use the programs below... A screen shot works well to SHOW people what you are doing
    http://forums.adobe.com/thread/592070?tstart=30 for screen shot instructions
    For PC http://mediainfo.sourceforge.net/en or http://www.headbands.com/gspot/
    For Mac http://mediainspector.massanti.com/

  • Integrated WL/Jdeveloper class loading issue

    Hello,
    I am trying to run a deployed project , getting into this class loading issue. Any idea?
    javax.security.auth.login.LoginException: java.lang.LinkageError: loader constraint violation: when resolving interface method "com.scat.util.identity.UserFactory.lookup(Ljava/lang/String;)Lcom/scat/domain/identity/User;" the class loader (instance of weblogic/utils/classloaders/ChangeAwareClassLoader) of the current class, com/scat/auth/authentication/login/UserLoginModule, and the class loader (instance of sun/misc/Launcher$AppClassLoader) for resolved class, com/scatl/util/identity/UserFactory, have different Class objects for the type com/scat/domain/identity/User used in the signature
    Thanks
    Ram

    How many times are you loading the com/scat/domain/identity/User type?
    Is this in the system classloader and the application? and are you using class loading filtering in the application, for example,
    in weblogic.xml - prefer-web-inf-classes?

  • No audio on downloaded movies, codec issue???

    Hello,
    I hope I am in the right section to post this question, apologies if I am not. I have recently downloaded a few movies and mini series via a torrent website that have saved on my hard drive as avi files. The visual is perfect, however I have no audio. Is there a way to fix this? someone has told me that it may be a codec issue, although I do not know what to do to fix this, or what application I need to retrieve the audio. I have had a look on version tracker, but don't fully understand what the whole codec thing does.
    If more info is needed, please post back. sorry if this is a no brainer issue!
    I really appreciate any suggestions/info to help me out.
    thanks!

    Ok, so now I have another problem. a couple of the previous items I had downloaded were playing fine, audio and all, and now I have gone back to play these movies again to test the sound, and the sound has stopped on these now too! I have no idea what is going on with this. I am using quicktime to playback the movies, if that helps.
    thank you!

  • Avi codec issue

    A video with audio clip is created within Premier running on
    Windows 2000 and saved as avi & wav files. Importing to flash
    encoder, running on Vista gets codec issue error? Anybody have any
    ideas?

    Well you don't mention what version of the encoder you're
    running. Also post the entire message, or put a screen shot of the
    message up somewhere and someone will try to help.

  • Voice class uri - how to define subnet

    Hi,
    Does anyone know if there is a way to define IP subnet with "voice class uri" command instead of just one host?
    I would like to use it as incoming uri XXX inside dial-peer.
    Thanks in advance

    Hi Maciej
    There is a subtle difference between host 10.10.10 and pattern 10.10.10
    The pattern will match the entire URI, ie [email protected] will match.
    To match a subnet, you can use
    host 10.10.10 (which would also match 14.10.10.10)
    or more specifically
    host 10.10.10.[1-255]

  • Voice class

    Hi,
    i have a problem with the Voice class,
    i'm trying to switch Voices in an interface, in a Choice item, which selects leaVoice or marcoVoice,
    the probleme is that if i chose one of the 2 voices, my code doesnt change the voice for the next tries,
    my program synthesizes voice, and i can chose at any moment if i want to use lea or marco voice, my variables are changed when the Choice item is modified, but at the creation of the synthesizer, the voice used is always the same as the first initialized voice!
    you can see a part of my code just below:
    thanks for your help
    Sako
    static Voice leaVoice = new Voice(null, Voice.GENDER_FEMALE, Voice.AGE_YOUNGER_ADULT, null);
    static Voice marcoVoice = new Voice(null, Voice.GENDER_MALE, Voice.AGE_YOUNGER_ADULT, null);
    // Create the voice synthesizer
         private void makeSynthesizer(String Lang, String Country, String persoVoice) {
              try {
                   parler = 1;
                   try {
                        // Create a synthesizer
                        SynthesizerModeDesc mode = new SynthesizerModeDesc(new Locale(Lang, Country));
                        if (persoVoice.equals("Lea")) mode.addVoice(leaVoice);
    /*Here is the problem          <=*/     else mode.addVoice(marcoVoice);
    /*the new voice is not added? <=*/     synth = Central.createSynthesizer(mode);
         } catch (Exception e) {
                        parler = 0;}
    private void animate() {
              try {
                   makeSynthesizer(Lang, Country, Perso);
                   int i = 0;
    }

    which API are you using ?

  • X64 NO MIC. Audigy 4 Codec issue? Teamspeak being us

    <SPAN>Hello,
    <SPAN><SPAN>
    <SPAN> Ok here it is this is what I'm running.
    <SPAN>x64 windows xp pro
    <SPAN>audigy 4
    <SPAN>asus MB
    <SPAN>A8N-SLI Deluxe 939<SPAN>
    <SPAN>I use Team Speak for gaming purpose. <SPAN>
    <SPAN>
    <SPAN> The other night as I was playing I noticed my mic stopped working. I tried numerous mics. No dice. <SPAN>
    <SPAN>I tried recording no dice. It seems like the SB just doesn?t see the mic. I did some googlein and found numerous topics about the same issue without a fix. I tracked it down to a CELP codec. I know about the mic record btn and all that. I never changed the settings. Just stopped working. <SPAN>
    <SPAN>
    <SPAN> This has happen before but an update or a reboot fixed the issue. <SPAN>
    <SPAN>
    <SPAN>But this time is an issue. <SPAN>
    <SPAN> The sound is terrible when using Team speak. . This has got to be a codec issue. Can somebody please help me on locating the codec?s for Team speak? From what I read this is an ongoing issue with the Audigy and Team speak..<SPAN>
    <SPAN> Not on all systems.<SPAN>
    <SPAN>
    <SPAN>Thanks for your time<SPAN>
    <SPAN>Russ<SPAN>

    It is Vista. Doesn't support games that use hardware accelerated surround sound. Try to use the Alchemy software provided by Creative (for a fee for Audigy users, for free for X-Fi ones) if your games are on the ones that are supported - the ones that uses DirectX for sound.Unfortunately Half-Life2 uses a proprietary sound system and is not supported. The link is http://www.soundblaster.com/alchemy/ Warning: STUPIDLY long waiting time till all the stuff on that page is loading! The games that use OpenAL don't need Alchemy, will work fine under Vista.

  • Class loading issue in 10.1.2?  commons-codec

    Hi All,
    I'm attempting to deploy a pretty strait forward web application (wrapped in an EAR) that includes commons-codec-1.2.jar (used by axis2). The codec jar is included in the WEB-INF\lib directory but doesn't appear to be picked (I get a NoClassDefFoundError) up unless I copy it into the ...\system\appserver\oc4j\j2ee\home\applib directory? I'm guessing this is a weird classloader issue but I can't seem to find the codec jar in another location...
    I can get around the problem but I was wondering if anyone had an explanation?
    Cheers,
    Dan

    Dan,
    You need to set the search-local-classes-first attribute of element web-app-class-loader in file "orion-web.xml" to 'true' (the default is 'false') in order for OC4J to locate the "axis2" classes. Please refer to the White Paper, Classloading in OC4J (PDF):
    http://www.oracle.com/technology/tech/java/oc4j/pdf/ClassLoadingInOC4J_WP.pdf
    Or, if you don't like your Web browser directly opening PDF files (like I don't), there is a link to the White Paper from this Web page:
    http://www.oracle.com/technology/tech/java/oc4j/index.html
    Note however, that in OC4J 10.1.3 the class loading mechanisms are completely different to previous versions (including 10.1.2).
    Good Luck,
    Avi.

  • Unity Express voice mail timing issue.

    Hi,
    I have installed one uc520 at one of our customer. i configured voice mail but there is one issue with the voice mail timing. Suppose i retrive the voice mail the voice mail prompt is giving the wrong time. Suppose I send a voice mail to a subscriber at 3pm, the voice mail prompt is saying 'message send at 4 pm'.
    I checked both cme and cue clock settings and both are showing the correct time.
    Can anybody help me on this issue
    Regards
    Thejas

    Are the calls to CUE getting dropped when you dial from an IP Phone at site 1 (callmanager) ?
    How is the CME router setup in Callmanager ? Is it added as a regular H323 gateway or a H225 trunk ? Either ways, make sure the gateway registers with the correct IP that is used in Callmanager.
    So if CME has a wan ip (a.a.a.a) and a lan ip (b.b.b.b), if you add b.b.b.b as the CME gateway's ip address in Callmanager, then you need to bind the H323 ip address as follows.
    interface fa0/0
    ip add b.b.b.b
    h323-gateway voip bind srcaddr b.b.b.b
    Most likely the CME gateway is sending calls to Callmanager using ip address a.a.a.a which is the wan ip, through which it has the default route to Callmanager.
    Hope that makes sense!

Maybe you are looking for

  • Using Flash to Rotate Images - how???

    I'm trying to do something that I thought was standard/easy in flash.  I would like to rotate photos on my Dreamweaver website homepage (dissolve from one photo the next) - like a slideshow.  How do I do this and then incorporate into Dreamweaver? Is

  • Unable to send or reply to emails - getting Red X

    we have 40-50 BES accounts created and have had minimal issues activating accounts. this particular clients account is unable to send or reply to emails.We have hard reset device and recreated his account in our BES eviroment twice and still the same

  • HT4623 updating ios software on iphone 3gs without software update feature

    How do you update to ios 5.1.1 on iphone 3gs that has no software update feature?

  • Question about sql batch process in java app

    hi all i have few questions about using batch process in the java.sql package. the addBatch method can take sql statements like inserts or updates. can we use a mixture of insert and update then? can we use prepared statement for this? it's just for

  • Good receipt for production order

    Hi experts, When good receipt for production order 60003408 , it shows error "No valid order items exist for order 60003408" like this how to resolve this... In diagnosis they were specified as change into good receipt in production order screen but