07-27-2016 02:39 AM - edited 03-17-2019 07:39 AM
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.
Solved! Go to Solution.
07-28-2016 01:12 AM
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
07-28-2016 02:20 AM
vp ... the closer to caller the higher the precedence with some exceptions
07-28-2016 12:51 AM
Any thoughts on that?
Regards,
Lukasz.
07-28-2016 01:12 AM
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
07-28-2016 01:39 AM
Thanks, what if there are TPs on both voice-port & trunk-group. Which one will take precedence?
07-28-2016 02:20 AM
vp ... the closer to caller the higher the precedence with some exceptions
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