cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
928
Views
0
Helpful
7
Replies

force outgoing call cube pstn

Matiaa9223
Level 1
Level 1
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?
 
7 Replies 7

Gilmar Silva
Level 1
Level 1

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.

The problem that i have it's...
I have 2 sip Trunks to my pstn provider and i want to make go out one number 87.. through my dial peer 201 and 90.. through my dial peer 202.

Saurabh
Cisco Employee
Cisco Employee
What is the issue you are facing. Can you me more descriptive

The problem that i have it's...
I have 2 sip Trunks to my pstn provider and i want to make go out one number 87.. through my dial peer 201 and 90.. through my dial peer 202.
I need yo use the same destination Pattern

What is you input number, number of digits and how do you want it to go out. Do you need to remove some digits or just append to the incoming called number.

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?