Help with Unscreened ANI, Diversion Header config

Hello folks, can you please give me a sample article showing how to accomplish the requirement outlined in the attached diagram?
I haven't seen a good article on this specific issue so if you the experts on this could help me showing a configuration for this, I really appreciate it.
Thanks!
Requirement:
1) When calls are placed outbound from Remote Site1 and RemoteSite2 or Hub, "Phone PSAP" should see the STN (Screen Telephone Number) from the respective site calls are coming, so 911 can respond accordingly and identify the respective remote location calls are coming from.
Questions:
1) In CUCM, which configurations are necessary to make this work (For example, (CSS) Calling Search Space changes, Route Lists, Route Pattern, Route Groug changes in the "CUCM Administrator" service etc)
2) In the CUBE C3925, please provide the configuration which can allow me to accomplish the requirement.

There are different ways you can accomplish this..
1. Configure each phone to have phone number external mask...set this to be the DDI for each phone
2. Configure your Route list to send External Mask to the Gateway
3, On the CUBE configure sip profiles to modify the external mask received from cucm to the STN for each phone
request INVITE sip-header Remote-Party-ID modify "" ""
4. Apply the sip profile to the dial-peer going to the PSAP
dial-peer voice 1 voip
voice-class sip proflies 1
Please rate all useful posts
"opportunity is a haughty goddess who waste no time with those who are unprepared"

Similar Messages

  • Help with Expect command to change config on hundreds of ASA's.

    Hi All,
    I'm looking for some help with the Expect command to automate some tasks, I'm certainly no programmer but I am struggling, here is an example of my script.
    #!/usr/bin/expect -f
    # This simple Expect script will add a new Syslog destination in
    # Cisco switches (IOS based)
    # We assume here that all switches uses the same credentials
    # for the administrative tasks
    # Define variables
    set password "site1"
    set enablepassword "site1"
    # Define all the switches to be reconfigured (separated by spaces)
    set switches "site1 site2 site3"
    # Main loop
    foreach switch $switches {
            puts "Processing switch: $switch";
            # Open the telnet session:
            spawn telnet $switch
            # Perform authentication
            expect "Password:"
            send "$password\r"
            expect ">"
            # Switch to enable mode
            send "en\r"
            expect "Password:"
            send "$enablepassword\r"
            expect "#"
            # Enable configuration mode (terminal)
            send "conf t\r"
            expect "#"
            # Modify VLAN1
            send "interface vlan1\r"
            expect "#"
         # Change VLAN1 Description to Uppercase
            send "description INSIDE\r"
            expect "#"
            send "exit\r"
            expect "#"
            # Save config to NVRAM
            send "wr\r"
            expect "#"
            #Logging out
            send "exit\r"
            expect eof
    In the example this works fine for SITE1 passing the credentials SITE1 as the default password and SITE1 as the enable password.  I need to do usernames and passwords that are different for each site.  I have to make some changes across hundreds of ASA's to terminating tunnels to a new location.  Can anyone help out in how to do this, I know I am close I just need it to read, siteA, username, both passwords from a text file, etc
    Greg

    Hello,
    try to modify this example to your needs ->
    http://www.bitpapers.com/2012/04/cisco-changing-configurations-of-many.html
    Best Regards
    Please rate all helpful posts and close solved questions

  • Need Help with AutoNumbering for Section Heads--Stat!!

    Howdy--
    Okay, I'm trying to set up section numbering using autonumbering. I want the Heading1's of my document to have section numbers whose look like:
    <$chapnum>.1, 2, 3, etc.
    For example, 2.1, 2.2, 2.3, etc..
    where the first number is the chapter number and the second number is increments with each new heading.
    OK Then, so...
    the Numbering tab in the Paragraph Designer for my Heading1 tag is:
    <$chapnum>.<n+>\t
    This works on the first two Heading1's in the document but when I get to the third Heading1, the second number won't increment. For example, it stays 2.2, when it should be 2.3.
    What am I missing here?
    Thanks,
    Marie

    Pending an authoritative answer from Art, I see that your heading 2 definition has three counters while your heading 1 definition only has two. Adding a third counter to the heading 1 definition will let you reset the value of this third element each time you have a heading 1.
    S:<$chapnum>.<n+>< =0>\tHeading 1 1.1 First level 1 heading
    S:<$chapnum>.<n>.<n+>\tHeading 2 1.1.1 Level 2 heading
    S:<$chapnum>.<n>.<n+>\tHeading 2 1.1.2 Level 2 heading
    S:<$chapnum>.<n+>< =0>\tHeading 1 1.2 Second level 1 heading
    S:<$chapnum>.<n>.<n+>\tHeading 2 1.2.1 Level 2 heading
    S:<$chapnum>.<n>.<n+>\tHeading 2 1.2.2 Level 2 heading
    To set numbering properties, select the second and all following chapters in the .book; right-click and select Numbering from the context menu; set Chapter number to "Continue numbering from ..."; update the book, to be on the safe side.
    btw, it took me a while to find it but there _is_ an Adobe manual for FrameMaker 8: open an ordinary .fm file, then select Help > Complete FrameMaker Help. I've downloaded the .pdf; with the LiveDocs interface, you'll find information about autonumbering under FrameMaker basics / Text formatting
    HTH

  • Need help with Apache-WL 5.1 config

    I have an WL application which is invoked anytime a url that starts
    with /app. This is configured as follows:
    <Location /app>
    SetHandler weblogic-handler
    </Location>
    What my customers now want is to create new urls which will invoke my
    application. For example, one customer wants the following url:
    /airline/atlanta
    Which will need to map to the following url:
    /app/URLServlet/airline/atlanta
    I have tried to create a "RewriteRule", but found that apache looked
    for the result in the docroot instead of transferring it to WL.
    The following shows my "Rewrite config":
    RewriteEngine on
    RewriteLog "/var/apache/logs/rewrites"
    RewriteLogLevel 3
    RewriteRule ^/airline/atlanta /app/URLServlet$1
    WebLogicHost rome
    WebLogicPort 7101
    <Location /app>
    SetHandler weblogic-handler
    </Location>
    The following is from the rewrite log file:
    172.16.1.108 - - [12/Dec/2000:18:11:42 -0500]
    [atlanta.atl.globaleventures.com/sid#757d0][rid#b7938/initial] (2) init
    rewrite engine with requested uri /airline/atlanta
    172.16.1.108 - - [12/Dec/2000:18:11:42 -0500]
    [atlanta.atl.globaleventures.com/sid#757d0][rid#b7938/initial] (3)
    applying pattern '^/airline/atlanta' to uri '/airline/atlanta'
    172.16.1.108 - - [12/Dec/2000:18:11:42 -0500]
    [atlanta.atl.globaleventures.com/sid#757d0][rid#b7938/initial] (2)
    rewrite /airline/atlanta -> /app/URLServlet$1
    172.16.1.108 - - [12/Dec/2000:18:11:42 -0500]
    [atlanta.atl.globaleventures.com/sid#757d0][rid#b7938/initial] (2) local
    path result: /app/URLServlet$1
    172.16.1.108 - - [12/Dec/2000:18:11:42 -0500]
    [atlanta.atl.globaleventures.com/sid#757d0][rid#b7938/initial] (2)
    prefixed with document_root to /var/apache/htdocs/app/URLServlet$1
    172.16.1.108 - - [12/Dec/2000:18:11:42 -0500]
    [atlanta.atl.globaleventures.com/sid#757d0][rid#b7938/initial] (1)
    go-ahead with /var/apache/htdocs/app/URLServlet$1 [OK]
    And of course, there is no such thing in the docroot.
    Any thoughts? Please help.
    [bryon.vcf]

    I have a similar problem. Does anyone out there know how Apache URL
    rewriting interacts with mod_wl?
    My situation is that I want to pass a piece of information (which virtual
    host the request came in on) to weblogic. It appears that RewriteRule with
    the [QSA] option is perfect for this, except that for some reason the
    servlet request reports the original URL, not the rewritten one. I put in a
    rule that says
    RewriteRule ^(.*jsp)$ $1?VHOST=mydomain.com [QSA]
    and the rewrite log shows that the rule is applied, but
    HttpServletRequest.getQueryString() still returns null.
    Has anyone passed any information like this from Apache to Weblogic?
    Thanks,
    Greg Abbas
    "Bryon G. Rigg" wrote:
    I have an WL application which is invoked anytime a url that starts
    with /app. This is configured as follows:
    <Location /app>
    SetHandler weblogic-handler
    </Location>
    What my customers now want is to create new urls which will invoke my
    application. For example, one customer wants the following url:
    /airline/atlanta
    Which will need to map to the following url:
    /app/URLServlet/airline/atlanta
    I have tried to create a "RewriteRule", but found that apache looked
    for the result in the docroot instead of transferring it to WL.
    The following shows my "Rewrite config":
    RewriteEngine on
    RewriteLog "/var/apache/logs/rewrites"
    RewriteLogLevel 3
    RewriteRule ^/airline/atlanta /app/URLServlet$1
    WebLogicHost rome
    WebLogicPort 7101
    <Location /app>
    SetHandler weblogic-handler
    </Location>
    The following is from the rewrite log file:
    172.16.1.108 - - [12/Dec/2000:18:11:42 -0500]
    [atlanta.atl.globaleventures.com/sid#757d0][rid#b7938/initial] (2) init
    rewrite engine with requested uri /airline/atlanta
    172.16.1.108 - - [12/Dec/2000:18:11:42 -0500]
    [atlanta.atl.globaleventures.com/sid#757d0][rid#b7938/initial] (3)
    applying pattern '^/airline/atlanta' to uri '/airline/atlanta'
    172.16.1.108 - - [12/Dec/2000:18:11:42 -0500]
    [atlanta.atl.globaleventures.com/sid#757d0][rid#b7938/initial] (2)
    rewrite /airline/atlanta -> /app/URLServlet$1
    172.16.1.108 - - [12/Dec/2000:18:11:42 -0500]
    [atlanta.atl.globaleventures.com/sid#757d0][rid#b7938/initial] (2) local
    path result: /app/URLServlet$1
    172.16.1.108 - - [12/Dec/2000:18:11:42 -0500]
    [atlanta.atl.globaleventures.com/sid#757d0][rid#b7938/initial] (2)
    prefixed with document_root to /var/apache/htdocs/app/URLServlet$1
    172.16.1.108 - - [12/Dec/2000:18:11:42 -0500]
    [atlanta.atl.globaleventures.com/sid#757d0][rid#b7938/initial] (1)
    go-ahead with /var/apache/htdocs/app/URLServlet$1 [OK]
    And of course, there is no such thing in the docroot.
    Any thoughts? Please help.--
    Greg Abbas
    [email protected]
    http://www.abbas.org

  • Please help with creating more diverse iweb blog entries

    I have a blog about sports memorabilia that I use iweb for: http://www.hoopography.com. I have come to a road block in creating blog entries. I have two issues:
    1.) I would like to include more than one image for each blog. I tried to just add images and wrap text around when I create the entry in iWeb, but the images do not show up on the homepage where the blog section is located. I'm assuming I need more than one "place holder", but I have not been able to add more than one. Here is an example of another blog that has multiple images for one entry. Essentially, what I am trying to accomplish: http://offysports.blogspot.com/
    2.) I would like to add YouTube videos so that they not only appear in the individual entry, but also on the homepage where the blog section is located (Otherwise, visitors to the site need to click on the entry to even realize the image is a video. I would like readers to be able to play it right on the homepage.). I have tried to use the "YouTube Widget" to add the videos when working on the entry in iWeb, but the video appears as a still image on the homepage's blog section.
    I have some knowledge of iWeb and Macs. I have been using a Mac and iWeb to work on this blog for about 6 months now, but these 2 problems have stumped and constrained me and the blog. Please help!!!!!! Thanks You.

    I tuned the Place holder into a YouTube Video Widget, and it does display on the homepage, but it does not display as a video. It displays as a still image that the reader has to click on to access the entry and then play the video in the entry instead of playing right on the homepage.
    For the multiple images, are you saying that I can only have one placeholder? I do not follow. I want multiple placeholders for multiple images throughout the single entry (ex: http://offysports.blogspot.com/2010/05/2009-10-panini-studio-basketball.html)
    Thanks

  • I am having trouble getting a numbers spreadsheet to hold different formats in the same column.  A column with a date formatted heading will not convert to $ for the cells below.   Any suggestions would help.

    I am having trouble getting a numbers spreadsheet to hold different formats in the same column.  A column with a date formatted heading will not convert to $ for the cells below.   Any suggestions would help.

    Hi Wayne,
    Thank you for this response.  I have tried this but when I start enterring $ amounts some, such as $6.00, go in OK others such as $4.00 appear as a date ie 4 Oct 12.  
    Kind regards
    Paul

  • TS1627 Please Help. I received 4 emails from 1 person with the same message heading. The emails were automatically grouped by Mail. I replied to the latest mail in the conversation. Once sent the other messages in the conversation disappeared. I NEED THEM

    Please Help. I received 4 emails from 1 person with the same message heading. The emails were automatically grouped Apple Mail. I replied to the latest mail in the conversation. Once sent the other messages in the conversation disappeared. I NEED THEM BACK! They all had very important attachments. I have tried looking for them in deleted items, even though I didn't throw any of them away, still cant find them. Never had this problem before. I'm pretty sure its a setting somewhere. Also tried expanding all conversations, no luck. Searching for the mails under the sent email address, no luck.
    I'm sure they are not deleted but have somehow been hidden by Mail. Very frustrating.
    Thanks in advance for any help.
    Kash.

    I have found found out what has happened. I had requested a statement dating back to April 2012 from a supplier. They replied back with the latest statementof 2013 only but used the same subject heading as the previous monthly statements. Apple Mail automatically grouped these and I thought that they were sent altogether. As soon as I replied to the last email all other the previous emails ungrouped from the conversation leaving me lost as to where they had gone. They were all still sitting in my inbox but no longer part of the trcked conversation. I searched under the subject heading and all individual mails were all still there. (feeling stupid - )

  • How can I change next track when I using head phones ? I mean with out device help with headphone

    HiAm using iphone4 with ios5 I have simple question how can I change to next song when I am using head phone, it's very difficult to open my phone and change to next track Is there any way to do this

    See Here... ask to speak with the Account Security Team...
    Apple ID: Contacting Apple for help with Apple ID account security
    Or Here  >  Apple  Support  iTunes Store  Contact

  • Urgent help with simple BPEL process

    Hello there,
    I need help with BPEL project.
    I'm new in JDeveloper&BPEL and i'd like to create process that we'll after sending employee ID return personal details of that employee.
    I did create application, BPEL project and connection to the database properly but somehow i can't deal input and output variable.
    Can someone please describe me step by step what i need to do, how to set up variable etc
    Thx,
    DI

    Me again. This time i hope i'll get some help :(
    Solution to my problem is change to the data-sources.xml and oc4j-ra.xml.
    Since i have database on same machine with BPEL PM Server that uses Olite DB when i tried to make changes i found in tutorials, here on forum and rest of internet
    BPEL PM Server just freeze, didn't start at all.
    Here are data-sources.xml, oc4j-ra.xml and DBAdapter wsdl file. Plz can someone make changes to those files i'll appreciate that.
    HOME\bpel\system\appserver\oc4j\j2ee\home\application-deployments\default\DbAdapter
    oc4j-ra.xml
    <?xml version="1.0"?>
    <oc4j-connector-factories xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://www.oracle.com/technology/oracleas/schema/oc4j-connector-factories-10_0.xsd" schema-major-version="10" schema-minor-version="0" >
         <imported-shared-libraries>
              <import-shared-library name="oracle.bpel.common"/>
              <import-shared-library name="oc4j.internal"/>
              <import-shared-library name="oracle.xml"/>
              <import-shared-library name="oracle.sqlj"/>
              <import-shared-library name="oracle.toplink"/>
              <import-shared-library name="oracle.jdbc"/>
         </imported-shared-libraries>
         <connector-factory location="eis/DB/DBConn_XE" connector-name="Database Adapter">
              <config-property name="xADataSourceName" value="jdbc/DBConn_XEDataSource"/>
              <config-property name="dataSourceName" value="loc/DBConn_XEDataSource"/>
              <config-property name="platformClassName" value="oracle.toplink.platform.database.Oracle9Platform"/>
              <config-property name="usesNativeSequencing" value="true"/>
              <config-property name="sequencePreallocationSize" value="50"/>
              <config-property name="defaultNChar" value="false"/>
              <config-property name="usesBatchWriting" value="true"/>
              <connection-pooling use="none">
              </connection-pooling>
              <security-config use="none">
              </security-config>
         </connector-factory>
         <connector-factory location="eis/DB/BPELSamples" connector-name="Database Adapter">
              <config-property name="xADataSourceName" value="jdbc/BPELSamplesDataSource"/>
              <config-property name="dataSourceName" value=""/>
              <config-property name="platformClassName" value="oracle.toplink.platform.database.Oracle9Platform"/>
              <config-property name="usesNativeSequencing" value="true"/>
              <config-property name="sequencePreallocationSize" value="50"/>
              <config-property name="defaultNChar" value="false"/>
              <config-property name="usesBatchWriting" value="false"/>
              <connection-pooling use="none">
              </connection-pooling>
              <security-config use="none">
              </security-config>
         </connector-factory>
    </oc4j-connector-factories>
    HOME \bpel\system\appserver\oc4j\j2ee\home\config
    data-sources.xml
    <?xml version="1.0" standalone='yes'?>
    <!DOCTYPE data-sources PUBLIC "Orion data-sources" "http://xmlns.oracle.com/ias/dtds/data-sources-9_04.dtd">
    <data-sources>
    <!-- Connection pool for oracle database -->
    <!--
    <connection-pool name="BPELPM_CONNECTION_POOL">
    <connection-factory factory-class="oracle.jdbc.OracleDriver"
    url="jdbc:oracle:thin:[username]/[password]@[hostname]:[port]:[sid]" />
    </connection-pool>
    -->
    <!-- Connection pool for oracle lite -->
    <connection-pool name="BPELPM_CONNECTION_POOL">
    <connection-factory factory-class="oracle.lite.poljdbc.POLJDBCDriver"
    user="system"
    password="manager"
    url="jdbc:[email protected]:1531:orabpel" />
    </connection-pool>
    <managed-data-source name="BPELServerDataSource"
    connection-pool-name="BPELPM_CONNECTION_POOL"
    jndi-name="jdbc/BPELServerDataSource" tx-level="global"/>
    <managed-data-source name="BPELServerDataSourceWorkflow"
    connection-pool-name="BPELPM_CONNECTION_POOL"
    jndi-name="jdbc/BPELServerDataSourceWorkflow" tx-level="local"/>
    <managed-data-source name="BPELSamplesDataSource"
    connection-pool-name="BPELPM_CONNECTION_POOL"
    jndi-name="jdbc/BPELSamplesDataSource" />
    </data-sources>
    DBAdapter wsdl file
    GetData_WS.wsdl
    <?xml version="1.0" encoding="UTF-8"?>
    <definitions
    name="GetData_WS"
    targetNamespace="http://xmlns.oracle.com/pcbpel/adapter/db/GetData_WS/"
    xmlns:tns="http://xmlns.oracle.com/pcbpel/adapter/db/GetData_WS/"
    xmlns:plt="http://schemas.xmlsoap.org/ws/2003/05/partner-link/"
    xmlns:jca="http://xmlns.oracle.com/pcbpel/wsdl/jca/"
    xmlns:pc="http://xmlns.oracle.com/pcbpel/"
    xmlns:top="http://xmlns.oracle.com/pcbpel/adapter/db/top/GetDataWS"
    xmlns:hdr="http://xmlns.oracle.com/pcbpel/adapter/db/"
    xmlns="http://schemas.xmlsoap.org/wsdl/">
    <import namespace="http://xmlns.oracle.com/pcbpel/adapter/db/" location="DBAdapterOutboundHeader.wsdl"/>
    <types>
    <schema xmlns="http://www.w3.org/2001/XMLSchema">
    <import namespace="http://xmlns.oracle.com/pcbpel/adapter/db/top/GetDataWS"
    schemaLocation="GetDataWS_table.xsd"/>
    </schema>
    </types>
    <message name="EmpDetailsViewCollection_msg">
    <part name="EmpDetailsViewCollection" element="top:EmpDetailsViewCollection"/>
    </message>
    <message name="GetData_WSSelect_EMP_ID_inparameters">
    <part name="GetData_WSSelect_EMP_ID_inparameters" element="top:GetData_WSSelect_EMP_IDInputParameters"/>
    </message>
    <portType name="GetData_WS_ptt">
    <operation name="GetData_WSSelect_EMP_ID">
    <input message="tns:GetData_WSSelect_EMP_ID_inparameters"/>
    <output message="tns:EmpDetailsViewCollection_msg"/>
    </operation>
    </portType>
    <binding name="GetData_WS_binding" type="tns:GetData_WS_ptt">
    <jca:binding />
    <operation name="GetData_WSSelect_EMP_ID">
    <jca:operation
    InteractionSpec="oracle.tip.adapter.db.DBReadInteractionSpec"
    DescriptorName="GetDataWS.EmpDetailsView"
    QueryName="GetData_WSSelect"
    ReturnSingleResultSet="false"
    MappingsMetaDataURL="GetDataWS_toplink_mappings.xml" />
    <input>
    <jca:header message="hdr:OutboundHeader_msg" part="outboundHeader"/>
    </input>
    </operation>
    </binding>
    <!-- Your runtime connection is declared in
    J2EE_HOME/application-deployments/default/DbAdapter/oc4j-ra.xml
    These 'mcf' properties here are from your design time connection and
    save you from having to edit that file and restart the application server
    if eis/DB/DBConn_XE is missing.
    These 'mcf' properties are safe to remove.
    -->
    <service name="GetData_WS">
    <port name="GetData_WS_pt" binding="tns:GetData_WS_binding">
    <jca:address location="eis/DB/DBConn_XE"
    UIConnectionName="DBConn_XE"
         ManagedConnectionFactory="oracle.tip.adapter.db.DBManagedConnectionFactory"
         mcf.DriverClassName="oracle.jdbc.OracleDriver"
    mcf.PlatformClassName="oracle.toplink.platform.database.oracle.OraclePlatform"
    mcf.ConnectionString="jdbc:oracle:thin:@localhost:1521:xe"
    mcf.UserName="hr"
    mcf.Password="62C32F70E98297522AD97E15439FAC0E"
    />
    </port>
    </service>
    <plt:partnerLinkType name="GetData_WS_plt" >
    <plt:role name="GetData_WS_role" >
    <plt:portType name="tns:GetData_WS_ptt" />
    </plt:role>
    </plt:partnerLinkType>
    </definitions>
    Thx,
    DI

  • [SOLVED] VIM - need help with keymapping

    As the header says, I need help with creating a key mapping in my vimrc. What I would like is a
    mapping to<F8> that would toggle between " :set paste and :set nopaste. " Any and all help
    would be appreciated
    Last edited by orphius1970 (2010-03-02 07:50:22)

    YES!!!!  Thank you! Exactly what I was hoping for. I am new to vim so all these config options
    are a little intimidating for now. Thank you again!!!!

  • Unity Connection 8.5 - No Diversion Header information in transfered call

    We are having call failures when calls are transfered to our SIP provider from Unity Connection (AutoAttendent). We have tracked this down to Unity is sending a Refer that does not have any information regarding the number the call was transfered from. Subsequently Callmanager does not create a diversion header in the invite to the SIP provider.
    The SIP provider require either a authorized number in the from header or a the same in the diversion header.
    We have the rediversion headers enabled on the callmanager side of the trunk.
    Does anyone have end to end SIP configuration with UCM 8.5 and Unity Connection 8.5 and can complete transfers back to the provider?
    mike

    I don't see any problem, just don't check the option to ignore additional input when configuring caller input on digit 1
    By default CUC will give you 1500 ms to dial for any other digits before trying to route the call with whatever you dialed.
    HTH
    java
    if this helps, please rate
    www.cisco.com/go/pdihelpdesk

  • Help with complex Acrobat forms

    Hi Everyone,
    Background: I worked with another developer and completed a form for one of our clients but I need to know if the below change requests are even possible and if so if anyone would like to help with finishing the form. I am definitely willing to pay for an experts services as long as this can be done in a timely manner.
    What the form is - Our client wants a form that has text fields, drop down boxes and pages where images can be placed into the file and arrows drawn on it to point where the images are located on other images (some images are store layout maps). They would like to send this file out to their store managers, have them fill it in and then they would like the completed forms sent back so all of the information that was filled in (names, store names, addresses, square footage, etc) can be gathered into a database or excel file.
    What is completed so far
    - Cascading drop down boxes (user clicks on first drop down and whatever is selected changes the second drop down options, etc)
    - Most of the text fields for information gathering including city, state, store manager etc
    - Metric unit conversion boxes
    - Header text fields (read only) are used on several of the pages and are a combination of choices made in the drop down boxes and text fields.
    - Page footer info including page number
    - The over all layout of the pages is set
    Requested changes/additions
    Major must have:
    - Page Addition - There is a product page in the form (page 10) and the different stores will have a different number of these products to enter into the form so is there a way to add an ADD PAGE button on the page that when pressed will copy the product page to make a new product page? Now the product page has cascading drop down form fields on it so I would want to make sure the form fields are separate iterations of the form fields not just a duplicate of what was on the product page.
    - Footer adjustments - If we can do the above of adding pages then is it possible to at that point adjust the footer to reflect the page number changes? The footer shows the current page number then the form name and date.
    - Gather info - What is the best way to distribute these forms so that when returned completed the information can be gathered? I tried distributing via email which seems to work ok but the files might end up being too large for email so what is the best way to gather the completed info if say the files were ftp'd back?
    Minor:
    There are several minor change requests that I know are doable or that if not possible we can disregard. One that I am not sure about is if the color of the arrows in Acrobat can be changed from the default red?
    At first I was assuming that the Clients that get the forms needed Acrobat Standard or Pro 8 or 9 because I thought that the only way to add images was to use the Touch-Up Tool under advanced tools and right click to Place images. However I am pretty sure that if Reader Rights is enabled that images can be copy pasted into the file too if this is incorrect please let me know.
    If the above is not doable or if there is a better solution other than Acrobat forms to gather client information including allow the client to add images and place arrows then please let me know your thoughts.
    Any help or suggestions would be greatly appreciated and again id like to commission this out to anyone who is up for the challenge.
    Thanks in advance
    Jason

    Perhaps a better question is does anyone know a good developer?

  • Help with encapsulation and a specific case of design

    Hello all. I have been playing with Java (my first real language and first OOP language) for a couple months now. Right now I am trying to write my first real application, but I want to design it right and I am smashing my head against the wall with my data structure, specifically with encapsulation.
    I go into detail about my app below, but it gets long so for those who don't want to read that far, let me just put these two questions up front:
    1) How do principles of encapsulation change when members are complex objects rather than primitives? If the member objects themselves have only primitive members and show good encapsulation, does it make sense to pass a reference to them? Or does good encapsulation demand that I deep-clone all the way to the bottom of my data structure and pass only cloned objects through my top level accessors? Does the analysis change when the structure gets three or four levels deep? Don't DOM structures built of walkable nodes violate basic principles of encapsulation?
    2) "Encapsulation" is sometimes used to mean no public members, othertimes to mean no public members AND no setter methods. The reasons for the first are obvious, but why go to the extreme of the latter? More importantly HOW do you go to the extreme of the latter? Would an "updatePrices" method that updates encapsulated member prices based on calculations, taking a single argument of say the time of year be considered a "setter" method that violates the stricter vision of encapsulation?
    Even help with just those two questions would be great. For the masochistic, on to my app... The present code is at
    http://www.immortalcoil.org/drake/Code.zip
    The most basic form of the application is statistics driven flash card software for Japanese Kanji (Chinese characters). For those who do not know, these are ideographic characters that represent concepts rather than sounds. There are a few thousand. In abstract terms, my data structure needs to represent the following.
    -  There are a bunch of kanji.
       Each kanji is defined by:
       -  a single character (the kanji itself); and
       -  multiple readings which fall into two categories of "on" and "kun".
          Each reading is defined by:
          -  A string of hiragana or katakana (Japanese phoenetic characters); and
          -  Statistics that I keep to represent knowledge of that reading/kanji pair.Ideally the structure should be extensible. Later I might want to add statistics associated with the character itself rather than individual readings, for example. Right now I am thinking of building a data structure like so:
    -  A Vector that holds:
       -  custom KanjiEntry objects that each hold
          -  a kanji in a primitive char value; and
          -  two (on, kun) arrays or Vectors of custom Reading objects that hold
             -  the reading in a String; and
             -  statistics of some sort, probably in primitive valuesFirst of all, is this approach sensible in the rough outlines?
    Now, I need to be able to do the obvious things... save to and load from file, generate tables and views, and edit values. The quesiton of editting values raises the questions I identified above as (1) and (2). Say I want to pull up a reading, quiz the user on it, and update its statistics based on whether the user got it right or wrong. I could do all this through the KanjiEntry object with a setter method that takes a zillion arguments like:
    theKanjiEntry.setStatistic(
    "on",   // which set of readings
    2,      // which element in that array or Vector
    "score", // which statistic
    98);      // the valueOr I could pass a clone of the Reading object out, work with that, then tell the KanjiEntry to replace the original with my modified clone.
    My instincts balk at the first approach, and a little at the second. Doesn't it make more sense to work with a reference to the Reading object? Or is that bad encapsulation?
    A second point. When running flash cards, I do not care about the subtlties of the structure, like whether a reading is an on or a kun (although this is important when browsing a table representing the entire structure). All I really care about is kanij/reading pairings. And I should be able to quickly poll the Reading objects to see which ones need quizzing the most, based on their statistics. I was thinking of making a nice neat Hashtable with the keys being the kanji characters in Strings (not the KanjiEntry objects) and the values being the Reading objects. The result would be two indeces to the Reading objects... the basic structure and my ad hoc hashtable for runninq quizzes. Then I would just make sure that they stay in sync in terms of the higher level structure (like if a whole new KanjiEntry got added). Is this bad form, or even downright dangerous?
    Apart from good form, the other consideration bouncing around in my head is that if I get all crazy with deep cloning and filling the bottom level guys with instance methods then this puppy is going to get bloated or lag when there are several thousand kanji in memory at once.
    Any help would be appreciated.
    Drake

    Usually by better design. Move methods that use the
    getters inside the class that actually has the data....
    As a basic rule of thumb:
    The one who has the data is the one using it. If
    another class needs that data, wonder what for and
    consider moving that operation away from that class.
    Or move from pull to push: instead of A getting
    something from B, have B give it to A as a method
    call argument.Thanks for the response. I think I see what you are saying.. in my case it is something like this.
    Solution 1 (disfavored):
    public class kanjiDrill{ // a chunk of Swing GUI or something
         public void runDrill(Vector kanjiEntries){
              KanjiEntry currentKanjiEntry = kanjiEntries.elementAt(0); // except really I will pick one randomly
              char theKanji = currentKanjiEntry.getKanji();
              String theReading = currentKanjiEntry.getReading();
              // build and show a flashcard based on theKanji and theReading
              // use a setter to change currentKanji's data based on whether the user answers correctly;
    }Solution 2 (favored):
    public class kanjiDrill{ // a chunk of Swing GUI or something
         public void runDrill(Vector kanjiEntries){
              KanjiEntry currentKanjiEntry = kanjiEntries.elementAt(0); // except really I will pick one randomly
              currentKanji.buildAndShowFlashcard(); // method includes updating stats
    }I can definitely see the advantages to this, but two potential reasons to think hard about it occur to me right away. First, if this process is carried out to a sufficient extreme the objects that hold my data end up sucking in all the functionality of my program and my objects stop resembling natural concepts.
    In your shopping example, say you want to generate price tags for the items. The price tags can be generated with ONLY the raw price, because we do not want the VAT on them. They are simple GIF graphics that have the price printed on a an irregular polygon. Should all that graphics generating code really go into the item objects, or should we just get the price out of the object with a simple getter method and then make the tags?
    My second concern is that the more instance methods I put into my bottom level data objects the bigger they get, and I intend to have thousands of these things in memory. Is there a balance to strike at some point?
    It's not really a setter. Outsiders are not setting
    the items price - it's rather updating its own price
    given an argument. This is exactly how it should be,
    see my above point. A breach of encapsulation would
    be: another object gets the item price, re-calculates
    it using a date it knows, and sets the price again.
    You can see yourself that pushing the date into the
    item's method is much beter than breaching
    encapsulation and getting and setting the price.So the point is not "don't allow access to the members" (which after all you are still doing, albeit less directly) so much as "make sure that any functionality implicated in working with the members is handled within the object," right? Take your shopping example. Say we live in a country where there is no VAT and the app will never be used internationally. Then we would resort to a simple setter/getter scheme, right? Or is the answer that if the object really is pure data are almost so, then it should be turned into a standard java.util collection instead of a custom class?
    Thanks for the help.
    Drake

  • PDF Exaprom, problem with multitext in one header

    Problem is,that according to my simply thiking when I connect two elements Append Text HF one by one serialy with some text in header, and in their properties I set alligment both of them at left- MIDDLE in my opinion it suppose to overwrite one text on secand. When I set one text at left-MIDDLE and secont text in center-MIDDLE is should firstly create one text at left side, another at the middle. I doesn't.... When you try to combine with alligment of text,you easly notice,that when it's creating first text at the left side,it devide page on 3 and locate it at 1 collumn, and then when you pass this PDF Report to second Append Text HF this subVI divide not the same lenght of the side, but those 2-3 columnt whose left!!!! In effect text wich suppose to be at center of document is the center of 2-3 parts of document. 
    Do I doing something wrong or is it program bug? 
    Attachments:
    pdf_report_test.vi ‏53 KB
    Report.pdf ‏20 KB

    Now I see,
    I just haven't know about this specyfication of that subvi.
    I managed to deal with that, but unfortanatly I have another problem.
    In help context of create table.vi you can read that in cell can be eiter text or pictures. I want to add 2D array of pictures and it show mistake. Do I ones again don't understand description or I have to do it in other way? I just wanted to create table ona the page,which will contain pictures, let's say 2x2 size table, picture in each cell. Is it possible to using this program? 
    Attachments:
    pdf_report Folder.zip ‏2270 KB
    pdf report.JPG ‏402 KB
    pdf_report Folder.zip ‏2270 KB

  • Need Help With a Stored Procedure

    Help With a Stored Procedure
    Hi everyone.
    I am quite new relative to creating stored procedures, so I anticipate that whatever help I could get here would be very much helpful.
    Anyway, here is my case:
    I have a table where I need to update some fields with values coming from other tables. The other tables, let us just name as tblRef1, tblRef2 and tblRef3. For clarity, let us name tblToUpdate as my table to update. tblToUpdate has the following fields.
    PlanID
    EmployeeIndicator
    UpdatedBy
    CreatedBy
    tblRef1, tblRef2 and tblRef3 has the following fields:
    UserName
    EmpIndicator
    UserID
    In my stored procedure, I need to perform the following:
    1. Check each row in the tblToUpdate table. Get the CreatedBy value and compare the same to the UserName and UserID field of tblRef1. If no value exists in tblRef1, I then proceed to check if the value exists in the same fields in tblRef2 and tblRef3.
    2. If the value is found, then I would update the EmployeeIndicator field in tblToUpdate with the value found on either tblRef1, tblRef2 or tblRef3.
    I am having some trouble writing the stored procedure to accomplish this. So far, I have written is the following:
    CREATE OR REPLACE PROCEDURE Proc_Upd IS v_rec NUMBER;
    v_plan_no tblToUpdate.PLANID%TYPE;
    v_ref_ind tblToUpdate.EMPLOYEEINDICATOR%TYPE;
    v_update_user tblToUpdate.UPDATEDBY%TYPE;
    v_created_by tblToUpdate.CREATEDBY%TYPE;
    v_correct_ref_ind tblToUpdate.EMPLOYEEIDICATOR%TYPE;
    CURSOR cur_plan IS SELECT PlanID, EmployeeIndicator, UPPER(UpdatedBy), UPPER(CreatedBy) FROM tblToUpdate;
    BEGIN
    Open cur_plan;
         LOOP
         FETCH cur_plan INTO v_plan_no, v_ref_ind, v_update_user, v_created_by;
              EXIT WHEN cur_plan%NOTFOUND;
              BEGIN
              -- Check if v_created_by has value.
                   IF v_created_by IS NOT NULL THEN
                   -- Get the EmpIndicator from the tblRef1, tblRef2 or tblRef3 based on CreatedBy
                   SELECT UPPER(EmpIndicator)
                        INTO v_correct_ref_ind
                        FROM tblRef1
                        WHERE UPPER(USERNAME) = v_created_by
                        OR UPPER(USERID) = v_created_by;
                        IF v_correct_ref_ind IS NOT NULL THEN
                        -- Update the Reference Indicator Field in the table TRP_BUSPLAN_HDR_T.
                             UPDATE TRP_BUSPLAN_HDR_T SET ref_ind = v_correct_ref_ind WHERE plan_no = v_plan_no;
                        ELSIF
                        -- Check the Other tables here????
                        END IF;
                   ELSIF v_created_by IS NULL THEN
                   -- Get the EmpIndicator based on the UpdatedBy
                        SELECT UPPER(EmpIndicator)
                        INTO v_correct_ref_ind
                        FROM tblRef1
                        WHERE UPPER(USERNAME) = v_update_user
                        OR UPPER(USERID) = v_created_by;
                        IF v_correct_ref_ind IS NOT NULL THEN
                        -- Update the Reference Indicator Field in the table TRP_BUSPLAN_HDR_T.
                             UPDATE TRP_BUSPLAN_HDR_T SET ref_ind = v_correct_ref_ind WHERE plan_no = v_plan_no;
                        ELSIF
                        -- Check the Other tables here????
                        END IF;
                   END IF;
              END;
         END LOOP;
         CLOSE cur_plan;
         COMMIT;
    END
    Please take note that the values in the column tblToUpdate.UpdatedBy or tblToUpdate.CreatedBy could match either the UserName or the UserID of the table tblRef1, tblRef2, or tblRef3.
    Kindly provide more insight. When I try to execute the procedure above, I get a DATA NOT FOUND ERROR.
    Thanks.

    Ah, ok; I got the updates the wrong way round then.
    BluShadow's single update sounds like what you need then.
    I also suggest you read this AskTom link to help you see why you should choose to write DML statements before choosing to write cursor + loops.
    In general, when you're being asked to update / insert / delete rows into a table or several tables, your first reaction should be: "Can I do this in SQL?" If you can, then putting it into a stored procedure is usually just a case of putting the sql statement inside the procedure header/footers - can't really get much more simple than that! *{;-)                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

Maybe you are looking for