01-30-2008 04:34 PM - edited 03-15-2019 08:32 AM
Im configuring an AS5400XM and im having some problems with diak-peers ignoring Voice translation-profiles outgoing, I want to translate for example the called 5212322808 to 2808. To test Im using
#csim start 5212322808. Below is the configuration and debug.
THANKS
!
voice translation-rule 10
rule 1 /^521232\(26[4-9].\)/ /\1/
rule 2 /^521232\(28[0-5].\)/ /\1/
!
voice translation-profile CYRA
translate called 10
!
dial-peer voice 50001 voip
description =====================> VOIP TO TUCCCMSUB01
translation-profile outgoing CYRA
preference 3
service session
destination-pattern 52123228[0-5].
voice-class codec 1
session target dns:TUCCCMSUB01
dtmf-relay cisco-rtp h245-signal h245-alphanumeric
ip qos dscp cs3 signaling
no vad
!
DEBUG
*Mar 31 03:09:37.487: xrule_checking
*Mar 31 03:09:37.487: xrule_checking calling , called 5212322808
*Mar 31 03:09:37.487: xrule_checking peer_tag 50001, direction 2, protocol 0
*Mar 31 03:09:37.487: xrule_checking Return rc = -5
Solved! Go to Solution.
02-05-2008 02:22 PM
Yes, remember that csim will ignore translation profiles on DP, yet these configure at port or trunk level will work.
02-05-2008 01:49 PM
The calls are not getting matched to any of the translation profile. could you verify the configuration details.
You can refer this configuration guide for more information on configuring Translation profiles.
http://cisco.com/en/US/tech/tk652/tk90/technologies_configuration_example09186a00803f818a.shtml
http://cisco.com/en/US/tech/tk652/tk90/technologies_configuration_example09186a00801bc341.shtml
02-05-2008 01:55 PM
Thanks for the reply,
It was weird, becuase when I test the dial peers and the translations both work fine, but failed when I tried to make a test call using csim start, Now Im seeing that making a call from any other place (instead inside the router) it just work.
02-05-2008 02:22 PM
Yes, remember that csim will ignore translation profiles on DP, yet these configure at port or trunk level will work.
02-05-2008 02:24 PM
Well, Thanks all for the support.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide