[cisco-voip] (no subject)

Lelio Fulgenzi lelio at uoguelph.ca
Mon May 21 20:22:01 EDT 2007


Jason, I'm doing something similar. I'm saying "anything that comes in, insert a 9 in the front". The key was the concept of "slices" for me. Also, you might notice that it's "test voice translation-rule" not test translation-rule. 

   Here's my config:

  !
  voice translation-rule 613
   rule 1 /\(.+\)/ /9\1/
  !
  voice translation-profile kc_did_profile
   translate called 613
  !
  dial-peer voice 1 pots
   translation-profile incoming kc_did_profile
   incoming called-number .
   direct-inward-dial
   port 0/0/0:23
  !

  vgw-kemptville#test voice translation-rule 613 ?
    WORD  Number to translate

  vgw-kemptville#test voice translation-rule 613 5195551212
  Matched with rule 1
  Original number: 5195551212     Translated number: 95195551212
  Original number type: none      Translated number type: none
  Original number plan: none      Translated number plan: none


--------------------------------------------------------------------------------
Lelio Fulgenzi, B.A.
Senior Analyst (CCS) * University of Guelph * Guelph, Ontario N1G 2W1
(519) 824-4120 x56354 (519) 767-1060 FAX (JNHN)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 
...there's no such thing as a bad timbit...

  ----- Original Message ----- 
  From: Jason Aarons (US) 
  To: cisco-voip at puck.nether.net 
  Sent: Monday, May 21, 2007 7:58 PM
  Subject: [cisco-voip] (no subject)


  If a call comes in for 8900 matching dial-peer 28900 I want to translate the called number to 8912.

   

  What am I doing wrong ?

   

  voice translation-rule 1

   rule 1 /987654/ //

   rule 2 /8900/ /8912/

  !

  !

  voice translation-profile 8900-8912

   translate called 1

  !

  dial-peer voice 28900 voip

  translation-profile incoming 8900-8912

   

   

  VGW1#test translation-rule 1 8900

  Translation Rule 1 is not defined

  VGW1#

   

   

        Jason Aarons

        Consultant
       http://www.dimensiondata.com/na

        904-338-3245 cell
       

   

  For urgent issues notify your Project Manager, for 24x7 support contact the Dimension Data NOC at 800-974-6584.

   



------------------------------------------------------------------------------


  Disclaimer: This e-mail communication and any attachments may contain confidential and privileged information and is for use by the designated addressee(s) named above only. If you are not the intended addressee, you are hereby notified that you have received this communication in error and that any use or reproduction of this email or its contents is strictly prohibited and may be unlawful. If you have received this communication in error, please notify us immediately by replying to this message and deleting it from your computer. Thank you. 



------------------------------------------------------------------------------


  _______________________________________________
  cisco-voip mailing list
  cisco-voip at puck.nether.net
  https://puck.nether.net/mailman/listinfo/cisco-voip
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://puck.nether.net/pipermail/cisco-voip/attachments/20070521/a64ad131/attachment.html 


More information about the cisco-voip mailing list