cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
361
Views
5
Helpful
8
Replies

problem with translation-rules

kamil_folga
Level 1
Level 1

Hi!

I have strip 0 (04441 -> 4441) from called number outgoing call. I have two routers connected via SIP Trunk. Each of the routers have FXS ports with attached analogue phones.

Config router 1:


voice translation-rule 1 
 rule 1 /^0\(.*\)/ /\1/ 
!

voice translation-profile 1 
 translate called 1 
!
dial-peer voice 100 voip 
voice translation-profile outgoing 1 
destination-pattern 0444. 
session target ipv4:192.168.10.2 
!

Config router 2:

dial-peer voice 4441 pots 
destination-pattern 4441 
port 0/2/0

When I dial 04441 from router 1 I got busy tone.  Phone on FXS 0/2/0 router 2 dont ring. What could be wrong?

 

Regards,

 

Kamil

 

8 Replies 8

dsobrinho
Level 9
Level 9

Hi Kamil,

 

Could you please share the topology.

 

Best regards,

Daniel Sobrinho

Daniel Sobrinho

Have you properly updated the ip trusted list???

HTH

java

if this helps, please rate

SIP Trunk working properly if I dont use translation-rules and change dial-peer:

 

dial-peer voice 100 voip 
voice translation-profile outgoing 1 
destination-pattern 444. 
session target ipv4:192.168.10.2

 

OK, you do have one DP for the match with 0 and another one without 0 after you strip it, correct???

HTH

java

if this helps, please rate

Yes, on router 1 i have DP for the march with 0 and translation-profile to stripe 0 and send to trunk, where ona router 2 is DP without  0.

Please run basic debugs on both the routers, to see if call gets extended to Router 2.

 

debug ccsip messages

debug voip ccapi inout

debug vpm signal

/Amit


 

Jaime Valencia
Cisco Employee
Cisco Employee

This is Video Over IP, please move to a relevant area.

HTH

java

if this helps, please rate