Non-translatable to translatable attribute

Hi,
Because non-translatable attributes cannot be queried in language other than base language we need to set non-translatable attributes to translatable.
We receive for information that switching an attribute from non-translatable to translatable was only possible by removing and re creating the attribute.
Actually we are in pre production and a lot of data are already loaded. To avoid dropping all content and then recreate, is there a solution without dropping the attribute ?
We have for base language English (us) and we support also French nd German.
Thanks in advance for any comment.
Eddy.

User, please tell it's your Jdev version!
A translatable property it's stored at a centralized storage, e.g. in a property file where you can access it to translate it into different languages.A non translatable property it's stored within the vo metadata where you can't translate it.
Timo

Similar Messages

  • WLST & ALSB AttributeError: 'None' object has no attribute 'exportProjects'

    I have the following WLST script that exports an ALSB 2.6 project and a Customization file for that project. The script was downloaded from the BEA website sometime ago, and I had it working fine. A recent change broke it, and I'm not sure why. I'm hoping someone can help me out here...
    The script is below:
    <blockquote>
         <p>
         from java.io import FileInputStream
         from java.io import FileOutputStream
         from java.util import ArrayList
         from java.util import Collections
         </p>
         <p>
         from com.bea.wli.sb.util import EnvValueTypes
         from com.bea.wli.config.env import EnvValueQuery;
         from com.bea.wli.config import Ref
         from com.bea.wli.config.customization import Customization
         from com.bea.wli.config.customization import FindAndReplaceCustomization
         </p>
         <p>
         import sys
         </p>
         <p>
         #=======================================================================================
         # Utility function to load properties from a config file
         #=======================================================================================
         def exportAll(exportConfigFile):
         try:
         print "Loading export config from :", exportConfigFile
         exportConfigProp = loadProps(exportConfigFile)
         adminUrl = exportConfigProp.get("adminUrl")
         exportUser = exportConfigProp.get("exportUser")
         exportPasswd = exportConfigProp.get("exportPassword")
         </p>
         <p>
         exportJar = exportConfigProp.get("exportJar")
         customFile = exportConfigProp.get("customizationFile")
         </p>
         <p>
         passphrase = exportConfigProp.get("passphrase")
         project = exportConfigProp.get("project")
         </p>
         <p>
         <strong># connectToServer(exportUser, exportPasswd, adminUrl)
         connect(userConfigFile='connect.properties', userKeyFile='key.properties', url='t3://patten:30001')
         </strong> ALSBConfigurationMBean = findService("ALSBConfiguration", "com.bea.wli.sb.management.configuration.ALSBConfigurationMBean")
         print "ALSBConfiguration MBean found"
         </p>
         <p>
         print project
         if project == None :
         ref = Ref.DOMAIN
         collection = Collections.singleton(ref)
         if passphrase == None :
         print "Export the config"
         theBytes = ALSBConfigurationMBean.export(collection, true, None)
         else :
         print "Export and encrypt the config"
         theBytes = ALSBConfigurationMBean.export(collection, true, passphrase)
         else :
         ref = Ref.makeProjectRef(project);
         print "Export the project", project
         collection = Collections.singleton(ref)
         print "MADE IT HERE", project
         <strong> theBytes = ALSBConfigurationMBean.exportProjects(collection, passphrase)
         </strong> print "MADE IT HERE 2", project
         </p>
         <p>
         aFile = File(exportJar)
         out = FileOutputStream(aFile)
         out.write(theBytes)
         out.close()
         print "ALSB Configuration JAR file: "+ exportJar + " has been exported"
         </p>
         <p>
         if customFile != None:
         print collection
         customList = ArrayList()
         query = EnvValueQuery(None, Collections.singleton(EnvValueTypes.WORK_MANAGER), collection, false, None, false)
         customEnv = FindAndReplaceCustomization('Set the right Work Manager', query, 'Production System Work Manager')
         customList.add(customEnv)
         query = EnvValueQuery(None, Collections.singleton(EnvValueTypes.SERVICE_URI), collection, false, 'winthrop.namerica.idexxi.com:50002', false)
         customEnv = FindAndReplaceCustomization('Update To the Correct Server and Port Number', query, 'wesley.namerica.idexxi.com:50005')
         print 'EnvValueCustomization created'
         customList.add(customEnv)
         print customList
         aFile = File(customFile)
         out = FileOutputStream(aFile)
         Customization.toXML(customList, out)
         out.close()
         </p>
         <p>
         print "ALSB Dummy Customization file: "+ customFile + " has been exported"
         except:
         raise
         dumpStack()
         #=======================================================================================
         # Utility function to load properties from a config file
         #=======================================================================================
         </p>
         <p>
         def loadProps(configPropFile):
         propInputStream = FileInputStream(configPropFile)
         configProps = Properties()
         configProps.load(propInputStream)
         return configProps
         </p>
         <p>
         #=======================================================================================
         # Connect to the Admin Server
         #=======================================================================================
         </p>
         <p>
         def connectToServer(username, password, url):
         connect(username, password, url)
         domainRuntime()
         </p>
         <p>
         # EXPORT script init
         try:
         exportAll(sys.argv[1])
         </p>
         except:
         print "Unexpected error: ", sys.exc_info()[0]
         dumpStack()
         raise
         When I connect to the admin server using the "connectToServer" command (commented out in the code above) the script works fine. When I tried to use the "connect" command, using a connect.properties file instead of a plain text userid and password, the line:
         <strong>theBytes = ALSBConfigurationMBean.exportProjects(collection, passphrase)
         </strong>fails and I get an error that says: <strong>AttributeError: 'None' object has no attribute 'exportProjects'
         </strong>Can someone explain to me the difference between these two commands, and if there is anything I can do to tweak this code to get it working using 'connect' vs. 'connectToServer' syntax?
    </blockquote>

    I'm getting the following error while doing an export from alsb2.1 env. using wlst invoked via ant:
    C:\Users\vxvm\import_export_test_ALSB21\import-export>ant export
    Buildfile: build.xml
    export:
    [echo] exportscript: export.py
    [java]
    [java] Initializing WebLogic Scripting Tool (WLST) ...
    [java]
    [java] Welcome to WebLogic Server Administration Scripting Shell
    [java]
    [java] Type help() for help on available commands
    [java]
    [java] Loading export config from : export.properties
    [java] Connecting to t3://localhost:7003 with userid weblogic ...
    [java] Successfully connected to Admin Server 'AdminServer' that belongs to
    domain 'alsb21_domain'.
    [java]
    [java] Warning: An insecure protocol was used to connect to the
    [java] server. To ensure on-the-wire security, the SSL port or
    [java] Admin port should be used instead.
    [java]
    [java] Location changed to domainRuntime tree. This is a read-only tree wit
    h DomainMBean as the root.
    [java] For more help, use help(domainRuntime)
    [java]
    [java]
    [java] ALSBConfiguration MBean found
    [java] None
    [java] Export the config
    [java] Unexpected error: exceptions.AttributeError
    [java] No stack trace available.
    [java] Problem invoking WLST - Traceback (innermost last):
    [java] File "C:\Users\vxvm\import_export_test_ALSB21\import-export\export
    .py", line 96, in ?
    [java] File "C:\Users\vxvm\import_export_test_ALSB21\import-export\export
    .py", line 42, in exportAll
    [java] AttributeError: 'NoneType' object has no attribute 'export'
    [java]
    [java] Java Result: 1
    BUILD SUCCESSFUL
    Here is my export.py:
    from java.io import FileInputStream
    from java.io import FileOutputStream
    from java.util import ArrayList
    from java.util import Collections
    from com.bea.wli.sb.util import EnvValueTypes
    from com.bea.wli.config.env import EnvValueQuery;
    from com.bea.wli.config import Ref
    from com.bea.wli.config.customization import Customization
    from com.bea.wli.config.customization import FindAndReplaceCustomization
    import sys
    #=======================================================================================
    # Utility function to load properties from a config file
    #=======================================================================================
    def exportAll(exportConfigFile):
    try:
    print "Loading export config from :", exportConfigFile
    exportConfigProp = loadProps(exportConfigFile)
    adminUrl = exportConfigProp.get("adminUrl")
    exportUser = exportConfigProp.get("exportUser")
    exportPasswd = exportConfigProp.get("exportPassword")
    exportJar = exportConfigProp.get("exportJar")
    customFile = exportConfigProp.get("customizationFile")
    passphrase = exportConfigProp.get("passphrase")
    project = exportConfigProp.get("project")
    connectToServer(exportUser, exportPasswd, adminUrl)
    ALSBConfigurationMBean = findService("ALSBConfiguration", "com.bea.wli.sb.management.configuration.ALSBConfigurationMBean")
    print "ALSBConfiguration MBean found"
    print project
    if project == None :
    ref = Ref.DOMAIN
    collection = Collections.singleton(ref)
    if passphrase == None :
    print "Export the config"
    theBytes = ALSBConfigurationMBean.export(collection, true, None)
    else :
    print "Export and encrypt the config"
    theBytes = ALSBConfigurationMBean.export(collection, true, passphrase)
    else :
    ref = Ref.makeProjectRef(project);
    print "Export the project", project
    collection = Collections.singleton(ref)
    theBytes = ALSBConfigurationMBean.exportProjects(collection, passphrase)
    aFile = File(exportJar)
    out = FileOutputStream(aFile)
    out.write(theBytes)
    out.close()
    print "ALSB Configuration file: "+ exportJar + " has been exported"
    if customFile != None:
    print collection
    query = EnvValueQuery(None, Collections.singleton(EnvValueTypes.WORK_MANAGER), collection, false, None, false)
    customEnv = FindAndReplaceCustomization('Set the right Work Manager', query, 'Production System Work Manager')
    print 'EnvValueCustomization created'
    customList = ArrayList()
    customList.add(customEnv)
    print customList
    aFile = File(customFile)
    out = FileOutputStream(aFile)
    Customization.toXML(customList, out)
    out.close()
    print "ALSB Dummy Customization file: "+ customFile + " has been created"
    except:
    raise
    #=======================================================================================
    # Utility function to load properties from a config file
    #=======================================================================================
    def loadProps(configPropFile):
    propInputStream = FileInputStream(configPropFile)
    configProps = Properties()
    configProps.load(propInputStream)
    return configProps
    #=======================================================================================
    # Connect to the Admin Server
    #=======================================================================================
    def connectToServer(username, password, url):
    connect(username, password, url)
    domainRuntime()
    # EXPORT script init
    try:
    exportAll(sys.argv[1])
    except:
    print "Unexpected error: ", sys.exc_info()[0]
    dumpStack()
    raise
    and export.properties:
    # OSB Admin Security Configuration #
    adminUrl=t3://localhost:7003
    exportUser=weblogic
    exportPassword=welcome3
    #exportConfigFile=true
    # OSB Jar to be exported #
    exportJar=sbconfig.jar
    includeDependencies=true
    # Optional passphrase and project name #
    #passphrase=123
    # Optional, create a dummy customization file #
    #customizationFile=devcustomize.xml
    Can someone help me out in resolving the above issue,Thanks!

  • Displaying non-level determining dimension attributes in bibeans with cwm2

    In the bibdemo example (defined using the CWM API), the attributes PROD_COLOR and PROD_SIZE are defined as dimension attributes of the Product dimension. They are then available to bibeans applications for use in the query editor/match condition (as where clauses e.g. where Size = LARGE).
    When I define OLAP metadata objects using the CWM2 API, my non-level determining dimension attributes are not available in the bibeans query editor.
    Has any one exprienced this problem? Is there a work-around or code fragment that explains how to get dimension attributes defined using CWM2 to work in bibeans apps.

    basically there are list and hierarchical dimensions.
    the first type doesnt have a hierarchy, so some sort of special case of the 2nd.
    i used attributes on list dimensions successfully in the past.
    the only thing i had to do is nevertheless define a "artificial" level.
    let me know if you need more,
    thomas

  • Translate attributes of component-profile section

    I've defined an attribute called welcomeMsg in the component-profile section of my portal application. I want to use this attribute to configure a welcome message which is shown at the iview. Further I want this attribute to provide a mechanism to translate this welcome message into different languages using the portal content translation service. At the jsp-site of the portal application I access this attribute by
    <% out.print( componentRequest.getComponentContext().getProfile().getProperty( "welcomeMsg") ); %>
    I can configure this attribute at the properties dialog of the portal content studio and the value is shown at the iview. So everything works fine. But if I use the portal content translation service to translate the iview, only the name of the iview appears at the list of attributes which could be translated by this translation service.
    Is there any way to use the portal content translation service to translate this attribute or should I use another way to achieve this claim.
    Due to my approach I have yet another problem by accessing the attribute: if I open the iview in a new browser window by
    window.open('/irj/servlet/prt/portal/prtroot/TestPar.TestPar', '', 'width=350,height=50');
    the attribute isn't shown anyway, while the attribute is shown if I add the iview to a portal page which is shown at the main browser window. What could be the problem with the new browser window and has anybody an idea to solve this problem?
    so long, thank you in advance
    rené

    I have to use the ResourceBundles mechanism to provide multiple languages in one IView!!

  • Setting Non-Translatable template to Translatable

    Hi
    I made a template which should support translations. But, by mistake, I forgot to mark it translatable. Now, when I look into this template, and got to edit configuration or update section, i can not find any option to make it translatable.
    Can anyone tell me how to acheive this?
    Regards
    Varun

    I made the same mistake, I think you cannot delete it, right? Just add a new one and make that translatable, and export that to make your xliffs. Can you expire the one you made?
    Link your new translatable template to the same data def. It lets you do that.
    Let me know how it goes

  • Using non-breaking spaces in attributes

    Hello all,
    I am writing reusable modules in Structured FrameMaker. Part of the reusability comes from using a variable instead of a hard-coded machine name, so that the machine name does not require variants of the same text. Using the standard FrameMaker variables is out of the question, so I have introduced a BookVar element that takes an attribute to determine which value is selected. All possible attribute values for the BookVar element lead to an attribute of the Book, which is the highest element in my publishable document.
    The problem is, that the name of the machine may contain a non-breaking space. I can enter the non-breaking space as the attribute value in the Book element, but when the BookVar that receives its value from the Book attribute is resolved the name does not contain the non-breaking space anymore. Is there a special character code that I can include in the value of an attribute ?
    Thanks in advance for your solutions
    Jang

    Hello again Michael,
    I tried the \x05 and it works like a breeze ! Thanks again.
    Apparently I was mistaken in assuming that I can suppress hyphenation via Text Range formatting, at least not if I want to keep my EDD free of any direct formatting. I can assign a character format, but in the Character Designer there seems to be no option to suppress hyphenation. This is handled on the paragraph level, and I do not want to suppress hyphenation for the entire paragraph just to keep my machine name from being cut down the middle.
    As I am not using roundtripping to XML for this client, the trick with the \x05 in the attribute value, combined with the Alt-0160 for the non-breaking space, does exactly what I need it to do. If I need to get into roundtripping later, I will have to find some kind of trick to preserve the suppressed hyphenation - probably by introducing an extra attribute in the BookVar element that controls it (and then gets translated into the correct preceding \x05 code by the Read-Write rules).
    Anyway, I already owed you a free dinner in Amsterdam, so now the drinks will be on me, too ! 
    Ciao
    Jang

  • Custom component and non-primitive types of attributes

    Dear programmers
    I try to develope a custom UI component that one of its attribute is an ArrayList. For example:
    <productFile:Matrix images="#{MyBean.imagesArray}"/>Unfortuanetly I get the following exception:
    [Unable to convert string &#39;#{MyBean.imagesArray}&#39; to class java.util.ArrayList for attribute images: java.lang.IllegalArgumentException: Property Editor not registered with the PropertyEditorManager]: org.apache.jasper.JasperException: Unable to convert string '#{MyBean.imagesArray}' to class java.util.ArrayList for attribute images: java.lang.IllegalArgumentException: Property Editor not registered with the PropertyEditorManager
    The attribute images is an ArrayList in the custom component.
    I have also specifieded it as an ArrayList in the tld file:
    <tag>
           <name>Matrix</name>
           <tag-class>org.sii.productfilejsf.tags.MatrixTag</tag-class>
           <body-content>JSP</body-content>
           <attribute>
                <name>images</name>
                <required>false</required>
                <rtexprvalue>false</rtexprvalue>
                <type>java.util.ArrayList</type>
           </attribute>
      </tag>Does anyone has an idea what can be the problem?
    How can I convert the expression?

    so how will I be able to convert it?Only your converter knows it.
    By the way, is your Matrix component fully completed including its children components?
    If yes, you should know how to implement a converter, or its equivalent code for them.
    For example, in the <h:dataTable> component, if its value attribute points an array of object,
    then it is automatically converted to an appropriate DataModel used by its column children.
    We may need to see your MyBean bean and related code set, if we have enough time.

  • Oracle10g "Globalization Support restrictions"

    hi,
    I have problem to create Database name with Spanish character Example: I try to insert “Español”).
    I found out at “Oracle® Database Globalization Support Guide 10g Release 2 (10.2)” documents(table2-5) , some restrictions.
    “Database name” and “Tablespace” name are supported only with single-byte.
    I need to know if the restrictions are relevant to oracle version"Oracle Database 10g Release 2 (10.2.0.1.0) Enterprise Standard Edition for Microsoft Windows (32-bit)"
    Thanks,
    Michal
    Oscar

    Hi Kishan,
    Here are a few links on the topic of E-business suite customization, they may answer some of your questions.
    Customization and Development for the E-Business Suite - http://www.oracle.com/technology/products/applications/development_pesonalization/index.html
    OA Framework Personalization and Extensibility Guide (Metalink Doc ID 236618.1)
    About OA Framework Integrated Development Environment (JDeveloper9i OA Extension) (Metalink Doc ID 286082.1)
    Regarding customizing translations; for OA Framework based applications, translation of personalization can be done either online or through XLIFF. You can generate base XLIFF files from the same screen in which you create the personalization, translate the text using translation tools which support XLIFF, and then upload them to the MDS repository using XLIFF importer. For Forms based applications, there is no method for doing mass translation of Forms personalization. You will need to manually translate the LDT files which contain both the translatable and non translatable attributes. The LDT file can be generated using FNDLOAD. See also Forms Personalization in Oracle Applications (Metalink Doc ID 279034.1).
    6. Can the Globalization still work with single/central database hosted in US?
    Yes, the database character set determines what characters (language data) can be stored. I recommend going with a Unicode database character set. Oracle's locale sensitive behaviour, such as date & number formatting, collation are all session based; it means that it's possible to have 10 users connecting to one single database, but each user session serving different globalization behaviour.
    7. Does the Oracle Locale Builder Tool address Qn#3 above?
    The Oracle Locale Builder allows user to define new collation sequences, new languages, new territories and new character set for their database. It affects SQL operations running inside the database only.
    Nat

  • How to translate my new OA Pages in different language.

    Hi All,
    I have developed new OA Page in English Lang. Now I want to let it work in multiple language. I have come to know about 2 utilities provided by Oracle: XLIFF Extractor and XLIFF Importer. But i have found that these utilities are for personalizations only.
    Kindly give me guidance to make my OA Page work for multi-language.
    If someone is having some document about this, please share this with me either at forum or [email protected]
    Thanks,
    Sumit

    Sumit,
    I don't think its any different. You would need to use these tools only.
    You would need to use the "xliffextract" utility to generate an XLIFF document for your custom page.
    This XLIFF document (containing the translatable attributes and their en-US
    translations) need to be converted into additional XLIFF documents (one per language translation that you require). Once these documents are created (remember that the xml should have the corresponding language specified) , you can import them into the MDS repository using the "xliffimport" utility, and saved in a separate location.
    For more information, please take a look at the "Help Topics" in JDeveloper. If you search for "XLIFF" you will find topics on "Using the XLIFF Extractor" and "Using the XLIFF Importer".

  • Translation and XLIFF

    Hi,
    Couple of questions :
    Is there a way to find out which "trans-unit id" in a XLIFF-file represents which object in HTMLDB ? ( page, item etc.)
    and another one :
    How can i prevent some templates or item / report-attributes being translated (they somehow appear into the XLIFF-file)
    An example is a column-link in a report where the link text is a value from report result, e.g. #DEWNKNR#
    this show up in the XLIFF-file as
    <trans-unit id="S-107-5831153584421849-1001">
    <source>#DEWNKNR#</source>
    <target>#DEWNKNR#</target>
    </trans-unit>
    or perhaps i missed some "translatable"-checkbox ?
    Thanks !
    Maarten

    Maarten,
    We've thought about interjecting comments in the generated XLIFF file. The reason why we haven't, to date, is these files most often are processed by other programs. We face this same challenge even in Oracle with the translation of HTML DB itself. The XLIFF files are processed by other programs, and comments are exactly that comments directly in the XML. A language specialist would never see the comment directly. And unfortunately, the XLIFF specification doesn't lend itself well to comment attributes.
    In your case, though, it sounds like you're translating directly in an editor, where comments would be beneficial. We'll continue to review this in future releases of HTML DB.
    The TEMPLATE_TRANSLATABLE column in this table identifies a translatable attribute which is a candidate for exclusion in the generated XLIFF, and we key off that to determine the value of the translation flag for that specific element. This value does not signify to exclude something from translation. It is almost exclusively used for templates. It has no bearing on the COLUMN_LINKTEXT attribute.
    I hope this helps.
    Joel

  • XML Forms Template Translation

    Hi expertes!
    Customer is actively using XML templates for generating news and other KM content information.
    All the XML forms templates are created using XML forms builder and created in local language. The customer has customers in different countries and want to have the Templates translated so they can easily create forms in different languages. Ie: forms translated, buttons, headings and so on....
    One way of creating different templates would be to open up the local template in XML forms builder and make a copy(Save as) and translate the template, generate it and thus making template available in a different language. BUT this represents a lot of work if you have lets say 5-6 languages and all templates must be translated. Not to mention if you want to add a field, you would have to do it 5-6 times.
    Question?
    Are there any way of "translating" the XML template like you can do with "portal content translation" so you maintain only one XML form template but it changes according to the logon language of the portal?
    like adding "language filters" to one xml template
    Thanx in advance
    Trond

    Hi, Thanx to this Forums professional users
    ihave found the way of translating the XML forms template for easy changing the XML forms language using Userid language. So when a user logs on and wants to create a new XML forms(news ect.) they get the form in their own language.
    Found in SAP help:
    Language-Dependent Resource Files
    You can use the default resource files as a template for language-dependent resource files. Note the following naming conventions for language-dependent resource files:
    <Preferences location>/<project name>/<project name>_<language key>.xml
    For example, an item file for Italian could have the following ID:
    /etc/xmlforms/SAP_DemoNews/SAP_DemoNews_it.xml
    You have to create the language-dependent resource files manually (see Activities). You offcourse change the content of the xml
    Question:
    When we translate the form and test it, the entering template(xml) works perfect and we can generate the xml forms(news) in no time, BUT when displaying the XML forms in "SHOW" modus, it points back to a NON translated XML/XLS form. The translation of the form should also print/show the translated xml forms in SHOW modus also? Is there a way of translating the SHOW, bcs going into the forms builder is too time consuming and we can n ot do this bcs of short timeframe.
    Any solutions to this, Thanx!!
    Best Regards
    Trond Gjerde

  • Only English available to translate?

    Hello,
    I am attempting to demo the Skype Translator by conversing with one of my co-workers. However, when I go to set up the translation options for individual users, the only language I can access for spoken language is English (see photo below)
    Is this a bug inside of translator or is there an option that I am not seeing? I downloaded the client this morning, and I'm running windows 8.1, so I don't believe there are any auxiliary programs I have to download. Does my co-worker have to also be included in this translator beta in order for the translator to function? Both myself and my co-worker have tried switching our language settings under 'Profile' to Spanish, however this does not seem to have any correlation to using the translator.
    Thanks and hoping to get it working soon!
    Irwin

    I had the same issue. My family members can speak Spanish but they had their Skype account set to English. I had them change their language on their side to Spanish. Then we both had to completely exit out of Skype and Log back in. Once I did that Spanish was available as a speaking language option on my side. I also had to initiate the call from my side. I have Skype Translate and my family member does not. I also made sure Skype on their side was updated to the latest version of the non-translate version. Good Luck.

  • Missing feature: APEX_APPLICATION_INSTALL not useful for TRANSLATED apps

    Hello, all and Joel Kallman.
    Thank you Joel for confirming my bug reports yesterday. I have two more problems. One too simple to explain, another more complex but reproducable (related to ora-4031 in large pool with translated apps).
    According to your blog post at YABAOAE
    http://joelkallman.blogspot.com/2010/07/apexapplicationinstall.html
    APEX_APPLICATION_INSTALL intended to import application from command line.
    It is great feature. But it is so great only for non-translated applications.
    if I use translated application, I can't use ONLY command line. I still must logon to Apex Builder to SEED and PUBLISH before translated application wil be translated.
    So, there are no expected benefits from using apex_application_install for translated application.
    Workarownd:
    Didn't fint yet. Only manually clicking on seed&publish in Apex Builder.
    Maybe I miss something easy and everybody kbows how to seed and publish from command line?
    If so, please, let me know how to do it.
    Vladimir
    Edited by: vgoncharov on 02.03.2012 21:45

    Hi Patrick!
    Do you really think that it works?
    It doesn't. Lets check it together.
    All my DEV, TEST, UAT and other enviroments are on the same database.
    In my example I will clone DEV to DEMO. Each of this enviroments has its own parsing schemas and workspaces.
    1.I go to see DEV workspace. App 110 already seeded and published.
    Home > Application Builder > Application 110 > Shared Components > Translate > Seed and Publish
    I see there two mapped translated apps.
    Column "Strings" = 69.444
    Please, remember this number. This number is the same for both mapped apps as they are seeded and published already.
    2. I export it with APEXexport including translation.
    3.I import it into workspace DEMO as app 111 using great APEX_APPLICATION_INSTALL.
    I preffer command line to export and import as it save time and reduce risk of mistakes. There are other reasons exists, not for this topic.
    4.Now application is imported and I go to DEMO workspace to check result.
    Home > Application Builder > Application 111 > Shared Components > Translate > Seed and Publish.
    I see two mapped translated apps. It is good.
    BUT!
    Column Strings = 9251.
    Do you still remember 69.444?
    To restore translations I must just SEED and PUBLISH manually.
    So, there no way to create a copy of translated app WITH COMMAND LINE ONLY if the source and target apps are on the same database.
    As APEX_APPLICATION_INSTALL intented to create a copy of application with command line, I tell you, it does not work for translated apps as expected.
    Vladimir.
    Edited by: vgoncharov on 03.03.2012 22:40

  • Trouble with international translation

    Hello all,
    I'm having a problem getting international calls to complete. I have the below in my Cisco 5350 configs with some lines removed to save space. Debug is below that. It appears my translation rule is ok to some extent as the test indicates. What am I overlooking? Any help will be greatly appreciated.
    Sprint5350#test voice translation-rule 2 011862196990
    Matched with rule 1
    Original number: 011862196990   Translated number: 0111862196990
    Original number type: none      Translated number type: none
    Original number plan: none      Translated number plan: none
    voice translation-rule 1
    rule 1 /\+1\(.*\)/ /\1/
    voice translation-rule 2
    rule 1 /^01/ /011/
    voice translation-profile Incoming_Calling_Party_Num
    translate calling 1
    voice translation-profile outgoing_international
    translate calling 2
    translate called 2
    controller T3 3/0
    framing m23
    clock source line
    cablelength 133
    t1 1-7 controller
    description Sprint DS3 - 75955030
    controller T1 3/0:1
    framing esf
    pri-group timeslots 1-24 nfas_d primary nfas_int 0 nfas_group 1
    controller T1 3/0:2
    framing esf
    pri-group timeslots 1-24 nfas_d none nfas_int 2 nfas_group 1
    controller T1 3/0:3
    framing esf
    pri-group timeslots 1-24 nfas_d backup nfas_int 1 nfas_group 1
    controller T1 3/0:4
    framing esf
    pri-group timeslots 1-24 nfas_d none nfas_int 3 nfas_group 1
    controller T1 3/0:5
    framing esf
    pri-group timeslots 1-24 nfas_d none nfas_int 4 nfas_group 1
    controller T1 3/0:6
    framing esf
    pri-group timeslots 1-24 nfas_d none nfas_int 5 nfas_group 1
    controller T1 3/0:7
    framing esf
    pri-group timeslots 1-24 nfas_d none nfas_int 6 nfas_group 1
    interface Serial3/0:1:23
    no ip address
    encapsulation hdlc
    isdn switch-type primary-4ess
    no cdp enable
    dial-peer voice 150 pots
    translation-profile incoming Calling_Party_Num
    translation-profile outgoing outgoing_international
    destination-pattern 011.T
    translate-outgoing called 1
    direct-inward-dial
    port 3/0:1:D
    forward-digits 0
    dial-peer voice 100 voip
    preference 1
    modem passthrough nse codec g711ulaw redundancy
    voice-class codec 1
    incoming called-number 800.......
    dtmf-relay rtp-nte
    fax protocol t38 ls-redundancy 0 hs-redundancy 0 fallback pass-through g711ulaw
    no vad
    *Sep  4 17:57:57.433: ISDN Se3/0:1:23 Q931: RX <- SERVICE pd = 3  callref = 0x0000
            Change Status i = 0xC0 - in-service
            Channel ID i = 0xE9818398
                    Exclusive, Interface 1, Channel 24
    *Sep  4 17:57:59.001: //-1/BC10816380D4/RXRULE/regxrule_stack_pop_RegXruleNumInfo: stack=0x6871D9EC; count=1
    *Sep  4 17:57:59.001: //-1/BC10816380D4/RXRULE/regxrule_get_profile_from_dialpeer_internal: Error: Invalid input peer_tag=0 direction=incom        ing
    *Sep  4 17:57:59.001: //-1/BC10816380D4/RXRULE/regxrule_stack_push_RegXruleNumInfo: stack=0x6871D9EC; count=0
    *Sep  4 17:57:59.001: //-1/BC10816380D4/RXRULE/regxrule_stack_push_RegXruleNumInfo: stack=0x6871D9EC; count=1
    *Sep  4 17:57:59.001: //-1/BC10816380D4/RXRULE/regxrule_profile_translate_internal: number=5024101498 type=unknown plan=unknown numbertype=        calling
    *Sep  4 17:57:59.001: //-1/BC10816380D4/RXRULE/regxrule_match: No match; number=5024101498 rule precedence=1
    *Sep  4 17:57:59.001: //-1/BC10816380D4/RXRULE/regxrule_profile_match_internal: No match found
    *Sep  4 17:57:59.001: //-1/BC10816380D4/RXRULE/regxrule_profile_translate_internal: No match: number=5024101498 type=unknown plan=unknown
    *Sep  4 17:57:59.001: //-1/BC10816380D4/RXRULE/regxrule_profile_translate_internal: number=011862196990 type=unknown plan=unknown numbertyp        e=called
    *Sep  4 17:57:59.001: //-1/BC10816380D4/RXRULE/regxrule_profile_match_internal: Matched with rule 1 in ruleset 2
    *Sep  4 17:57:59.001: //-1/BC10816380D4/RXRULE/regxrule_profile_match_internal: Matched with rule 1 in ruleset 2
    *Sep  4 17:57:59.001: //-1/BC10816380D4/RXRULE/sed_subst: Successful substitution; pattern=011862196990 matchPattern=^01 replacePattern=011         replaced pattern=0111862196990
    *Sep  4 17:57:59.001: //-1/BC10816380D4/RXRULE/regxrule_subst_num_type: Match Type = none, Replace Type = none Input Type = unknown
    *Sep  4 17:57:59.001: //-1/BC10816380D4/RXRULE/regxrule_subst_num_plan: Match Plan = none, Replace Plan = none Input Plan = unknown
    *Sep  4 17:57:59.001: //-1/BC10816380D4/RXRULE/regxrule_profile_translate_internal: xlt_number=0111862196990 xlt_type=unknown xlt_plan=unkn        own
    *Sep  4 17:57:59.001: //-1/BC10816380D4/RXRULE/regxrule_profile_translate_internal: number= type=unknown plan=unknown numbertype=redirect-t        arget
    *Sep  4 17:57:59.001: //-1/BC10816380D4/RXRULE/regxrule_get_RegXrule: Invalid translation ruleset tag=0
    *Sep  4 17:57:59.001: //-1/BC10816380D4/RXRULE/regxrule_profile_match_internal: Error: ruleset for redirect-target number not found
    *Sep  4 17:57:59.001: //-1/BC10816380D4/RXRULE/regxrule_profile_translate_internal: No match: number= type=unknown plan=unknown
    *Sep  4 17:57:59.001: //-1/BC10816380D4/RXRULE/regxrule_profile_translate_internal: number= type=unknown plan=unknown numbertype=redirect-c        alled
    *Sep  4 17:57:59.001: //-1/BC10816380D4/RXRULE/regxrule_get_RegXrule: Invalid translation ruleset tag=0
    *Sep  4 17:57:59.001: //-1/BC10816380D4/RXRULE/regxrule_profile_match_internal: Error: ruleset for redirect-called number not found
    *Sep  4 17:57:59.001: //-1/BC10816380D4/RXRULE/regxrule_profile_translate_internal: No match: number= type=unknown plan=unknown
    *Sep  4 17:57:59.001: //-1/BC10816380D4/RXRULE/regxrule_dp_translate: calling_number=5024101498 calling_octet=0x0
            called_number=0111862196990 called_octet=0x0
            redirect_number= redirect_type=0 redirect_plan=0        redirect_PI=-1 redirect_SI=-1
    *Sep  4 17:57:59.005: //-1/BC10816380D4/RXRULE/regxrule_vp_translate: No profile found in voice port or trunk group for outgoing direction
    *Sep  4 17:57:59.005: //-1/BC10816380D4/RXRULE/regxrule_vp_translate: calling_number=5024101498 calling_octet=0x0
            called_number=0111862196990 called_octet=0x0
            redirect_number= redirect_type=0 redirect_plan=0
    *Sep  4 17:57:59.005: ISDN Se3/0:1:23 Q931: Applying typeplan for sw-type 0x2 is 0x2 0x1, Calling num 5024101498
    *Sep  4 17:57:59.005: ISDN Se3/0:1:23 Q931: Applying typeplan for sw-type 0x2 is 0x2 0x1, Called num
    *Sep  4 17:57:59.005: ISDN Se3/0:1:23 Q931: TX -> SETUP pd = 8  callref = 0x008E
            Bearer Capability i = 0x8090A2
                    Standard = CCITT
                    Transfer Capability = Speech
                    Transfer Mode = Circuit
                    Transfer Rate = 64 kbit/s
            Channel ID i = 0xE9868398
                    Exclusive, Interface 6, Channel 24
            Calling Party Number i = 0x2180, '5024101498'
                    Plan:ISDN, Type:National
            Called Party Number i = 0xA1
                    Plan:ISDN, Type:National
    *Sep  4 17:57:59.133: ISDN Se3/0:1:23 Q931: RX <- RELEASE_COMP pd = 8  callref = 0x808E
            Cause i = 0x819C - Invalid number format (incomplete number)
    *Sep  4 17:57:59.133: ISDN Se3/0:1:23 **ERROR**: call_cleared: VOICE ERROR: NULL VDEV Common(0xFC): bchan -1, call id 0x8016
    *Sep  4 17:57:59.141: //-1/BC10816380D4/RXRULE/regxrule_stack_pop_RegXruleNumInfo: stack=0x6871D9EC; count=2
    VoiceEncapPeer150
            peer type = voice, system default peer = FALSE, information type = voice,
            description = `',
            tag = 150, destination-pattern = `011.T',
            voice reg type = 0, corresponding tag = 0,
            allow watch = FALSE
            answer-address = `', preference=0,
            CLID Restriction = None
            CLID Network Number = `'
            CLID Second Number sent
            CLID Override RDNIS = disabled,
            source carrier-id = `', target carrier-id = `',
            source trunk-group-label = `',  target trunk-group-label = `',
            numbering Type = `unknown'
            group = 150, Admin state is up, Operation state is up,
            Outbound state is up,
            incoming called-number = `', connections/maximum = 0/unlimited,
            DTMF Relay = disabled,
            URI classes:
                Destination =
            huntstop = disabled,
            in bound application associated: 'DEFAULT'
            out bound application associated: ''
            dnis-map =
            permission :both
            incoming COR list:maximum capability
            outgoing COR list:minimum requirement
            Translation profile (Incoming):Calling_Party_Num
            Translation profile (Outgoing):outgoing_international
            incoming call blocking:
            translation-profile = `'
            disconnect-cause = `no-service'
            advertise 0x40 capacity_update_timer 25 addrFamily 4 oldAddrFamily 4
            type = pots, prefix = `',
            forward-digits 0
            session-target = `', voice-port = `3/0:1:D',
            direct-inward-dial = enabled,
            digit_strip = enabled,
            register E.164 number with H323 GK and/or SIP Registrar = TRUE
            fax rate = system,   payload size =  20 bytes
            supported-language = ''
            preemption level = `routine'
            bandwidth:
                maximum = 64 KBits/sec, minimum = 64 KBits/sec
            voice class called-number:
                inbound = `', outbound = `'
            dial tone generation after remote onhook = enabled
            Time elapsed since last clearing of voice call statistics never
            Connect Time = 0, Charged Units = 0,
            Successful Calls = 0, Failed Calls = 15, Incomplete Calls = 0
            Accepted Calls = 0, Refused Calls = 0,
            Last Disconnect Cause is "1C  ",
            Last Disconnect Text is "invalid number (28)",
            Last Setup Time = 50369257.
            Last Disconnect Time = 0.
    T1 3/0:1 is up.
      Applique type is Channelized T1
      No alarms detected.
      alarm-trigger is not set
      Soaking time: 3, Clearance time: 10
      AIS State:Clear  LOS State:Clear  LOF State:Clear
      Version info of slot 3:  HW: 1536, PLD Rev: 6
      Framer Version: 0x58
    Manufacture Cookie Info:
    EEPROM Type 0x0001, EEPROM Version 0x04, Board ID 0x01,
    Board Hardware Version 6.0, Item Number 73-4089-07,
    Board Revision A0, Serial Number JAE08512FBJ,
    PLD/ISP Version 48.53,  Manufacture Date 13-Dec-2004.

    Hello all,
    I'm having a problem getting international calls to complete. I have the below in my Cisco 5350 configs with some lines removed to save space. Debug is below that. It appears my translation rule is ok to some extent as the test indicates. What am I overlooking? Any help will be greatly appreciated.
    Sprint5350#test voice translation-rule 2 011862196990
    Matched with rule 1
    Original number: 011862196990   Translated number: 0111862196990
    Original number type: none      Translated number type: none
    Original number plan: none      Translated number plan: none
    voice translation-rule 1
    rule 1 /\+1\(.*\)/ /\1/
    voice translation-rule 2
    rule 1 /^01/ /011/
    voice translation-profile Incoming_Calling_Party_Num
    translate calling 1
    voice translation-profile outgoing_international
    translate calling 2
    translate called 2
    controller T3 3/0
    framing m23
    clock source line
    cablelength 133
    t1 1-7 controller
    description Sprint DS3 - 75955030
    controller T1 3/0:1
    framing esf
    pri-group timeslots 1-24 nfas_d primary nfas_int 0 nfas_group 1
    controller T1 3/0:2
    framing esf
    pri-group timeslots 1-24 nfas_d none nfas_int 2 nfas_group 1
    controller T1 3/0:3
    framing esf
    pri-group timeslots 1-24 nfas_d backup nfas_int 1 nfas_group 1
    controller T1 3/0:4
    framing esf
    pri-group timeslots 1-24 nfas_d none nfas_int 3 nfas_group 1
    controller T1 3/0:5
    framing esf
    pri-group timeslots 1-24 nfas_d none nfas_int 4 nfas_group 1
    controller T1 3/0:6
    framing esf
    pri-group timeslots 1-24 nfas_d none nfas_int 5 nfas_group 1
    controller T1 3/0:7
    framing esf
    pri-group timeslots 1-24 nfas_d none nfas_int 6 nfas_group 1
    interface Serial3/0:1:23
    no ip address
    encapsulation hdlc
    isdn switch-type primary-4ess
    no cdp enable
    dial-peer voice 150 pots
    translation-profile incoming Calling_Party_Num
    translation-profile outgoing outgoing_international
    destination-pattern 011.T
    translate-outgoing called 1
    direct-inward-dial
    port 3/0:1:D
    forward-digits 0
    dial-peer voice 100 voip
    preference 1
    modem passthrough nse codec g711ulaw redundancy
    voice-class codec 1
    incoming called-number 800.......
    dtmf-relay rtp-nte
    fax protocol t38 ls-redundancy 0 hs-redundancy 0 fallback pass-through g711ulaw
    no vad
    *Sep  4 17:57:57.433: ISDN Se3/0:1:23 Q931: RX <- SERVICE pd = 3  callref = 0x0000
            Change Status i = 0xC0 - in-service
            Channel ID i = 0xE9818398
                    Exclusive, Interface 1, Channel 24
    *Sep  4 17:57:59.001: //-1/BC10816380D4/RXRULE/regxrule_stack_pop_RegXruleNumInfo: stack=0x6871D9EC; count=1
    *Sep  4 17:57:59.001: //-1/BC10816380D4/RXRULE/regxrule_get_profile_from_dialpeer_internal: Error: Invalid input peer_tag=0 direction=incom        ing
    *Sep  4 17:57:59.001: //-1/BC10816380D4/RXRULE/regxrule_stack_push_RegXruleNumInfo: stack=0x6871D9EC; count=0
    *Sep  4 17:57:59.001: //-1/BC10816380D4/RXRULE/regxrule_stack_push_RegXruleNumInfo: stack=0x6871D9EC; count=1
    *Sep  4 17:57:59.001: //-1/BC10816380D4/RXRULE/regxrule_profile_translate_internal: number=5024101498 type=unknown plan=unknown numbertype=        calling
    *Sep  4 17:57:59.001: //-1/BC10816380D4/RXRULE/regxrule_match: No match; number=5024101498 rule precedence=1
    *Sep  4 17:57:59.001: //-1/BC10816380D4/RXRULE/regxrule_profile_match_internal: No match found
    *Sep  4 17:57:59.001: //-1/BC10816380D4/RXRULE/regxrule_profile_translate_internal: No match: number=5024101498 type=unknown plan=unknown
    *Sep  4 17:57:59.001: //-1/BC10816380D4/RXRULE/regxrule_profile_translate_internal: number=011862196990 type=unknown plan=unknown numbertyp        e=called
    *Sep  4 17:57:59.001: //-1/BC10816380D4/RXRULE/regxrule_profile_match_internal: Matched with rule 1 in ruleset 2
    *Sep  4 17:57:59.001: //-1/BC10816380D4/RXRULE/regxrule_profile_match_internal: Matched with rule 1 in ruleset 2
    *Sep  4 17:57:59.001: //-1/BC10816380D4/RXRULE/sed_subst: Successful substitution; pattern=011862196990 matchPattern=^01 replacePattern=011         replaced pattern=0111862196990
    *Sep  4 17:57:59.001: //-1/BC10816380D4/RXRULE/regxrule_subst_num_type: Match Type = none, Replace Type = none Input Type = unknown
    *Sep  4 17:57:59.001: //-1/BC10816380D4/RXRULE/regxrule_subst_num_plan: Match Plan = none, Replace Plan = none Input Plan = unknown
    *Sep  4 17:57:59.001: //-1/BC10816380D4/RXRULE/regxrule_profile_translate_internal: xlt_number=0111862196990 xlt_type=unknown xlt_plan=unkn        own
    *Sep  4 17:57:59.001: //-1/BC10816380D4/RXRULE/regxrule_profile_translate_internal: number= type=unknown plan=unknown numbertype=redirect-t        arget
    *Sep  4 17:57:59.001: //-1/BC10816380D4/RXRULE/regxrule_get_RegXrule: Invalid translation ruleset tag=0
    *Sep  4 17:57:59.001: //-1/BC10816380D4/RXRULE/regxrule_profile_match_internal: Error: ruleset for redirect-target number not found
    *Sep  4 17:57:59.001: //-1/BC10816380D4/RXRULE/regxrule_profile_translate_internal: No match: number= type=unknown plan=unknown
    *Sep  4 17:57:59.001: //-1/BC10816380D4/RXRULE/regxrule_profile_translate_internal: number= type=unknown plan=unknown numbertype=redirect-c        alled
    *Sep  4 17:57:59.001: //-1/BC10816380D4/RXRULE/regxrule_get_RegXrule: Invalid translation ruleset tag=0
    *Sep  4 17:57:59.001: //-1/BC10816380D4/RXRULE/regxrule_profile_match_internal: Error: ruleset for redirect-called number not found
    *Sep  4 17:57:59.001: //-1/BC10816380D4/RXRULE/regxrule_profile_translate_internal: No match: number= type=unknown plan=unknown
    *Sep  4 17:57:59.001: //-1/BC10816380D4/RXRULE/regxrule_dp_translate: calling_number=5024101498 calling_octet=0x0
            called_number=0111862196990 called_octet=0x0
            redirect_number= redirect_type=0 redirect_plan=0        redirect_PI=-1 redirect_SI=-1
    *Sep  4 17:57:59.005: //-1/BC10816380D4/RXRULE/regxrule_vp_translate: No profile found in voice port or trunk group for outgoing direction
    *Sep  4 17:57:59.005: //-1/BC10816380D4/RXRULE/regxrule_vp_translate: calling_number=5024101498 calling_octet=0x0
            called_number=0111862196990 called_octet=0x0
            redirect_number= redirect_type=0 redirect_plan=0
    *Sep  4 17:57:59.005: ISDN Se3/0:1:23 Q931: Applying typeplan for sw-type 0x2 is 0x2 0x1, Calling num 5024101498
    *Sep  4 17:57:59.005: ISDN Se3/0:1:23 Q931: Applying typeplan for sw-type 0x2 is 0x2 0x1, Called num
    *Sep  4 17:57:59.005: ISDN Se3/0:1:23 Q931: TX -> SETUP pd = 8  callref = 0x008E
            Bearer Capability i = 0x8090A2
                    Standard = CCITT
                    Transfer Capability = Speech
                    Transfer Mode = Circuit
                    Transfer Rate = 64 kbit/s
            Channel ID i = 0xE9868398
                    Exclusive, Interface 6, Channel 24
            Calling Party Number i = 0x2180, '5024101498'
                    Plan:ISDN, Type:National
            Called Party Number i = 0xA1
                    Plan:ISDN, Type:National
    *Sep  4 17:57:59.133: ISDN Se3/0:1:23 Q931: RX <- RELEASE_COMP pd = 8  callref = 0x808E
            Cause i = 0x819C - Invalid number format (incomplete number)
    *Sep  4 17:57:59.133: ISDN Se3/0:1:23 **ERROR**: call_cleared: VOICE ERROR: NULL VDEV Common(0xFC): bchan -1, call id 0x8016
    *Sep  4 17:57:59.141: //-1/BC10816380D4/RXRULE/regxrule_stack_pop_RegXruleNumInfo: stack=0x6871D9EC; count=2
    VoiceEncapPeer150
            peer type = voice, system default peer = FALSE, information type = voice,
            description = `',
            tag = 150, destination-pattern = `011.T',
            voice reg type = 0, corresponding tag = 0,
            allow watch = FALSE
            answer-address = `', preference=0,
            CLID Restriction = None
            CLID Network Number = `'
            CLID Second Number sent
            CLID Override RDNIS = disabled,
            source carrier-id = `', target carrier-id = `',
            source trunk-group-label = `',  target trunk-group-label = `',
            numbering Type = `unknown'
            group = 150, Admin state is up, Operation state is up,
            Outbound state is up,
            incoming called-number = `', connections/maximum = 0/unlimited,
            DTMF Relay = disabled,
            URI classes:
                Destination =
            huntstop = disabled,
            in bound application associated: 'DEFAULT'
            out bound application associated: ''
            dnis-map =
            permission :both
            incoming COR list:maximum capability
            outgoing COR list:minimum requirement
            Translation profile (Incoming):Calling_Party_Num
            Translation profile (Outgoing):outgoing_international
            incoming call blocking:
            translation-profile = `'
            disconnect-cause = `no-service'
            advertise 0x40 capacity_update_timer 25 addrFamily 4 oldAddrFamily 4
            type = pots, prefix = `',
            forward-digits 0
            session-target = `', voice-port = `3/0:1:D',
            direct-inward-dial = enabled,
            digit_strip = enabled,
            register E.164 number with H323 GK and/or SIP Registrar = TRUE
            fax rate = system,   payload size =  20 bytes
            supported-language = ''
            preemption level = `routine'
            bandwidth:
                maximum = 64 KBits/sec, minimum = 64 KBits/sec
            voice class called-number:
                inbound = `', outbound = `'
            dial tone generation after remote onhook = enabled
            Time elapsed since last clearing of voice call statistics never
            Connect Time = 0, Charged Units = 0,
            Successful Calls = 0, Failed Calls = 15, Incomplete Calls = 0
            Accepted Calls = 0, Refused Calls = 0,
            Last Disconnect Cause is "1C  ",
            Last Disconnect Text is "invalid number (28)",
            Last Setup Time = 50369257.
            Last Disconnect Time = 0.
    T1 3/0:1 is up.
      Applique type is Channelized T1
      No alarms detected.
      alarm-trigger is not set
      Soaking time: 3, Clearance time: 10
      AIS State:Clear  LOS State:Clear  LOF State:Clear
      Version info of slot 3:  HW: 1536, PLD Rev: 6
      Framer Version: 0x58
    Manufacture Cookie Info:
    EEPROM Type 0x0001, EEPROM Version 0x04, Board ID 0x01,
    Board Hardware Version 6.0, Item Number 73-4089-07,
    Board Revision A0, Serial Number JAE08512FBJ,
    PLD/ISP Version 48.53,  Manufacture Date 13-Dec-2004.

  • Need help Creating a translation pattern that adds dial out digits to incoming calls

    I came across an article yesterday and it showed the steps how to fix Missed Call/Received Call numbers so that you can dial them from the menu correctly (auto-add a 9, etc.)?
    I tried it this morning and came up with this translation pattern:
    voice translation-rule 6
    rule 1 /^201\(.*\)/ /8\1/
    rule 2 /\(..........\)/ /81\1/
    voice translation-profile filter_Incoming
    translate calling 6
    This translation pattern rule 1 adds the dial out character 8 and strips 201 for local calls. Rule 2 adds dial out character 8 and adds 1 for long distance.  The purpose of this translation rule is when the ephone receives the phone call the characters 8 and 1 are added so when you quickly need to redial you do not have to edit the number and add 8 for each call.
    I tested the translation-rule:
    ROUTER-2911#test voice translation-rule 6 9082121231
    Matched with rule 2
    Original number: 9082121231     Translated number: 819082121231
    Original number type: none      Translated number type: none
    Original number plan: none      Translated number plan: none
    ROUTER-2911#test voice translation-rule 6 2019121231  
    Matched with rule 1
    Original number: 2019121231     Translated number: 89121231
    Original number type: none      Translated number type: none
    Original number plan: none      Translated number plan: none
    ROUTER-2911#
    Issue is I am not sure with my inbound call leg if it can even work. We dial out through the SIP Trunk and the incoming is translated to the AutoAttendant on Cisco Unity Express.
    voice translation-rule 1
    rule 1 /2015552100/ /2003/
    voice translation-profile CUE_Voicemail/AutoAttendant
     translate called 1
    dial-peer voice 9 voip
     description **Incoming Call from SIP Trunk**
     translation-profile incoming CUE_Voicemail/AutoAttendant
     call-block translation-profile incoming BLOCKED-INCOMING
     call-block disconnect-cause incoming call-reject
     session protocol sipv2
     session target dns:nd01-04.fs.SIPPROVIDER.net
     incoming called-number .%
     voice-class codec 1  
     voice-class sip dtmf-relay force rtp-nte
     dtmf-relay rtp-nte
     no vad
    Can what I am trying to do be done with my current setup?

    Hi patldmart012,
    The dial-peer 9 that you have attached will not be affected by following config
    voice translation-rule 6
    rule 1 /^201\(.*\)/ /8\1/
    rule 2 /\(..........\)/ /81\1/
    voice translation-profile filter_Incoming
    translate calling 6
    Because you have not applied the translation profile "filter_incoming" on the dial-peer.
    Could you please provide the exact call flow?
    Along with that, If you are facing issue with calls on SIP Trunk, please collect following debugs in a logging buffer and attach the file. I will analyse it and will get back to you.
    debug voip ccapi inout
    debug ccsip message
    debug voice translation
    Debug h225 asn1 (If H323 involved)
    Debug h245 asn1 (If H323 involved)
    Debug MGCP Packets (If MGCP involved)
    Also provide the running config of the GW.
    These are verbose debugs, so please collect them in the following manner:
    Router(config)# service sequence
    Router(config)# service timestamps debug datetime msec
    Router(config)# logging buffered 30000000 7
    Router(config)# no logging con
    Router(config)# no logging mon
    Router# Clear log
    Router# term no mon
    <Enable debugs, then wait for issue to occur.>
    Router# term len 0
    <Enable session capture to txt file in terminal program.>
    Router# Undebug all
    Router# sh log
    Once i have the logs, i will analyse it and will get back to you.
    Regards,
    Mudit Mathur

Maybe you are looking for