cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
865
Views
0
Helpful
9
Replies

Configure Trunk Group

Faisal.Saoud
Level 3
Level 3

Can we configure FXO or E1 ports for more than one trunk group?

 

9 Replies 9

You mean you need to put E1 and FXO in a trunk group ? 

 

 



Response Signature


@Nithin Eluvathingal 

 

yes and need also to assign one FXO for two trunk-group?

Hi,

You can't assign the same port to multiple trunk groups. Each port can be
assigned to single group only.

**** please remember to rate useful posts

Thanks @Mohammed al Baqari  for your reply,

 

If I have multiple FXO ports and multiple E1 ports and need to configure dial peers pots for VIP which include some ports in sequence (E1 port 1, FXO port 1, FXO port 2), and another dial peers for employees that include the same ports in a different sequence (FXO port1, E1 port 1, E1 port 2, FXO port 2), how can I do that where the users are hosted on CUCM which is connected SIP to this router?

Means you want to put same ports in different trunk group. This is not possible.As @Mohammed al Baqari mentioned, you can only assign a port to one trunk group. 



Response Signature


Hi,

Not sure what is your IOS version but if supports DPG then you can do the
following:

- create 3 outbound dial-peers (one for each port)
- create 2 dpg groups (one for VIPs and one for normal users) and assign
the outbound dial-peers in the order you want for each group using
preference.
- Create inbound dialpeer matching the ANI for VIPs and use vip-dpg as
outbound. Create another inbound dialpeer matching the ANI for normal users
and use normal-dpg as outbound.

Here is the link for DPG feature.

https://www.cisco.com/c/en/us/td/docs/ios-xml/ios/voice/dialpeer/configuration/xe-3s/vd-xe-3s-book/multiple-outBound-dial-peer.html

If you don't support this feature, you can do it using cor lists but you
need duplicate outbound dial-peers in different cor lists (one pair per
port with different preference). Then you can match inbound dial-peers to
outbound dial-peers using cor lists

***** please remember to rate useful posts

Thanks @Mohammed al Baqari  for these great info.

 

I am using this for inbound dial-peer from CUCM:

voice class uri CUCM sip
host ipv4:10.10.80.12
host ipv4:10.10.80.11

!
dial-peer voice 1 voip
session protocol sipv2
incoming uri via CUCM
voice-class codec 1
dtmf-relay rtp-nte
no vad
!

 

Can I add another one for VIP like this:

Spoiler

dial-peer voice 2 voip

answer-address 5000

session protocol sipv2
voice-class codec 1
dtmf-relay rtp-nte
no vad
!

and how I add inbound dial-peer using uri with specific DN?

You can't do it using host matching of the URI because all calls are coming
from the same CUCM IPs. You need to match a pattern regex in the FROM
header. This pattern should cover VIP numbers. Then you have another URI
matching other numbers.

This document gives indepth coverage.

https://www.cisco.com/c/en/us/support/docs/voice/ip-telephony-voice-over-ip-voip/211306-In-Depth-Explanation-of-Cisco-IOS-and-IO.html#anc12

Example:

voice class uri VIP-DIDs sip
pattern 555(.*)

!

dial-peer voice 1 voip
sess protocol sipv2
incoming uri FROM VIP-DIDs

**** please remember to rate useful posts

An alternative way to match inbound calling number on different dial peers would be to use incoming calling e164-pattern-map.

!
voice class dpg 1
 dial-peer 210 preference 1
 dial-peer 211 preference 2
!
voice class dpg 2
 dial-peer 110 preference 1
 dial-peer 111 preference 2
 dial-peer 112 preference 2
!
voice class e164-pattern-map 1
 description ** Outbound calls from Other calling number **
  e164 <Other calling number>
!
voice class e164-pattern-map 2
 description ** Outbound calls from VIP calling number **
  e164 <VIP calling number>
!
dial-peer voice 1000 voip
 description Inbound calls from CUCM from Other
 incoming calling e164-pattern-map 1
 destination dpg 1
!
dial-peer voice 1001 voip
description Inbound calls from CUCM from VIP
incoming calling e164-pattern-map 2
 destination dpg 2
!


Response Signature