cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
467
Views
0
Helpful
4
Replies

multiple translation-profile matching for POTS calls (DP vs. TG vs. VP)

lukasz.banka
Level 1
Level 1

Hello,

Please consider following simplified configuration:

trunk-group PSTN
translation-profile incoming trunk_inbound
translation-profile outgoing trunk_outbound
!
interface Serial0/0/0:15
trunk-group PSTN
!
dial-peer voice 100 pots
trunkgroup PSTN
translation-profile outgoing dialpeer_outbound
destination-pattern .T
!
dial-peer voice 101 pots
translation-profile incoming dialpeer_inbound
incoming called-number .
!
dial-peer voice 102 voip
incoming called number .

Let's consider incoming POTS direction, what will happen:

- trunk_inbound TP is applied, then dialpeer_inbound is applied, or just one of those can be used for incoming direction?

For outgoing POTS direction, what will happen:

- dial_peer outbound is applied, then trunk_outbound is applied, or just one of those can be used for outgoing direction?

What if additional TPs are added to voice-port:

voice-port 0/0/0:15
translation-profile incoming voiceport_inbound
translation-profile outgoing voiceport_outbound

It looks like this one will be redundant to trunk-group TP. What will happen for inbound POTS:

- voiceport_inbound, trunk_inbound then dialpeer_inbound. Or just one of trunk-group & voice-port TPs will be used?

For outgoing POTS:

- dialpeer_outboud, trunk_outbound then voiceport_outbound. Or again, just one of trunk-group & voice-port TPs will be used?

Question is:

- can we have TPs simultaneously on Trunk-Group and Dial-Peer, and both can be matched?

- can we have TPs simultaneously on Trunk-Group and Voice-Port, and both can be matched?

- or in those case, TP in one place takes precedence over the others? 

Regards,

Lukasz.

2 Accepted Solutions

Accepted Solutions

It works in sequence.

In incoming direction, voice-port or trunk group TP will be matched. Then the manipulated number will be matched against incoming DP.

In outgoing direction, DP TP will be matched then the manipulated number will be matched against voice-port/trunk-group TP

View solution in original post

vp ... the closer to caller the higher the precedence with some exceptions 

View solution in original post

4 Replies 4

lukasz.banka
Level 1
Level 1

Any thoughts on that?

Regards,

Lukasz.

It works in sequence.

In incoming direction, voice-port or trunk group TP will be matched. Then the manipulated number will be matched against incoming DP.

In outgoing direction, DP TP will be matched then the manipulated number will be matched against voice-port/trunk-group TP

Thanks, what if there are TPs on both voice-port & trunk-group. Which one will take precedence?

vp ... the closer to caller the higher the precedence with some exceptions