12-18-2012 04:59 AM
hi
i need some help uderstanding the translation profile. you we have a siemens ipbx on one side and a cisco 28xx on the other.
i wanted to create a dial code of 4+xxx (xxx for the extension number of the remote site, since we have overlapping numbers) but i would like the cisco equipment to strip off the 4 and leave just the 3 extension number.
for incoming calls as well, i would like the cisco to strip off the 4 and leave just the 3 numbers before routing to the ext. this is all voip calls
would this be correct:
translation profile to be used in dial plan
/4.../ /.../ for outgoing calls
/4.../ /.../ for incoming calls.
thanks in advance.
12-18-2012 10:57 AM
These are my similar rules, they strip the prefix 2255 and maintain the rest of the number:
voice translation-rule 10
rule 1 /^2255/ //
!
voice translation-rule 11
rule 1 /^2244/ //
!
!
voice translation-profile STRIP_PREFIX_2244
translate called 11
!
voice translation-profile STRIP_PREFIX_2255
translate called 10
More info about translation rule are here:
http://www.cisco.com/en/US/tech/tk652/tk90/technologies_tech_note09186a0080325e8e.shtml
Regards.
12-18-2012 12:12 PM
hi
thanks for the reply:
so basically we need to just create a rule:
rule x/^4/ //
and that will strip off the 4 and leave the other number?
please let me know.
thanks
12-19-2012 10:04 AM
Yes. For me It works.
Regards.
12-20-2012 04:29 AM
More specific one:
Voice translation-rule 1
rule 1 /^4\(...$\)/ /\1/
For outgoing:
Voice translation-profile OUT
translate called 1
Apply this under dial-peer
Similar for incoming.
Sent from Cisco Technical Support iPad App
12-27-2012 06:19 AM
thanks for the reply. it works for outgoing calls.
this is my config for incoming
translation-rule 20
rule 1 /^4\(...$\)/ /\1/
translation-profile incoming-ho
translate calling 20
i apply this to the dial-peer, but its not working. the incoming ipbx is a siemens. i talked to the siemens guys they say that siemens sends all the digits.
dial-peer voice 4000 voip
translation-profile incoming incoming-ho
translation-profile outgoing gdp-in
destination-pattern 4...
session protocol sipv2
session target ipv4:192.168.128.100
codec g711alaw
do i need to specify any other config for it to translate the incoming call.
thanks in advance.
12-27-2012 09:19 AM
Probably incoming calls don't match the dial-peer 4000.
Use "debug voip dialpeer" to check the exact match of incoming calls.
Regards.
12-27-2012 10:37 AM
hi thanks for the reply. i am abit new to cisco. can you help out with the debugging. i read the docs seems like a lot of options.
after i enable how do i view the logs? show logs?
thnks in advance
12-27-2012 10:50 PM
hi
i managed to enabling debugginand viewed logs. but i saw no calls coming from the siemens ipbx. do you think i enableing all debuging?
12-28-2012 01:29 AM
If you are connected to the router via telent, try this:
router# term mon
router# debug voip dialpeer
The logs are shown on your screen in real time.
After a call you can disable the debug using
router# undebug all
Check if the debug is off using
router# show debug
Post the output.
Regards.
12-28-2012 01:33 AM
Alternatively you can use this show command during an active call:
router#sh voice call status
CallID CID ccVdb Port Slot/DSP:Ch Called # Codec Dial-peers
0x7937D 92 0x64A7782C 1/0:15.1 0/1:2 123456789 g711alaw 200/1000
0x7937E 96 0x64DF86B4 1/1:15.1 0/1:1 123456789 9600 1000/202
2 active calls found
For each call there are always an incoming and outgoing dial-peer.
Regards.
12-28-2012 03:07 AM
hi Daniele
thanks for the reply. there nothing being displayed on the mon.
this is our setup
siemens <---------- cisco cme (dialing ok)
siemens -------->cisco cme, dialing not ok.
how can i check on the cisco whether the call is reaching the cme. i can ping no problem. all protocols are open. is there a way to check why the calls are being rejected.
thanks in advance.
12-28-2012 03:08 AM
just 1 other point, the call doent go through from the siemens.
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