cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2928
Views
25
Helpful
17
Replies

Trunk Group Config guide

Kaushik Ray
Level 1
Level 1

Can anyone please send me a link for configuring trunk group to allow each DDIs on each E1 channel?

 

I believe i saw this comment somewhere that the following dummy pots and voip is needed as well but cannot find that as well

 


dial-peer voice 1 pots
 incoming called-number .T

dial-peer voice 2 voip
 destination-pattern .T

 

Any help will be much appreciated.

 

 

17 Replies 17

Wilson Samuel
Level 7
Level 7

Hi Kaushik,

Could you please elaborate what you want to accomplish?

Regards

Hi Wilson

 

I am trying to assign a specific DDI to be allowed on E1 channel 1 like 1111 to go through channel 1, 1112 to go only on channel to and so on

There is a work around (not an out of the box solution) that can be done to achieve this. However the GW should be H.323 as the MGCP GW configures a complete PRI and cannot channelize it.

 

You can configure E1 trunkgroups:

 

controller E1 0/0/0
pri-group timeslots 1-31
trunk-group 508-555-5100 timeslots 1-1
trunk-group 508-555-5101 timeslots 2-2

trunk-group 508-555-5102 timeslots 3-3
trunk-group 508-555-5103 timeslots 3-3

 

And so on..

However, I have not applied this ever nor tried, it should work

 

Keep us posted

 

HTH

thanks for your reply will try that... but can you please share a link on the cisco site as well?

 

 

Hi Kaushik.

Also wondering if you want this as Incoming Calls Solution (from PSTN to Router) or Outgoing Calls (from GW to PSTN) ?

If it is incoming, then have you already spoken to your Telco about it? Or is it mandated by them?

Regards

Thanks again: What is want to do is to achieve this.

Is this possible to implement the following somehow?

 

Calls initiating on one end.. on Channel 1 will need to be forced to come out on Channel 1 on the other end. Please let me know if you want any more details on it.

 

 

 

Hi,

 

You need to have a criteria to sync the channel selection. For example, if you know that calls to 80001 goes always on channel 1 on GW1, you can create a dialpeer on GW2 to point calls to 80001 to channel 1.

 

The trick here is to create multiple DS0 groups connecting to your PBXs. Each DS0 group should have 1 slot. In this case you will have one voice-port per channel. Using dialpeers you can control which number goes over which channel.

Thanks Mohammed for your thought on this.

The client is actually doing a trunk select and want to phone called to be carried out on Channel 3 if they select it all the way through irrespective of the number that they call from or the number that they call to.

Is this something that can be implemented?

 

 

May I know how are they doing trunk selection?  If they are using access codes for each channel then it is doable.

 

Please confirm for me to share a sample config. 

Hi Mohammed

 

Thanks again.

 

The are using trunk channel selection using access codes like **2XXX1 for Channel 1 **2XXX2 for Channel 2 and so on.

 

But I do not know how to match the "**" part and also we are not passing these digits across the WAN so do not know how to match on the other end.

 

Is it fine if I direct message the config to you?

Can you ask your client to prefix fixed digits on the called number  per channel. This is easy to do.

 

Example 010xxxxxx for channel 1, 011xxxxxx for channel 2, etc.

 

Then we can use these codes to route these calls over the channels which we want

I am not sure that they would agree to that. Will check with them though...

 

if there is fixed digits, can you please share a link I can follow please?

 

and the **2 can it be done at all?

I am on the phone app. Once I connect to laptop will send u sample config .

 

Mention to them that the prefix won't be visible to end users. It is only for internal routing.  

Thanks will try that,...

 

I had configured something like this but cannot force on the other end as i cannot match the **2

 

controller E1 0/0/1
 framing NO-CRC4
 pri-group timeslots 1-31
 trunk-group TRUNK1 timeslots 1
 trunk-group TRUNK2 timeslots 2
 trunk-group TRUNK3 timeslots 3
 trunk-group TRUNK4 timeslots 4
 trunk-group TRUNK5 timeslots 5
 trunk-group TRUNK6 timeslots 6
 description ### PABX ###

!
interface Serial0/0/1:15
 no ip address
 encapsulation hdlc
 isdn switch-type primary-qsig
 isdn overlap-receiving T302 5000
 isdn incoming-voice voice
 isdn send-alerting
 isdn bchan-number-order ascending
 no cdp enable
!

!
voice-port 0/0/1:15
 timeouts interdigit 5
 bearer-cap Speech
 !

 

!
dial-peer voice 3000 voip
 destination-pattern 9T
 progress_ind setup enable 3
 session target ipv4:xxx.xxx.xxx.xxx
 voice-class codec 1
 dtmf-relay h245-alphanumeric
 playout-delay nominal 130
 playout-delay mode fixed
 fax-relay ecm disable
 fax rate 9600
 fax nsf 000000
 ip qos dscp cs5 media
 ip qos dscp cs5 signaling
 no vad
!
dial-peer voice 3001 voip
 destination-pattern [2-9]...
 progress_ind setup enable 3
 session target ipv4:xxx.xxx.xxx.xxx
 voice-class codec 1
 dtmf-relay h245-alphanumeric
 playout-delay nominal 130
 playout-delay mode fixed
 fax-relay ecm disable
 fax rate 9600
 fax nsf 000000
 ip qos dscp cs5 media
 ip qos dscp cs5 signaling
 no vad
!

 

!
dial-peer voice 5001 pots
 trunkgroup TRUNK2
 destination-pattern 1...
 direct-inward-dial
 forward-digits all
!
dial-peer voice 5002 pots
 trunkgroup TRUNK3
 destination-pattern 1...
 direct-inward-dial
 forward-digits all
!
dial-peer voice 5003 pots
 trunkgroup TRUNK4
 destination-pattern 1...
 direct-inward-dial
 forward-digits all
!
dial-peer voice 5004 pots
 trunkgroup TRUNK5
 destination-pattern 1...
 direct-inward-dial
 forward-digits all
!
dial-peer voice 5005 pots
 trunkgroup TRUNK6
 destination-pattern 1...
 direct-inward-dial
 forward-digits all
!

 

 

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: