Numbering External Mask

Hello.
We have a CUCM 9.1.2.11900-12.
When we make an external call, receiver can't see our number (it appears as unknown).
I've tried to add the number into "External Phone Number Mask" field (into "Line Configuration" from device), with no luck.
I've also tried to add a number into "Calling Party Transform Mask" field and check "Use Calling Party's External Phone Number Mask" from Route Pattern, no luck!
Into gateway configuration (2821 mgcp controlled) there are no configuration.
ISP doesn't mask our numbers.
Where I'm wrong?
Thanks
Daniele

I've used DNA, and result is:
Results Summary
Calling Party Information
Dialed Digits = 03312828301
Match Result = RouteThisPattern
Matched Pattern Information
Called Party Number =  03312828301
Time Zone = Etc/GMT
End Device = RL_Esterne
Call Classification = OffNet
InterDigit Timeout = YES
Device Override = Disabled
Outside Dial Tone = NO
Call Flow
TranslationPattern :Pattern=
Partition =
Positional Match List = 0:3312828301
Calling Party Number = 705
PreTransform Calling Party Number =
PreTransform Called Party Number =
Calling Party Transformations
External Phone Number Mask = NO
Calling Party Mask =
Prefix =
CallingLineId Presentation =
CallingName Presentation =
Calling Party Number = 705
ConnectedParty Transformations
Called Party Transformations
Route Pattern :Pattern= 0.331!
Route List :Route List Name= RL_Esterne
It seems that CUCM didn't translate calling DN.
If I insert into route pattern translation, I got this result:
Results Summary
Calling Party Information
Dialed Digits = 03312828301
Match Result = RouteThisPattern
Matched Pattern Information
Called Party Number =  03312828301
Time Zone = Etc/GMT
End Device = RL_Esterne
Call Classification = OffNet
InterDigit Timeout = YES
Device Override = Disabled
Outside Dial Tone = NO
Call Flow
TranslationPattern :Pattern=
Route Pattern :Pattern= 0.331!
Positional Match List = 0:3312828301
DialPlan =
Route Filter
Require Forced Authorization Code = No
Authorization Level = 0
Require Client Matter Code = No
Call Classification =
PreTransform Calling Party Number = 705
PreTransform Called Party Number = 03312828301
Calling Party Transformations
External Phone Number Mask = YES
Calling Party Mask = 0116319XXX
Prefix =
CallingLineId Presentation = Default
CallingName Presentation = Default
Calling Party Number = 0116319705
ConnectedParty Transformations
Called Party Transformations
Route List :Route List Name= RL_Esterne
But from debug I can't see any difference: calling number appears both times as 0116319705...

Similar Messages

  • Unified External Mask

    Hi,
    CUCM 10.5, MGCP VGW with E1s
    Required to make a group of users to make external calls with the same external number. i.e. the shown Calling number at the second end will be the same, whomever the user made the call of this group.
    Regards.

    Not sure I understand you here but I will give it a whirl.  Just set the External Phone Number Mask option to whatever number you want to appear on the called party's phone (the ANI).  I think that is what you are asking for?  This is found in the line setting per phone.

  • Calling Party translation internal and external

    Hello all!
    I have a problem regarding the external phone number mask and some special requests.
    Basically is the feature "external phone number mask" enabled and in use.
    Now we have the following request:
    Several phones are member of a hunt list, with the extension 555. They want now two groups, one should show internal and external the 555. And the other one should show internal the 555 and external the "normal" extension of the user.
    Overview, showing the numbers:
    Phone group 1:
    external: 555
    internal: 555
    Phone group 2:
    external: line extension
    internal: 555
    Used is CUCM 8.6 and MGCP-Gateways to the PSTN.
    Has anyone an idea to configure that?
    Thanks a lot!
    Kind regards,
    DrMxxxxx

    Ah, got it. Well here's how you do it then:
    Create a Partition for e.g. PT-CallingParty and put it in CSS-CallingParty.
    Create a Calling Party Transformation Mask as following:
    4912345XXX with PT-CallingParty
    Check Mark "Use Calling Party's External Phone Number Mask"
    Under Calling Party Transformation Mask put "4912345555"
    Now, for phones:
    Go under each phone and under Number Presentation Transformation Uncheck "Use Device pool Calling Party Transformation CSS" and from dropdown just above it Select " CSS-CallingParty" (Apply config, I will suggest BAT for this if you have multiple phones)
    Once done that, For User A put External Mask as 4912345555 
    Whereas for User B put 4912345456
    Let me know how that works out for you.
    Regards,
    Vishal

  • Update Phone Numbers in Bulk - HELP

    Hi. I have Call Manager 6.1 and will be changing all our 4 digit line numbers. I want to do this in bulk rather than have to change it on each phone. I have been trying the BAT with no success so I must be doing it wrong. What is the best way to change the line number on over 250 phones? The external mask also needs to change but that is all. Everything else stays the same.
    Thanks

    Hi,
    I know that this is an old post and that the solution for CallManager 6.1 is to use BAT export ALL DETAILS option, delete phones, modify DNs in BAT, reimport using also ALL details. However, I would like to confirm if for CallManager 8.6 this is the only way also, or is there another way to do it in bulk for a large number of phones
    Thanks

  • Sync MM & FI Doc Numbers for GR

    Hi,
    I am able to sync MM & FI Document Numbers for Invoice Receipt (MIRO). I want to have same sync for GR (MIGO) also. Can somebody suggest the way?
    I tried following same way what I did for IR (maintaining same number ranges for MM & FI and making FI document numbering external) but that doesn't work for GR (MIGO).
    Cheers!
    Amit

    Hi,
    You want WE  numbering will be same on material/accounting document creation.
    Use t.code: OMBT, Click Financial Accounting Number ranges
    Example: number range available is  48
    4800000000 to 4899999999
    Now again back use t.code: OMBT, Click Financial Accounting Document type > click WE > enter number Range 48 in properties TAB & save.
    Now use t.code: OMBA
    Click Group in menu bar-- > maintain -- > again click Group in menu bar --> Insert
    Enter Text as GR Docs
    Year  u2026u2026From u2026u2026u2026u2026u2026u2026u2026u2026TO
    9999u2026u2026.4800000000 u2026u2026u2026u2026u2026. 4899999999
    Now Double click WE & select check box of GR Docs and click Element/Group & save
    (See the WE is assigned to GR Docs after assigning)
    Also need to assign WE document type  in MIGO_GR t.code in by using  t.code: OMBT by double clicking Goods Receipt Document Type & save.
    Now try ur transaction GR.
    Regards,
    Biju K

  • External HU in COWBPACK

    I need to know how to specify an externally assigned HU number during COWBPACK. I have defined both external and internal number ranges, and I have no problem assigning HU numbers externally in other transactions (e.g. inbound or outbound deliveries), but COWBPACK does not appear to have a place to enter an HU number.
    During our packaging operation, the pallet ID is being assigned as an SSCC18 derivation of the pallet EPC number that was assigned by an RFID system external to ECC. My desire is to create an RF-enabled version of COWBPACK that will allow this SSCC18 number to be packed to the production order.
    I cannot let SAP assign the HU number because it won't correspond to what was already encoded on the RFID tag for the pallet.
    Has anyone done this?  Are there function modules that allow the creation of an external HU that is tied to a production order?

    Hi,
    Pls see the below link if this can help you.
    http://help.sap.com/bp_dm603/DM_IN/Documentation/226_BPP_EN_IN.doc
    Anil

  • Mask and Limit Testing Express VI

    Hello.
    Im a bit new at looking at limit testing signals. Im using the Mask and Limit Testing Express VI to mask a signal I acquired previously. See attached VI.
    My problem is that we would like to load the limit mask at run time using a file of some sort.
    At the moment I am un-able to get any sort of mask loaded using the limit inputs to the Mask and Limit Testing Express VI. Does anybody know how I might do this?
    Thanks in advance
    Chuck
    Attachments:
    Limit Test (SubVI) example.vi ‏724 KB
    Limit Type.ctl ‏5 KB

    Hi and thanks for getting back so soon
    True the upper and lower inputs are not connected because I wanted to show a working (all be it without an external mask) VI
    the problem is I can't get the upper and lower inputs working in any form If I connect the inputs.  So I guess my question should be,
    How do I wire the upper and lower inputs to produce a working mask with the data supplied?
    Then how do I use a file to provide the mask data.
    Sorry for my lack of clarity and I hope this helps.
    Chuck

  • Outbound DID Masking Needed

    We have a customer who wants a certain number to display on outbound calls. Here's an explanation: Customer has site A and Site B, Site B is new and has 40 phones and a new PRI with DID range of 222-555-XXXX and Site A has a DID range of 222-444-XXXX and what they have is 10 of those users coming from Site A with there exisitng extensions 222-444-XXXX . So when someone calls that users who is not in Site A anymore, the call goes to Site A gateway and routed through network to Site B and everything is fine. Now here's what they want, the user who is in Site B with the extension from site A (222-444-XXXX) to be able to call out Site B gateway with there number. We setup External phone masks on the phone, enabled Use Calling Party's External Mask in the Route List, checked mark the Use Calling Party's External in the Route Pattern and when we place a call out, we get 222-555-XXXX, it does not change the 555 to 444

    They are running 4.1(3). We did correct the problem. What I did was created a new Route List and everything worked correctly. What I did find out is that someone did put in the wrong mask a week ago and just yesterday took it out of the Route List, so it looks like that even though it was blank, somewhere in the database it was still in there. So we assign the Route List to all the Route Patterns and deleted the old Route List and all is well.
    Thanks for all the input.

  • Vendor Numbers with a prefix

    I need to have my vendor numbers (external assignment) starting with E, example E12345, without having to manually enter the "E". Is this possible?, how may I do this please?
    Is it also possible to do a similar thing for internally assigned vendor numbers??

    Hi
    If you define number as alpha numeric, then it is not possible to have internal.
    regards
    Srinivas

  • Sharing network problem - again

    Hi, i hoped to avoid posting this problem, but i just can't get internet sharing working!
    My setup is this: I have a PC connected directly to a adsl-modem via a netcard, and via a second netcard (and a crossed cable) i have a second PC connected to the first, both are running Archlinux, the first is up to date, but the second is 0.6 (since i can't update...).
    The 2 PC's have no problems communicating, ping and ssh is working perfectly both ways.
    To share the connection, i have this in the rc.conf:
    The one connected to the modem:
    lo="lo 127.0.0.1"
    eth0="dhcp"
    eth1="eth1 192.168.1.1 netmask 255.255.255.0 broadcast 192.168.1.255"
    INTERFACES="lo eth0 eth1"
    # Routes to start at boot-up (in this order)
    # Declare each route then list in ROUTES
    # (prefix a route in ROUTES with a ! to disable it)
    gateway="default gw 192.168.0.1"
    ROUTES=(!gateway)
    The one needing the connection:
    lo="lo 127.0.0.1"
    eth0="eth0 192.168.1.2 netmask 255.255.255.0 broadcast 192.168.1.255"
    #eth0="dhcp"
    INTERFACES=(lo eth0)
    # Routes to start at boot-up (in this order)
    # Declare each route then list in ROUTES
    # (prefix a route in ROUTES with a ! to disable it)
    gateway="default gw 192.168.1.1"
    ROUTES=(gateway)
    And i have this "firewall" installed on the one connected to the internet:
    #!/bin/sh
    # rc.firewall-2.4
    FWVER=0.75
    # Initial SIMPLE IP Masquerade test for 2.4.x kernels
    # using IPTABLES.
    # Once IP Masquerading has been tested, with this simple
    # ruleset, it is highly recommended to use a stronger
    # IPTABLES ruleset either given later in this HOWTO or
    # from another reputable resource.
    # Log:
    # 0.75 - Added more kernel modules to the comments section
    # 0.74 - the ruleset now uses modprobe vs. insmod
    # 0.73 - REJECT is not a legal policy yet; back to DROP
    # 0.72 - Changed the default block behavior to REJECT not DROP
    # 0.71 - Added clarification that PPPoE users need to use
    # "ppp0" instead of "eth0" for their external interface
    # 0.70 - Added commented option for IRC nat module
    # - Added additional use of environment variables
    # - Added additional formatting
    # 0.63 - Added support for the IRC IPTABLES module
    # 0.62 - Fixed a typo on the MASQ enable line that used eth0
    # instead of $EXTIF
    # 0.61 - Changed the firewall to use variables for the internal
    # and external interfaces.
    # 0.60 - 0.50 had a mistake where the ruleset had a rule to DROP
    # all forwarded packets but it didn't have a rule to ACCEPT
    # any packets to be forwarded either
    # - Load the ip_nat_ftp and ip_conntrack_ftp modules by default
    # 0.50 - Initial draft
    echo -e "nnLoading simple rc.firewall version $FWVER..n"
    # The location of the iptables and kernel module programs
    # If your Linux distribution came with a copy of iptables,
    # most likely all the programs will be located in /sbin. If
    # you manually compiled iptables, the default location will
    # be in /usr/local/sbin
    # ** Please use the "whereis iptables" command to figure out
    # ** where your copy is and change the path below to reflect
    # ** your setup
    #IPTABLES=/sbin/iptables
    IPTABLES=/usr/sbin/iptables
    DEPMOD=/sbin/depmod
    MODPROBE=/sbin/modprobe
    #Setting the EXTERNAL and INTERNAL interfaces for the network
    # Each IP Masquerade network needs to have at least one
    # external and one internal network. The external network
    # is where the natting will occur and the internal network
    # should preferably be addressed with a RFC1918 private address
    # scheme.
    # For this example, "eth0" is external and "eth1" is internal"
    # NOTE: If this doesnt EXACTLY fit your configuration, you must
    # change the EXTIF or INTIF variables above. For example:
    # If you are a PPPoE or analog modem user:
    # EXTIF="ppp0"
    EXTIF="eth0"
    INTIF="eth1"
    echo " External Interface: $EXTIF"
    echo " Internal Interface: $INTIF"
    #======================================================================
    #== No editing beyond this line is required for initial MASQ testing ==
    echo -en " loading modules: "
    # Need to verify that all modules have all required dependencies
    echo " - Verifying that all kernel modules are ok"
    $DEPMOD -a
    # With the new IPTABLES code, the core MASQ functionality is now either
    # modular or compiled into the kernel. This HOWTO shows ALL IPTABLES
    # options as MODULES. If your kernel is compiled correctly, there is
    # NO need to load the kernel modules manually.
    # NOTE: The following items are listed ONLY for informational reasons.
    # There is no reason to manual load these modules unless your
    # kernel is either mis-configured or you intentionally disabled
    # the kernel module autoloader.
    # Upon the commands of starting up IP Masq on the server, the
    # following kernel modules will be automatically loaded:
    # NOTE: Only load the IP MASQ modules you need. All current IP MASQ
    # modules are shown below but are commented out from loading.
    # ===============================================================
    echo "----------------------------------------------------------------------"
    #Load the main body of the IPTABLES module - "iptable"
    # - Loaded automatically when the "iptables" command is invoked
    # - Loaded manually to clean up kernel auto-loading timing issues
    echo -en "ip_tables, "
    $MODPROBE ip_tables
    #Load the IPTABLES filtering module - "iptable_filter"
    # - Loaded automatically when filter policies are activated
    #Load the stateful connection tracking framework - "ip_conntrack"
    # The conntrack module in itself does nothing without other specific
    # conntrack modules being loaded afterwards such as the "ip_conntrack_ftp"
    # module
    # - This module is loaded automatically when MASQ functionality is
    # enabled
    # - Loaded manually to clean up kernel auto-loading timing issues
    echo -en "ip_conntrack, "
    $MODPROBE ip_conntrack
    #Load the FTP tracking mechanism for full FTP tracking
    # Enabled by default -- insert a "#" on the next line to deactivate
    echo -en "ip_conntrack_ftp, "
    $MODPROBE ip_conntrack_ftp
    #Load the IRC tracking mechanism for full IRC tracking
    # Enabled by default -- insert a "#" on the next line to deactivate
    echo -en "ip_conntrack_irc, "
    $MODPROBE ip_conntrack_irc
    #Load the general IPTABLES NAT code - "iptable_nat"
    # - Loaded automatically when MASQ functionality is turned on
    # - Loaded manually to clean up kernel auto-loading timing issues
    echo -en "iptable_nat, "
    $MODPROBE iptable_nat
    #Loads the FTP NAT functionality into the core IPTABLES code
    # Required to support non-PASV FTP.
    # Enabled by default -- insert a "#" on the next line to deactivate
    echo -en "ip_nat_ftp, "
    $MODPROBE ip_nat_ftp
    #Loads the IRC NAT functionality into the core IPTABLES code
    # Required to support NAT of IRC DCC requests
    # Disabled by default -- remove the "#" on the next line to activate
    #echo -e "ip_nat_irc"
    #$MODPROBE ip_nat_irc
    echo "----------------------------------------------------------------------"
    # Just to be complete, here is a partial list of some of the other
    # IPTABLES kernel modules and their function. Please note that most
    # of these modules (the ipt ones) are automatically loaded by the
    # master kernel module for proper operation and don't need to be
    # manually loaded.
    # ip_nat_snmp_basic - this module allows for proper NATing of some
    # SNMP traffic
    # iptable_mangle - this target allows for packets to be
    # manipulated for things like the TCPMSS
    # option, etc.
    # ipt_mark - this target marks a given packet for future action.
    # This automatically loads the ipt_MARK module
    # ipt_tcpmss - this target allows to manipulate the TCP MSS
    # option for braindead remote firewalls.
    # This automatically loads the ipt_TCPMSS module
    # ipt_limit - this target allows for packets to be limited to
    # to many hits per sec/min/hr
    # ipt_multiport - this match allows for targets within a range
    # of port numbers vs. listing each port individually
    # ipt_state - this match allows to catch packets with various
    # IP and TCP flags set/unset
    # ipt_unclean - this match allows to catch packets that have invalid
    # IP/TCP flags set
    # iptable_filter - this module allows for packets to be DROPped,
    # REJECTed, or LOGged. This module automatically
    # loads the following modules:
    # ipt_LOG - this target allows for packets to be
    # logged
    # ipt_REJECT - this target DROPs the packet and returns
    # a configurable ICMP packet back to the
    # sender.
    echo -e " Done loading modules.n"
    #CRITICAL: Enable IP forwarding since it is disabled by default since
    # Redhat Users: you may try changing the options in
    # /etc/sysconfig/network from:
    # FORWARD_IPV4=false
    # to
    # FORWARD_IPV4=true
    echo " Enabling forwarding.."
    echo "1" > /proc/sys/net/ipv4/ip_forward
    # Dynamic IP users:
    # If you get your IP address dynamically from SLIP, PPP, or DHCP,
    # enable this following option. This enables dynamic-address hacking
    # which makes the life with Diald and similar programs much easier.
    echo " Enabling DynamicAddr.."
    echo "1" > /proc/sys/net/ipv4/ip_dynaddr
    # Enable simple IP forwarding and Masquerading
    # NOTE: In IPTABLES speak, IP Masquerading is a form of SourceNAT or SNAT.
    # NOTE #2: The following is an example for an internal LAN address in the
    # 192.168.0.x network with a 255.255.255.0 or a "24" bit subnet mask
    # connecting to the Internet on external interface "eth0". This
    # example will MASQ internal traffic out to the Internet but not
    # allow non-initiated traffic into your internal network.
    # ** Please change the above network numbers, subnet mask, and your
    # *** Internet connection interface name to match your setup
    #Clearing any previous configuration
    # Unless specified, the defaults for INPUT and OUTPUT is ACCEPT
    # The default for FORWARD is DROP (REJECT is not a valid policy)
    echo " Clearing any existing rules and setting default policy.."
    $IPTABLES -P INPUT ACCEPT
    $IPTABLES -F INPUT
    $IPTABLES -P OUTPUT ACCEPT
    $IPTABLES -F OUTPUT
    $IPTABLES -P FORWARD DROP
    $IPTABLES -F FORWARD
    $IPTABLES -t nat -F
    echo " FWD: Allow all connections OUT and only existing and related ones IN"
    $IPTABLES -A FORWARD -i $EXTIF -o $INTIF -m state --state ESTABLISHED,RELATED -j ACCEPT
    $IPTABLES -A FORWARD -i $INTIF -o $EXTIF -j ACCEPT
    $IPTABLES -A FORWARD -j LOG
    echo " Enabling SNAT (MASQUERADE) functionality on $EXTIF"
    $IPTABLES -t nat -A POSTROUTING -o $EXTIF -j MASQUERADE
    echo -e "nrc.firewall-2.4 v$FWVER done.n"
    And to start it:
    #!/bin/sh
    # chkconfig: 2345 11 89
    # description: Loads the rc.firewall-2.4 ruleset.
    # processname: firewall-2.4
    # pidfile: /var/run/firewall.pid
    # config: /etc/rc.d/rc.firewall-2.4
    # probe: true
    # v05/24/03
    # Part of the copyrighted and trademarked TrinityOS document.
    # http://www.ecst.csuchico.edu/~dranch
    # Written and Maintained by David A. Ranch
    # [email protected]
    # Updates
    # 05/24/03 - removed a old networking up check that had some
    # improper SGML ampersand conversions.
    # Source function library.
    . /etc/rc.d/functions
    # Check that networking is up.
    [ "XXXX${NETWORKING}" = "XXXXno" ] && exit 0
    [ -x /sbin/ifconfig ] || exit 0
    # The location of various iptables and other shell programs
    # If your Linux distribution came with a copy of iptables, most
    # likely it is located in /sbin. If you manually compiled
    # iptables, the default location is in /usr/local/sbin
    # ** Please use the "whereis iptables" command to figure out
    # ** where your copy is and change the path below to reflect
    # ** your setup
    IPTABLES=/usr/sbin/iptables
    # See how we were called.
    case "$1" in
    start)
    /etc/rc.firewall-2.4
    stop)
    echo -e "nFlushing firewall and setting default policies to DROPn"
    $IPTABLES -P INPUT DROP
    $IPTABLES -F INPUT
    $IPTABLES -P OUTPUT DROP
    $IPTABLES -F OUTPUT
    $IPTABLES -P FORWARD DROP
    $IPTABLES -F FORWARD
    $IPTABLES -F -t nat
    # Delete all User-specified chains
    $IPTABLES -X
    # Reset all IPTABLES counters
    $IPTABLES -Z
    restart)
    $0 stop
    $0 start
    status)
    $IPTABLES -L
    mlist)
    cat /proc/net/ip_conntrack
    echo "Usage: firewall-2.4 {start|stop|status|mlist}"
    exit 1
    esac
    exit 0
    But it just won't work! If you can spot any problems please let me know!
    UPDATE:
    Just talked to my ISP, and they tell me that my IP-adress is locked to one PC. Could this be the problem? or does the forwarding handles this as well?

    Hey tgc, thank you for posting your problem so generously explained!
    I had no idea of how to do it, and I only had to change a small obvious typo to make it work. At least I suppose the typo is the reason for your sharing not to work....
    Lets see...did you change the
    eth0="eth0 192.168.1.2 netmask 255.255.255.0 broadcast 192.168.0.255"
    to
    eth0="eth0 192.168.1.2 netmask 255.255.255.0 broadcast 192.168.1.255"
    just now? I'm sure I had to change that, but I have a strange memory
    So, the way the configuraton looks now, works perfectly for sharing my isdn connection with my laptop over wlan.
    Desktop: isdn, eth0 -> wireless router / hub
    Laptop: wlan0
    So, what I'm saying anyway, is that your configuration works for me Thanks!

  • Information on how to run SQL queries on the CUCM itself please

    Good Day All,
    I need to run an sql query on the CUCM to list all of my directory numbers, their partition, and their external mask values.
    I came across this excerpt below earlier so I have a bit of an idea how to do it but iw would be great to see some other examples of sql queries.
    Any assistance is most appreciated.
    Also, is there a document somewhere to tell me how to run these queries?
    Thanks in advance
    Regards
    Amanda
    Currently Being Moderated
    05/04/2011 5:18 AM (in response to Joshua Royle)
    Re: Is there a way of pulling a report off CM showing all phones that have diverts on?
    Try if running this SQL query from the CLI helps you, it should list all DN's that have CFA enabled to VM or a DN:
    run sql select dnorpattern,cfadestination,cfavoicemailenabled from CallForwardDynamic c, numplan n where c.fknumplan = n.pkid and (cfadestination != '' or cfavoicemailenabled ='t')

    Hi Amanda
    Basically it's standard SQL, so it wouldn't hurt to google 'informix select statements' and do a little reading to get the basics. There are millions of permutations of queries so it's a matter of understanding the syntax, and then applying that to the database in question. The only difference when running commands from the CLI are that:
    - You prefix the standard informix SQL statement with 'run sql'
    - You don't get any help from CUCM with the syntax, so you might be well advised to use something that understands SQL a little and colorises it as you type, and then paste the resulting commands into the CUCM SSH window. I use a text editor named JEdit, if you create a text file and save it as a file ending in .sql it will highlight your syntax.
    - Other programs are available that do reasonable syntax highlighting (e.q. SquirrelSQL) that are designed for querying the DB directly, but you can't actually query directly against the DB for security reasons. You'd still have to copy/paste the commands.
    Now... to understand the DB you'll need a reference describing all the tables etc. This is here:
    http://www.cisco.com/en/US/products/sw/voicesw/ps556/products_programming_reference_guides_list.html
    Pick your version of CUCM and download the 'Data Definition' document.
    A few notes on the command:
    run sql : is just the CLI command that tells the shell to run the following text as SQL.
    select : the SQL command to retrieve data
    dnorpattern,cfadestination,cfavoicemailenabled : the column names to retrieve
    callforwarddynamic c, numplan n : the names of two tables, and the abbreviations you want to refer to them as
    where c.fknumplan = n.pkid : this tells SQL to return values from the two tables where these fields match up. In the data definition you'll see notes that c.fknumplan (i.e. the fknumplan column in the callforwarddynamic table, as noted by the c. prefix) refers to the PKID column in the numplan field. This is a very standard type of join in the CCM DB.
    and (cfadestination != '' or cfavoicemailenabled ='t') : another clause, basically in this query we want to see only rows where cfadestination isn't blank or cfavoicefmailenabled is set to 't' for true).
    Most tables are linked in one of two ways in this database:
    - a column prefixed 'fk' refers to the pkid field (there is always only one pkid field per table) in the table following the 'fk' prefix. E.g. above fknumplan refers to the numplan table, pkid field. fkdevice would refer to the device table, pkid field.
    - a column prefiex 'tk' refers usually to an enum table which is prefixed with 'type'. This is a table that maps the number value in the 'tk' field to a string. An example would be tkmodel - this represents the phone physical model type (e.g. 7962), and maps to a table called typemodel, and the 'enum' column in that table.
    Regards
    Aaron HarrisonPrincipal Engineer at Logicalis UK
    Please rate helpful posts...

  • Can this be done?

    I am formatting a form in Adobe Acrobat Pro 9. One of my fields is for a credit card number. I have set up a "Special" Arbitrary Mask to the format and limit of numbers that can be entered.
    What I would like to do it Mask some of the numbers as they are entered. I entered the Arbitrary Mask as 9999-****-**99-9999. The problem is that this set up is causing the entry to skip the ***. My concern then is that the person entering the data will not realize this skip and not provide the correct ending numbers.
    What I would like to happen is that the person entering the data will type the complete 16 digit number and the system will MASK the numbers I designate with an **.
    Can this be done?
    Thanks in advance for any assistance.
    Kathy

    Hopefully I'm not breaking any posting rules by saying "I think I love you!"
    My functional desires always exceed my knowledge level so I want what I don't know how to create. Your script totally worked and I would never have figured that out on my own. I want to learn what you do very badly.
    We are masking the numbers for security reasons. We know the numbers being masked but we don't want to store the full number in our records. 
    Thank you so much for your help, What kind of experience do you have with Access 2007 or 2010?
    Kathy

  • AAR Not working when dn is different to ddi

    I have configured AAR IN CUCM 6.X. When CAC is implemented phones in the branch office can ring some phone at HQ but not others. The phones that they can't reach have ddi's that do not match their 4 digit dn's. These phones that can't be reached over the pstn when cac kicks in. These phones also have single number reach (might be a red herring). I have external phone number mask to represent the full ddi and I have also used the AAR MASK but it still does not work.
    I am testing this using a pri tester. I can ring the number over the pstn to the pri tester in normal conditions but when cac is working the branch phone just says not enough bandwidth and as expected the pri tester does not ring.
    Any ideas what I am doing wrong.
    dn= 1513
    ddi 01189335701
    aar external mask/phone number used 01189335701

    Progress so far:
    Got AAR to work adding translation patterns for 1513 to 5701, added this to aar partitions and new aar css including partitions. Added the mask to the aar 01189335701. This worked after adding XXXX instead of 5701 and then added 5701 to the aar mask and it worked ( bit flaky).
    Configured single numner reach and now AAR does not work, any ideas

  • "Unidentified network" in Domain enviroment

    I have setup Lan routing millions of times on Server 2012 in Domain environment.
    DC1.
    ip: 10.10.0.10 mask: 255.255.0.0 gw: 10.10.0.1
    Router:
    ip: 10.10.0.1 (internal) mask 255.255.0.0 
    ip2: 192.168.1.12 (external) mask: 255.255.255.0 gw: 192.168.1.1
    The problem is that the External interface saying "Unidentified network" (when I dont have any GW), when I have a GW and it have Internet access with 8.8.8.8 as DNS it says "network", not my Domain name!
    The external interface have not registered in DNS on DC1.
    And yes. I have disabled the Nic, and I can ping everything. The FW are off. 
    I am running this on ESXi. The free version.
    Been at this for a day now. I have also reinstall the server, same issue.

    Hi,
    Since AD is rely on DNS, where is your local DNS then?
    Assume it is installed on the DC, I also wonder if the router works as a DNS as well.
    For local clients, set your domain DNS as primary DNS. You can do this via DHCP 003 option. Regarding external name resolution, use root hint or forward to your IPS DNS.
    Hope this helps.

  • 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"

Maybe you are looking for

  • ITunes match matched songs to wrong language

    iTunes match has matched some of my Indian songs to wrong language. Many of the big budget movies these days are releasing their movies in several languages at the same time and making them all available to purchase from iTunes store. When I ripped a

  • I have lost my Restore disks came with my macbook pro 2.33 15".

    I have lost my restore DVDs which came with my macbook pro. Can I buy new Os leopard and install? Can I buy used or new one from ebay? It was mac os X 10.4.8. My macbook pro is late 2006 model. Intel core2 2.33 Ghz 15" display 2 GB memory 120 GB hard

  • Error when Installing R12 on Windows XP SP3

    Hi I am trying to install EBS R12 on WindXP SP3 and followed all the steps mentioned. I go the following error: Step 2 of 5 RW-50004: Error code received when running external process. Check log file for details. Running Database Install Driver for V

  • Yellow(blue line) on my iMac MC309 21,5 inch

    I have used my iMac for half a year only and got a yellow, blue (depending on the background) line on the left. I tried almost everything, rebooting, turning off, resetting PRAM and NVRAM and nothing helped. What should I do? Is it a serious problem?

  • HP B110a multifunction ceases to function after Hp Update

    I have HP Photosmart B110a multifunction printer which ceases to work after applying "HP notification of Updates". Cannot print or access HP Solution Centre (nothing works). Only solution is to use the installation CD to completely uninstall the HP s