03-08-2018 11:37 AM - edited 03-17-2019 12:22 PM
greentings
We have two sip trunk that communicate with the PSTN through
I have the Interns 87 ... come out by dial-peer 201 and the interns that start with 90 .. come out by dial-peer 202
both go out with 0XXXXXX
Is there any way to configure it to exit each inmate by his Dial-peer?
03-09-2018 03:44 AM
I am not sure if I understood, but i think you want to use the same dial-peer for inbound and outbount calls.
If so, you will be able to do that with the answer-address command.
You will have something like that:
dial-peer 201 voip
session target ipv4:<CUCM IP Address>
destination-pattern 87...
answer-address 87...
!
dial-peer 202 voip
session target ipv4:<CUCM IP Address>
destination-pattern 90..
answer-address 90..
Keep in mind that the command "incoming called-number" has precedence over "answer-address", so, review the dial-plan to avoid a match in other dial-peer.
03-09-2018 03:53 AM
03-09-2018 03:47 AM
03-09-2018 03:55 AM
03-09-2018 04:01 AM
03-09-2018 04:02 AM
03-09-2018 04:02 AM
Sorry, the call flow is still not too clear for me.
Could you send a simple topology?
Could you also send an example of the calling and called party?
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