cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1415
Views
5
Helpful
3
Replies

incoming and outgoing translation

ciscoforum
Level 1
Level 1

does gateway support incoming translation? cisco document says it support both. But under dial peer voice voip or pots, there is only translate-outgoing option, no incoming. Thanks

1 Accepted Solution

Accepted Solutions

Hi,

There is a hint indeed. An incoming calls coming through a pots dial peer is send to the CCM via a voip dial peer.

So for the router,gateway it is an outgoing call on the voip dial peer.

If you want to make a transformation on an incoming call youe have to create your rule and apply it on the voip dial peer(s) :

for example to add a '0' as prefix for incoming calls

translation-rule 2

Rule 0 ^1 01

Rule 1 ^1 01

Rule 2 ^2 02

Rule 3 ^3 03

Rule 4 ^4 04

Rule 5 ^5 05

Rule 6 ^6 06

dial-peer voice 40 voip

destination-pattern [1-9]...

progress_ind setup enable 3

translate-outgoing calling 2

voice-class codec 1

voice-class h323 1

session target ipv4:X.X.X.X (real IP address removed here)

dtmf-relay h245-alphanumeric

regards,

Marc

View solution in original post

3 Replies 3

rnarayana
Level 5
Level 5

Hello,

For incoming translation you cannot apply on the dial-peer .You need to do as follows

For Voip use the following command

voip-incoming translation-rule called | calling < rule numeber>

For incoming pots you have to apply under voice ports as follows

voice-port <>

translate calling | called

I hope this helps.

Thanks,

RAdhika

Hi,

There is a hint indeed. An incoming calls coming through a pots dial peer is send to the CCM via a voip dial peer.

So for the router,gateway it is an outgoing call on the voip dial peer.

If you want to make a transformation on an incoming call youe have to create your rule and apply it on the voip dial peer(s) :

for example to add a '0' as prefix for incoming calls

translation-rule 2

Rule 0 ^1 01

Rule 1 ^1 01

Rule 2 ^2 02

Rule 3 ^3 03

Rule 4 ^4 04

Rule 5 ^5 05

Rule 6 ^6 06

dial-peer voice 40 voip

destination-pattern [1-9]...

progress_ind setup enable 3

translate-outgoing calling 2

voice-class codec 1

voice-class h323 1

session target ipv4:X.X.X.X (real IP address removed here)

dtmf-relay h245-alphanumeric

regards,

Marc

I have tested the incoming translation under voice-port, it works perfect. I'll test this translate-outgoing also, thanks guys.