cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
455
Views
0
Helpful
2
Replies

Cisco Multiple SIP Trunk to 3CX with different Call Center Agent

a.aljiledi
Level 1
Level 1

Hello..

I have to ISDN E1 Interface on Cisco Router 2951, each E1 have a different phone number,, and i need to configure a 2 SIP trunk between router and 3CX system,, each phone number connected to a dedicated SIP trunk,, because each SIP trunk will be connected to different Call Center agent,,

I try to configure 2 SIP trunks but all calls were forward to the same trunk, because using the same IP and Port, so any advice to solve this issue?

voice service voip
ip address trusted list
ipv4 10.198.199.55 255.255.255.255
allow-connections h323 to h323
allow-connections h323 to sip
allow-connections sip to h323
allow-connections sip to sip
redirect ip2ip
signaling forward unconditional
fax protocol t38 version 0 ls-redundancy 0 hs-redundancy 0 fallback none
sip
no call service stop
!
!
voice class uri 1 sip
host ipv4:10.198.199.55
voice class codec 10
codec preference 1 g711ulaw
codec preference 2 g711alaw
!
voice class e164-pattern-map 1
e164 0213660009
!
!
voice class e164-pattern-map 2
e164 0213660010
!
!
!
!
!
!
voice translation-profile AutoAttendant
translate called 1

controller E1 0/1/1
pri-group timeslots 1-16
description 0213660009

controller E1 0/1/3
pri-group timeslots 1-16
description 0213660010

interface Serial0/1/1:15
no ip address
encapsulation hdlc
isdn switch-type primary-net5
isdn incoming-voice voice
isdn calling-number 3660009
no cdp enable
!
interface Serial0/1/3:15
no ip address
encapsulation hdlc
isdn switch-type primary-net5
isdn incoming-voice voice
isdn calling-number 3660010
no cdp enable

voice-port 0/1/1:15
connection plar 0213660009
!
voice-port 0/1/3:15
connection plar 0213660010

dial-peer voice 4 voip
description Outgoing calls to 3CX
signaling forward none
session protocol sipv2
session target ipv4:10.198.199.55
session transport udp
destination e164-pattern-map 1
voice-class sip rel1xx supported "100rel"
no voice-class sip pass-thru content unsupp
dtmf-relay rtp-nte
codec g711ulaw
no vad

dial-peer voice 7 voip
description Outgoing calls to 3CX
signaling forward none
session protocol sipv2
session target ipv4:10.198.199.55
destination e164-pattern-map 2
voice-class sip rel1xx supported "100rel"
no voice-class sip pass-thru content unsupp
dtmf-relay rtp-nte
codec g711ulaw
no vad
!
!
!
sip-ua
no remote-party-id
retry invite 3
retry response 3
retry bye 3
retry cancel 3
timers trying 1000
sip-server ipv4:10.198.199.55

2 Replies 2

b.winter
VIP
VIP

If I understood correctly:

You want to forward to numbers from the router to the same 3CX system.

In 3CX, you have 2 agents.

 

If that's correct, then you need to do the config in the 3CX system.

The router doesn't know anything about the agents. So, you could also just use one dial-peer with one pattern-map to forward both numbers to 3CX.

In 3CX, you have to configure, where to route which number (and no, I can't help you on that).

Hi,

You can configure two pots dialpeers matching incoming called-number
(0213660009 and 02136600010). Then you configure cor-lists to ensure that
0213660009 dialpeer can see voip dialpeer 4 and 0213660010 dialpeer can see
voip dial-peer 7.

Here is how to configure cor lists

https://www.cisco.com/c/en/us/support/docs/voice/call-routing-dial-plans/42720-configuring-cor.html

**** please remember to rate useful posts