Gatekeeper alias command

I am trying to understand the usage of the alias command. I have two CMs and H323 ATA registered to the gatekeeper. I don't want to use tech-prefixes and I want gatekeeper to make all of its routing decisions based on the registered E164IDs. As CM does not register the E164 #s , I configured the following alias entry but it does not seem to work. Can somebody enlighten me about the usage of this command ? Thanks
gatekeeper
zone local home cisco.com
zone local office cisco.com
alias static 172.25.3.102 1720 gkid office gateway voip ras 172.25.3.102 1719 e164 3903
no use-proxy office default inbound-to terminal
no use-proxy office default outbound-from terminal
no shutdown
Router#sh gatekeeper endpoints
GATEKEEPER ENDPOINT REGISTRATION
================================
CallSignalAddr Port RASSignalAddr Port Zone Name Type Flags
172.25.5.11 2037 172.25.5.11 2665 office VOIP-GW
H323-ID: LabCMTrunk_1
Voice Capacity Max.= Avail.= Current.= 2
172.25.3.102 49232 172.25.3.102 49229 office VOIP-GW
H323-ID: EmreHomeTrunk_1
Voice Capacity Max.= Avail.= Current.= 0
172.25.3.102 1720 172.25.3.102 1719 office VOIP-GW S
E164-ID: 3903 (static)
192.168.80.55 1720 192.168.80.55 1719 office TERM
H323-ID: port0=333
E164-ID: 1200
192.168.80.55 1721 192.168.80.55 1739 office TERM
H323-ID: port1=333
E164-ID: 1300

I suspect the problem is not with the alias statement but rather with anonymous device support in CCM.
Alias statements provide the simplest form of RAS. They tell the GK to return a specific IP when a particular e164 is ARQed. No tech prefix is required, and default tech prefixes are not used in matching the e164. However, aliases _do_not_ depend on a endpoint be registered. Indeed, aliases are ideal for situations where an endpoint doesn't support ras. So there is no call state maintained in the GK.
I believe you are seeing the failure of Anonymous Device support in CCM. CCM will not accept h225 call setups from devices it is not aware of. There are three ways to get the CCM to accept a call from an h323 endpoint:
1) Configure the device in CCM as a h323 gateway. When a new CS from a h323 endpoint arrives, CCM compares the source IP address against those configured as gateways. If the IP is unknown, it will
2) ARQ its GK controlled trunks. If a GK responds with an ACF, then CCM will accept the call. If it receives an ARJ, or there are no GK controlled trunks, CCM will reject the Call. Also, since aliases don't require the GK to maintain call state information,
3) You may override this behavior in CallManager Service parameters by setting "Accept Unknown TCP Connection" to true. This is not a good idea as it could open you up to toll fraud.
HTH,
Michael
PS. please remember to rate posts.

Similar Messages

  • Tcsh shell "alias" command seems to be truncating file names

    Terminal Utility: As a Unix geek, on trying to port a large # of tcsh shell scripts to MacOSX (10.5.6), I have found a strange compatibility issue with the tcsh script "alias" command. After entering tcsh sub-shell from bash (by typing tcsh at the bash prompt, or by setting tcsh as the default shell), and defining the alias "surf_run" by sourcing a script containing the the line:
    alias surf_run 'source /Users/username/SgiNew/molsurf/csh/radix.csh'
    subsequent use of the "surf_run" alias (typing surf_run at the tcsh command prompt) seems to cause the system to truncate the name of the file to about 20 characters. The radix.csh file is actually present at the defined path, but the system seems to be truncating the file name to the last 16 letters or so in this case, and thus returns the following error message:
    : No such file or directory.rf/csh/radix.csh
    as if it is looking for a file rf/csh/radix.csh (which is not there, because the filename has been truncated)
    The number of characters retained actually varies from case to case. Another similarly obtained error message had 30 characters retained in the file name:
    : No such file or directory.rtoz/rtoz/rxtst/unix/login.csh
    Q: Is there any system parameter or environment variable that I can modify that will allow the tcsh shell alias command to recognize properly file paths with large numbers of characters?

    I cannot reproduce this error. A long alias string works fine for me. But the error messages -- as you reproduce them here -- do not look like the string is truncated. It looks like the "No such file or directory" message is being written on top of the string. Like maybe a new line is being swallowed somewhere.
    I suggest taking further inquiries to the Unix forum, under "Mac OS X Technologies".
    [http://discussions.apple.com/forum.jspa?forumID=735]

  • SRST Alias command final destination

    Hi,
    I am running SRST on a 2811 router  with IOS 12.4(7).
    I have alias and call forward no answer commands configured as shown below.
    alias 1 3000 to 3001 cfw 3000 timeout 10
    alias 2 3000 to 3002 cfw 3000 timeout 10
    alias 3 3000 to 3003 cfw 3000 timeout 10
    alias 4 3000 to 3004 cfw 3000 timeout 10
    alias 5 3000 to 3005 cfw 3000 timeout 10
    call-forward noan 90123456789 timeout 10
    What I want to happen is for incomin calls to 3000 to ring on extensions 3001, 3002, 3003, 3004 and 3005 and then be forwarded to the PSTN number
    90123456789
    The config above does not work as the call-forward noan command only seems to work for calls direct to ephone-dn's rather than calls matched by the alias command.
    Does anyone know if this is possible with SRST?
    I know that this could be done using CME-as-SRST and I will go that way if I have to but I would first like to be sure that this cannot be done using basic SRST.
    Thanks

    Have done some testing and the config below seems to work:
    alias 1 3000 to 3001 cfw 3000 timeout 10
    alias 2 3000 to 3002 cfw 3000 timeout 10
    alias 3 3000 to 3003 cfw 3000 timeout 10
    alias 4 3000 to 3004 cfw 3000 timeout 10
    alias 5 3000 to 3005 cfw  90123456789
    The problem I have now is that if one of the extensions 30001, 3002, 30003, 3004 or 3005 is not available the call fails.
    These numbers are allocated to Extension Mobility profiles and the users often log out when away from the office so this is not that unusual.

  • Alias Command on CSS11500

    To make things easier for my client I want to make an alias command to run the config synch script. The format of the command is:
    alias usermode alias-name "command in double quotes"
    this leads to my attempt at this:
    alias superuser synchronize "script play commit_redundancy "172.16.2.2 -d -s" "
    Notice the imbedded quotes? The CSS did and didn't like them. I have tried the normal things like using "" to represent an inbedded quote, no luck.
    Anyone been there and done this?
    Thanks in advance.

    I don't think you can have an alias using quote.
    So, you have to get rid of the quote.
    You could set the ip with the command
    set REMOTE_IP "172.16.2.2"
    save_profile
    Then you could simply have an alias
    alias superuser synchronize "script play commit_redundancy"
    If you really need the options -d and -s, you could extract the commit_redundancy file [it's a text file] and in the function Check_Arguments replace the IF statement in order to always set -f and -d by default.
    Then copy the script back to the CSS via ftp.
    Gilles.

  • SIP SRST transfer issue using ALIAS command

    Dear Networkers,
    We have a CUCM v10 cluster installed. We're using Cisco 7821 and Cisco 7841 IP Phones. we're using autoregistration, and every user is loggin in using extension Mobility.
    Auto registration DNs : 95XXX
    Device Profiles DNs : 2XXX
    We have a SRST Gateway in a remote site (Cisco 2911)
    What I would like to have is that when some user logs out from EM (2411 for exemple) so the phone gets back his old extension in 95XXX, and in SRST mode, his incoming calls should be redirected to the Lobby phone DN 95077
    I am using to "alias 1 2411 to 95077" command under the Voice register Pool tag (tag is 1 in my case). The issue is that when I call the number 2411 from another extension, all i get is busy tone instead of redirecting the call to 95077.
    Can you please advice ?

    Hi,
    I am assuming that you`re abbreviating the translation profile command under the voice register pool 3 cause  "translate-outgoing called 66"  doesn't seem to be a valide IOS command.                                  
    For me your transaltion and alias are doing the same thing. Remove the translation-profile command from the voice register pool 3 and put the alias 2 3225016599 to 3225016588 under call-manager-fallback. Or create a dial-peer which has 3225016599 as destination-pattern and use the translation-profile under the same dial-peer to send the call to 3225016588.
    MK

  • Using the Local Director "alias ip address" command

    I believe it is possible to have real servers in a different subnet to the local director virtual address by using the "alias ip address" command. This eliminates the need to use a router between the Local Director and the real servers. Does this mean that the Local Director is routing between subnets? Do the real servers use the Local Director alias address as their default gateway? Can someone provide an example config using the "alias ip address" command?

    no, the local director will not route. there are two ways to make this work.
    1
    the router on the front side of the local director must be configured with a secondary ip address from the real server subnet plus add the alias command
    or
    2
    use the alias command, plus each real server must be configured with a static ARP entry. the ARP entry is for the ip address of the servers configured default gateway and the MAC address of the router interface.

  • How to find out where an alias is defined

    How can I find out where an alias is defined on my system? I am referring to the kind of alias that is used within a Terminal session launched from Mac OS X (10.6.3).
    For example, if I enter the alias command with no parameters at a Terminal command prompt, I get a list of aliases that I have set, for example, this is one of them
    alias mysql='/usr/local/mysql/bin/mysql'
    However, I have searched all over my system using Spotlight and mdfind in various startup files and so far can not find where this alias has been defined ( I did it a long time ago and didn't write down where I assigned the alias).

    Thank you. I must have missed that before. It looks like the alias definitions in my case are in the file ~/.bash_profile.

  • Unable to create alias

    I've noticed that with several apps the cmd-L command to make an alias does not work. Likewise with these same apps the make alias command in the finder's file menu is grayed out and unavailable.
    Can anyone give me an explanation of this and what I might do to remedy it

    Hi, W. B.
    1. The Command-L keyboard shortcut to create an alias is a Finder shortcut. Likewise, the Make Alias contextual menu choice only operates in Finder.1.1. What are the "other apps" in which you are attempting this?
    1.2. Is it related to specific file types?
    1.3. What changes did you make to your Mac before this problem arose?2. An errant Startup or Login Item may be the cause. My "Troubleshooting Startup and Login Items" FAQ can help you pin that down if such an item is causing the problem.
    3. See my "Finder Issues? How to delete its preferences" FAQ.
    Good luck!
    Dr. Smoke
    Author: Troubleshooting Mac® OS X
    Note: The information provided in the link(s) above is freely available. However, because I own The X Lab™, a commercial Web site to which some of these links point, the Apple Discussions Terms of Use require I include the following disclosure statement with this post:
    I may receive some form of compensation, financial or otherwise, from my recommendation or link.

  • Gatekeeper Accounting: Logging the IP addresses

    Hi,
    I am using a Cisco 7200 as a gatekeeper and I have setup a RADIUS server to log the calls. The problem is that the gatekeeper is not logging the IP ADDRESSes of the gateways (even for gateways registered to its local zone). It just logs the H323-ID of the gateways belonging to the local zone. Although you can see the IP address of the gateways in the "show gatekeeper calls" command ouput.
    Is there anyway I could configure the gatekeeper to log the IP address of the gateways. Is this done through the GK API? If yes, could anyone explain or give me an example?
    Thanks,
    Hamid

    Since there has been no response to your post, it appears to be either too complex or too rare an issue for other forum members to assist you. If you don't get a suitable response to your post, you may wish to review our resources at the online Technical Assistance Center (http://www.cisco.com/tac) or speak with a TAC engineer. You can open a TAC case online at http://www.cisco.com/tac/caseopen
    If anyone else in the forum has some advice, please reply to this thread.
    Thank you for posting.

  • Enable Screen Sharing from command line

    I inadvertently removed screen sharing from my mac mini server firewall but I can still ssh into it. How can I enable either screen sharing or remote management via ARD?
    Thanks so much,
    J.

    Sorry for the imperfect instructions, I was doing it from memory.
    First, set up secure ssh credentials by doing the public/private RSA key exchange.
    Based on someone else's suggestion I found on the web, I created an "alias" command in my .tcshrc file. I just launch a terminal session and use my alias I've created, followed by my ssh credentials on the remote machine, and the alias/script does the rest.
    Begin fragmment from my .tcshrc....
    echo " myvnc ACCOUNTNAME = connect to ACCOUNTNAME via VNC"
    alias myvnc 'ssh -f -L 1202:localhost:5900 \!:1 sleep 10 ; open vnc://localhost:1202'
    ... End fragment.
    So when I want to vnc I just type
    $ myvnc [email protected]
    In fact, after a while, I got tired of reading all the server logs of people trying to hack my server over port 22 (ssh standard port). Once you have the alias command above working for you, you can pick a different port on your server's firewall, and forward it to port 22 inside the firewall. That way, hackers that scan your port 22 won't get any response.
    Once you do this, you can revise the alias in your .tcshrc to also include the "-p" ssh argument, so hep save you the trouble of remembering the ssh port you have moved your server conversation to. For example, it you decided to close port 22 at the firewall, and forward port 2222 (just an arbitrary number I picked) to your server's port 22 inside the fire wall, your alias line would look like this...
    alias myvnc 'ssh -p 2222 -f -L 1202:localhost:5900 \!:1 sleep 10 ; open vnc://localhost:1202'

  • Recalling Previous commands

    Respected brothers..........
    I am working on Linux base Oracle, i have heard that there is a way of recalling previous command in SQL prompt, but i do not know can you tell me.
    Also as we can edit commands with ed in windows, can we have this type of facility in linux bases oracle.
    Let me clear my question, while working on Linux terminal we can use up and down keys to recall previous commands, how this i can do on SQL prompt.
    Edited by: user6409699 on Jul 16, 2010 12:37 AM

    user6409699 wrote:
    I am working on Linux base Oracle, i have heard that there is a way of recalling previous command in SQL prompt, but i do not know can you tell me. You need to install the rlwrap RPM or Debian package. Alternatively, you can download the source and build and install it manually.
    For details, see http://tiswww.case.edu/php/chet/readline/rltop.html
    To use. I alias commands like rman and sqlplus in +~/.bash_profile+. E.g.
    alias rman="rlwrap $ORACLE_HOME/bin/rman"
    alias sqlplus="rlwrap $ORACLE_HOME/bin/sqplus"

  • Alias clean up, location, etc.

    So I recently created an alias by typing
    alias ql='qlmanage -p "$@" &> /dev/null'
    and for the life of I can't find the file that stores said alias.
    Usually I can find this file, like on Fedora or other Unix based systems in a .bashrc or .cshrc file in the home directory, but there's no such file in my directory in Leopard.
    Any help would be appreciated in determining where these aliases are stored.
    Thanks.

    An alias command that you simply type at a shell prompt is not stored in a file. It is stored in the memory space of the current instance of the shell. If you want the alias created for each shell instance then you put the alias command in the startup profile for your shell. e.g. .bashrc or .cshrc. Which you use depends on which shell you use and how you start the shell. By default, Terminal.app creates a bash "login" shell, so the appropriate profile should be named .bash_profile -- see the bash man page for details. If you want a .bash_profile, you have to create one.

  • Unable to add an alias...

    Hi all, here is what i try to do :
    Under Solaris 9, logged as root user, i edit the ~/.profile to add alias command like this :
    # cat .profile
    PATH=/usr/sbin:/usr/bin:/usr/local/bin:/usr/lib:/opt/local/bin:/usr/ccs/bin:/opt/apache/bin:/export/home/vpopmail/bin:/opt/mysql/bin:/usr/sfw/bin:/var/qmail/bin:.
    LD_LIBRARY_PATH=/usr/local/lib
    EDITOR=vi
    export PATH LD_LIBRARY_PATH EDITOR
    alias qboxs=`cd /export/home/vpopmail/domains`
    alias qlogs=`cd /var/log/qmail`
    Then i reconnect as root but if i type the "alias" command to list me all the available alias, my new ones are not here :
    # alias
    autoload='typeset -fu'
    command='command '
    functions='typeset -f'
    history='fc -l'
    integer='typeset -i'
    local=typeset
    nohup='nohup '
    r='fc -e -'
    stop='kill -STOP'
    suspend='kill -STOP $$'
    Any help would be apprecied...
    thanks
    Florent

    Hi,
    I tryed what you told me, but it doesn't works too...
    # cat .profile
    PATH=/usr/sbin:/usr/bin:/usr/local/bin:/usr/lib:/opt/local/bin:/usr/ccs/bin:/opt/apache/bin:/export/home/vpopmail/bin:/opt/mysql/bin:/usr/sfw/bin:/var/qmail/bin:.
    LD_LIBRARY_PATH=/usr/local/lib
    EDITOR=vi
    export PATH LD_LIBRARY_PATH EDITOR
    alias qboxs="cd /export/home/vpopmail/domains"
    alias qlogs="cd /var/log/qmail"
    ====================================
    # alias
    autoload='typeset -fu'
    command='command '
    functions='typeset -f'
    history='fc -l'
    integer='typeset -i'
    local=typeset
    nohup='nohup '
    r='fc -e -'
    stop='kill -STOP'
    suspend='kill -STOP $$'
    =====================================
    Florent

  • ACE cli alias configuration

    is there any possibillity to cinfigure an cli alias on ACE ?
    I am wondering that a "show alias" is possible:
    ACE/Admin# show alias
    CLI alias commands
    ==================
    ACE/Admin#
    but the "normal" alias configuration doesn´t work, eg:
    ACE/Admin(config)# cli alias name shint show interface
                                  ^
    % invalid command detected at '^' marker.
    I use the following SW:
    Cisco Application Control Software (ACSW)
      loader:    Version 12.2[120]
      system:    Version A2(1.4a) [build 3.0(0)A2(1.4a) adbuild_12:09:43-2009/04/08_/auto/adbu-rel2/rel_a2_1_4_throttle/REL_3_0_0_A2_1_4A]
    thx

    Hi,
    I don't think that ACE supports alias commands.
    Indeed, the show alias command works, but is a hidden commandP:
    ACE/Admin# show  a
    aaa          access-list  accounting   acl-merge    arp
    ACE/Admin# show  alias
    CLI alias commands
    ==================
    ACE/Admin#
    also in config mode, no command to configure aliases.
    Looking in the command reference guide, no alias commands either.
    So I don't think you can create alias commands (maybe in the future?)
    I'm running A2(2.2)
    HTH,
    Dario

  • Commands executed when Terminal opened

    Hello.
    I can't remember the file (i believe it's in /etc/) and it has a few commands that get executed with each terminal window that you create.
    I put a few alias commands in there but want to modify them and forget the file.
    Thanks.

    There are several possible files.
    The exact one depends on several factors, including the shell you use.
    The most likely candidates are ~/.cshrc ~/.bashrc ~/.tcshrc and ~/.profile, amongst others (all of these files are in your home directory, not /etc/)
    You can try running the command:
    grep alias ~/.*
    which will give you a list of all the hidden files in your home directory that contain alias commands. Hopefully this will help identify the file you're after.

Maybe you are looking for

  • Error ORA-01460 warning ORA-01461 during running a mapping with parameters

    Oracle 10g release2(10.2.0.1.0), OWB 10.2.0.1.31, Workflow server 2.6.4 I have a simple process flow ( start -> mapping -> end). The mapping consists of 4 input groups(3 ordinary tables<INGRP1, INGRP2, INGRP3> and 1 mapping input parameter operator <

  • Sending Catalog by e-mail.

    Hi, I want to send a RAW shoot that I corrected for another photographer to him, but by sending the .ircat file, so that he may re-open the original files in his Lightroom and update the changes. I used Export to Catalog and unchecked "include origin

  • Moveable Column Seperators Property

    Am I missing something or is there no property to control if there are "Moveable Column Seperators" on a Multicolumn Listbox?  To be clear I am not looking to programatically control the column width, I want the user to have the ability to move the c

  • Deploying an EJB Jar on weblogic

    Hi i have an ear file which contains two components 1. JAR file contains EJB's 2. WAR file contains JSP's and servlets when i try to deply this ear on weblogic the JAR file succesfully deploy but on deploying WAR file it throws error Context path is

  • Cannot logon user defined in header variable!

    Dear Guru's I'm seeing this this error when I type the URL. "Cannot logon user defined in header variable!" I have stopped and sterted the portal. I could not find the authschemes.xml (if this is related) Thanks, EP6 SP2 Naren