Cisco Support Community
Showing results for 
Search instead for 
Did you mean: 

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

Same dial-peer (.T) on both POTS and VoIP

Hi all,

I've got a setup with a Cisco Sip Proxy Server and an AS5300 as a gateway.

The trick is that i would like the gateway to forward all incoming calls on the PSTN to the CSPS while all outgoing call from the IP Network/CSPS should be forwarded to the PSTN.


dial-peer voice 10 pots

destination-pattern .T

port 3/0:15

dial-peer voice 20 voip

destination-pattern .T

session target ipv4:

Something like that ! But my guess is that this is like default routing for ip where i cannot have two "default" routes going each in their own direction.

Do anyone have any pointers as to how this can be done ?


Lasse K. Christiansen

New Member

Re: Same dial-peer (.T) on both POTS and VoIP

Your dial peer pots correct (.T)

But for your dial-peer voip, you should have the prefix of E.164 number that being assigned to PRI trunks. That's how the call will be routed to the PRI channel in the first place. If you don't have it, it means that you can only make outgoing call. You may use any priviate extention number in this case.

Hope this helps



New Member

Re: Same dial-peer (.T) on both POTS and VoIP


We are actually migrating a bunch of numbers(all different) to the CSPS and would really like not to have hundreds of dial-peer voice voip's.

The connected telco will send all the calls (and allow us to present CLID) for all those number directly on our PRI's.

Could i use something like class-of-restriction to say that when the call is coming from the PRI then it must use the .T voip dial-peer as "outgoing" ??

How do any migrate hundreds of different numbers to a GW/CSPS solution (without using SS7).



Cisco Employee

Re: Same dial-peer (.T) on both POTS and VoIP


Here is one suggestion. Create a translation rule which matchs any number and then prefixes a digit on to that number (For example prefix a 9). You would then apply this translation rule to your incoming voip dial peer. Then all you would have to do is change your pots dial peer destination pattern to 9T. The 9 would get stripped before the number gets sent to the PSTN. Only caveat is that your incoming numbers can't start with the same digit otherwise you are back in the same boat.