cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1127
Views
0
Helpful
3
Replies

PRI B-Channel Selection using Trunk group command

mubali_123
Level 1
Level 1

Hello All,

Our client wants to provide telephony services to their tenants.  They purchased an additional E1 line for this and dedicated to their tenants. Previously, these numbers were separate BRIs and now they grouped all the numbers in one PRI.

The tenants represent companies(clients) in the remote site, as they do not have a local office. Whenever the tenants make an outgoing call, the origination number should match with the service provider's channel allocation within the PRI Line. They do not dynamically accept the DID numbers of the tenant PRI.

The challenge here is they have assigned one channel each for the tenant numbers indicated below. They will accept the outgoing call only if we sent out the origination number hits the particular channel.

 

TL

27000140

ISDNP

C

Client Number1

 

 

W

Channel 1

TL

268615

ISDNP

C

Client Number2

 

 

W

Channel 2

TL

27478542

ISDNP

C

Client Number3

 

 

W

ch 3

TL

267365

ISDNP

C

Client Number4.

 

 

W

Ch4

TL

27478999

ISDNP

C

Client Number5.

 

 

W

ch5

TL

27858053

ISDNP

C

Client Number6.

 

 

W

ch6

TL

27449465

ISDNP

C

Client Number7.

 

 

W

ch7

TL

286659

ISDNP

C

Client Number8.

 

 

W

ch8

TL

28669140

ISDNP

C

Client Number9.

 

 

W

ch9

TL

28669139

ISDNP

C

Client Number10

 

 

W

ch10

TL

286643

ISDNP

D

Client Number11.

ND,TTS 07258671

--0

A

ch11

 

Wrote the below translation rule to send out the call through PRI to present the origination number to the service provider and it works. I have done the same for the rest of the client numbers with separate dial peers.

voice translation-rule 9

rule 1 /^98../ /27000140/ --> to present the DID number to the service provider

rule 2 /^610\(.*\)/ /00\1/

rule 3 /^61\(67.......\)/ /\1/ --> Local outgoing call from PRI2 and all the possible local outgoing combinations

rule 4 /^61\(68.......\)/ /\1/

rule 5 /^61\(69.......\)/ /\1/

rule 6 /^61\(2.....\)/ /\1/

rule 7 /^61\(2.......\)/ /\1/

rule 8 /^61\(2........\)/ /\1/

rule 9 /^61\(2.........\)/ /\1/

rule 10 /^61\(6........\)/ /\1/

 

voice translation-profile Customer_A

translate calling 9

translate called 9

 

 dial-peer voice 22 pots

description Prefix calling for Tenants PRI 2

translation-profile outgoing Customer_A

destination-pattern 61.T  --> Prefix for local and international ougoing calls. The home users can also make calls using this prefix and the call goes out through 2nd PRI.

port 0/0/1:15

forward-digits all

 

The question is how do I apply the above solution with the present requirement that we have to send out the Client call only through specific time slot or channel. Ex. Presenting origination number of Client1 to channel 1.

 

Is it possible to configure the trunk group as below :

labgw(config-controller)#trunk-group PRI-TRUNK-GROUP-1  timeslots 1-1 or timeslots 1
labgw(config-controller)#trunk-group PRI-TRUNK-GROUP-2  timeslots 2-2 or timeslots 2

labgw(config-controller)#trunk-group PRI-TRUNK-GROUP-2  timeslots 3-3 or timeslots 3

 

Please help...

Thanks,

Mubarak

1 Accepted Solution

Accepted Solutions

Ayodeji Okanlawon
VIP Alumni
VIP Alumni

Yes you can but the command should be

labgw(config-controller)#trunk-group PRI-TRUNK-GROUP-1  timeslots 1
labgw(config-controller)#trunk-group PRI-TRUNK-GROUP-2  timeslots 2

labgw(config-controller)#trunk-group PRI-TRUNK-GROUP-2  timeslots 3

You will then need to apply the trunk group the relevant dial-peer

Please rate all useful posts

View solution in original post

3 Replies 3

Ayodeji Okanlawon
VIP Alumni
VIP Alumni

Yes you can but the command should be

labgw(config-controller)#trunk-group PRI-TRUNK-GROUP-1  timeslots 1
labgw(config-controller)#trunk-group PRI-TRUNK-GROUP-2  timeslots 2

labgw(config-controller)#trunk-group PRI-TRUNK-GROUP-2  timeslots 3

You will then need to apply the trunk group the relevant dial-peer

Please rate all useful posts

Hi Ayodeji,

 

Thanks for your answer, I will need to apply the configs and see whether the call goes through specific channel of the PRI.

Will post the results shortly.

Mubarak

Hi Ayodeji,

It worked when I do the configuration as below:

Now the channels are reserved for individual channels and the service provider is accepting the call as we send the calls out through the designated channels.

Conf t
trunk group CH2-(label)

controller E1 0/0/1
(config-controller)#trunk-group CH2-(label) timeslots 1

dial-peer voice 23 pots
trunkgroup CH2-(label)
description Prefix calling for Tenants PRI 2
translation-profile outgoing Customer_A
destination-pattern 51.T

 forward-digits all

Note: We should not configure the port (port 0/0/1:15) in the dial peer configuration, as we are reserving the channels in the controller config. The router will not accept saying 'Voice port already exists'

Thanks a lot for the clarification Ayodeji

- Mubarak