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

Using Trunk Groups for Incoming Calls from PSTN

I currently have an H.323 gateway with one ISDN PRI to the PSTN. It uses trunk-groups for outbound calls that works just fine, but I'll be adding 2 more PRIs and was I could use the trunk-groups for incoming calls as well in order to simplify the config. I haven't seen any examples of doing this yet:

Current config:

controller T1 0/1/0

framing esf

linecode b8zs

pri-group timeslots 1-24

description PRI PSTN

!

interface Serial0/1/0:23

no ip address

isdn switch-type primary-ni

isdn incoming-voice voice

trunk-group PSTN

no cdp enable

!

voice-port 0/1/0:23

!

dial-peer voice 1 pots

incoming called-number ....

direct-inward-dial

port 0/1/0:23

!

Proposed config:

controller T1 0/1/0

framing esf

linecode b8zs

pri-group timeslots 1-24

description PRI PSTN #1

!

controller T1 0/1/1

framing esf

linecode b8zs

pri-group timeslots 1-24

description PRI PSTN #2

!

controller T1 0/2/0

framing esf

linecode b8zs

pri-group timeslots 1-24

description PRI PSTN #3

!

interface Serial0/1/0:23

no ip address

isdn switch-type primary-ni

isdn incoming-voice voice

trunk-group PSTN

no cdp enable

!

interface Serial0/1/1:23

no ip address

isdn switch-type primary-ni

isdn incoming-voice voice

trunk-group PSTN

no cdp enable

!

interface Serial0/2/0:23

no ip address

isdn switch-type primary-ni

isdn incoming-voice voice

trunk-group PSTN

no cdp enable

!

voice-port 0/1/0:23

!

voice-port 0/1/1:23

!

voice-port 0/2/0:23

!

dial-peer voice 1 pots

incoming called-number ....

direct-inward-dial

trunkgroup PSTN

!

3 REPLIES
Hall of Fame Super Gold

Re: Using Trunk Groups for Incoming Calls from PSTN

Hi Johnny,

trunk-groups, just like voice-ports, make no sense for incoming, because they play no role in the selection of the incoming DP.

It used to be otherwise, but that has (silently) changed for reasons I can explain if you want.

To verify what I'm saying, try removing "port" from your DP 1. You should have direct-inward-dial still working with no problem. To further prove, configure another DP, with a valid specified "incoming called-number", but no port and no direct-inward-dial. Calling that number should give you dialtone.

Hope this helps, if so please rate post!

Bronze

Re: Using Trunk Groups for Incoming Calls from PSTN

I'll take your word for it :)

So I tested this:

dial-peer voice 1 pots

incoming called-number ...

direct-inward-dial

!

And that worked fine, and should match the call regardless of which PRI it comes in via.

Hall of Fame Super Gold

Re: Using Trunk Groups for Incoming Calls from PSTN

When I found this, I couldn't take the word of the documentation that still currently says otherwise.

So I brainstormed and came to the conclusion that the documentation is right as long you read it in a critical way, complement with more reading and testing, and periodically contact the writers to make it "even more right" :)

As a courtesy to those providing answers, please rate all useful posts using the scrollbox below!

567
Views
0
Helpful
3
Replies
CreatePlease to create content