Calls not routing properly

Status
Not open for further replies.

Doberman_Tech

Joined
Mar 8, 2018
Messages
77
Reaction score
2
Hey guys tried looking around for an answer to this but not seeing much based on my setup. i have a client who we setup on 15.5 that has 8 FXO lines and to handle that they have 2 patton 4114's. The problem I am having is when trying to setup the inbound rules. The 1st patton routes properly going to thier auto attendandt as it should. The second patton has 2 lines that need to go to thier auto attendant and 2 that need to go to a ring group. The problem is when you setup the gateway under the general tab where it shows route calls to i can only set the gateway one way or the other so its setting all the lines on the second gateway device to go to the ring group instead of allowing me to split them up. Any one have any suggestions here because I am kind of stumped.
 
If I recall you might need 1 more device as they can not be sliced up as desired. Don’t quote me on this.
Dev 1) 4 lines
Dev 2) 2 lines
Dev 3) 2 lines
 
I was wondering if you could set up each line as its own individual gateway. I think that would take care of the problem
 
Perhaps manually. I’ve never used the device. Last gateway I had was for a T1.
 
I wound up taking over another phone system this week that had this setup. I now have 4 lines on 1 patton 4114 with 4 gateways setup and it works awesome so I can route each line how I need it to since 2 lines need to wind up at their auto attendant and 2 lines are their private lines.
 
Manual setup? Or via 3CX config?
 
Basically a manual setup. I will post the config in here with Passwords and IP's removed so someone else can use it if need be.
 
Have you tried using CID inbound rule to route your 2 lines differently?
 
I did try that but the call routing on the gateway takes presidency over the DID. This actually worked out better.
 
So here's the config I wound up using. You do have to go back and change the passwords for the Usernames and reboot the patton but after that you have a gateway per line on the patton.
#----------------------------------------------------------------#
# #
# SN4114/JO/EUI #
# R6.9 2017-03-13 H323 SIP FXS FXO #
# 1970-01-11T19:11:47 #
# SN/00A0BA0DF089 #
# Generated configuration file #
# #
#----------------------------------------------------------------#
cli version 3.20
clock local default-offset +00:00
webserver port 80 language en
system
ic voice 0
low-bitrate-codec g729
profile ppp default
profile call-progress-tone defaultDialtone
play 1 1000 350 -13 440 -13
profile call-progress-tone defaultAlertingtone
play 1 1000 440 -19 480 -19
pause 2 3000
profile call-progress-tone defaultBusytone
play 1 500 480 -24 620 -24
pause 2 500
profile call-progress-tone defaultReleasetone
play 1 250 480 -24 620 -24
pause 2 250
profile call-progress-tone defaultCongestiontone
play 1 250 480 -24 620 -24
pause 2 250
profile tone-set default
profile voip default
codec 1 g711alaw64k rx-length 20 tx-length 20
codec 2 g711ulaw64k rx-length 20 tx-length 20
codec 3 g729 rx-length 20 tx-length 20
fax transmission 1 relay t38-udp
modem transmission 1 bypass g711alaw64k rx-length 20 tx-length 20
profile pstn default
profile sip default
no autonomous-transitioning
profile aaa default
method 1 local
method 2 none
context ip router
interface IF_IP_LAN
ipaddress xxx.xxx.xxx.xxx 255.255.255.0
tcp adjust-mss rx mtu
tcp adjust-mss tx mtu
context cs switch
no digit-collection timeout
interface sip IF_SIP_0
bind context sip-gateway GW_SIP_0
route call dest-interface IF_FXO_0
remote xxx.xxx.xxx.xxx 5060
early-connect
early-disconnect
address-translation outgoing-call request-uri user-part fix 10002 host-part to-header target-param none
trust remote
interface sip IF_SIP_1
bind context sip-gateway GW_SIP_1
route call dest-interface IF_FXO_1
remote xxx.xxx.xxx.xxx 5060
early-connect
early-disconnect
address-translation outgoing-call request-uri user-part fix 10003 host-part to-header target-param none
trust remote
interface sip IF_SIP_2
bind context sip-gateway GW_SIP_2
route call dest-interface IF_FXO_2
remote xxx.xxx.xxx.xxx 5060
early-connect
early-disconnect
address-translation outgoing-call request-uri user-part fix 10004 host-part to-header target-param none
trust remote
interface sip IF_SIP_3
bind context sip-gateway GW_SIP_3
route call dest-interface IF_FXO_3
remote xxx.xxx.xxx.xxx 5060
early-connect
early-disconnect
address-translation outgoing-call request-uri user-part fix 10005 host-part to-header target-param none
trust remote
interface fxo IF_FXO_0
route call dest-interface IF_SIP_0
loop-break-duration min 200 max 1000
disconnect-signal loop-break
disconnect-signal busy-tone
ring-number on-caller-id
mute-dialing
caller-id format bell
interface fxo IF_FXO_1
route call dest-interface IF_SIP_1
loop-break-duration min 200 max 1000
disconnect-signal loop-break
disconnect-signal busy-tone
ring-number on-caller-id
mute-dialing
caller-id format bell
interface fxo IF_FXO_2
route call dest-interface IF_SIP_2
loop-break-duration min 200 max 1000
disconnect-signal loop-break
disconnect-signal busy-tone
ring-number on-caller-id
mute-dialing
caller-id format bell
interface fxo IF_FXO_3
route call dest-interface IF_SIP_3
loop-break-duration min 200 max 1000
disconnect-signal loop-break
disconnect-signal busy-tone
ring-number on-caller-id
mute-dialing
caller-id format bell
context cs switch
no shutdown
authentication-service AS_ALL_LINES
realm 1 3CXPhoneSystem
username 10002 password hmGufRm9ZeEmU+CMK13jkw== encrypted
username 10003 password xv1cqCyvQQIeGiV4yoasRA== encrypted
username 10004 password sCnfyeMzkrTIOt8qSqHruw== encrypted
username 10005 password RfKELROo2reB5zderJqR0g== encrypted
location-service LS_10002
domain 1 xxx.xxx.xxx.xxx
identity-group default
authentication outbound
authenticate 1 authentication-service AS_ALL_LINES username 10002
identity 10002
authentication outbound
authenticate 1 authentication-service AS_ALL_LINES
registration outbound
registrar xxx.xxx.xxx.xxx 5060
lifetime 300
register auto
location-service LS_10003
domain 1 xxx.xxx.xxx.xxx
identity-group default
authentication outbound
authenticate 1 authentication-service AS_ALL_LINES username 10003
identity 10003
authentication outbound
authenticate 1 authentication-service AS_ALL_LINES
registration outbound
registrar xxx.xxx.xxx.xxx 5060
lifetime 300
register auto
location-service LS_10004
domain 1 xxx.xxx.xxx.xxx
identity-group default
authentication outbound
authenticate 1 authentication-service AS_ALL_LINES username 10004
identity 10004
authentication outbound
authenticate 1 authentication-service AS_ALL_LINES
registration outbound
registrar xxx.xxx.xxx.xxx 5060
lifetime 300
register auto
location-service LS_10005
domain 1 xxx.xxx.xxx.xxx
identity-group default
authentication outbound
authenticate 1 authentication-service AS_ALL_LINES username 10005
identity 10005
authentication outbound
authenticate 1 authentication-service AS_ALL_LINES
registration outbound
registrar xxx.xxx.xxx.xxx 5060
lifetime 300
register auto
context sip-gateway GW_SIP_0
interface LAN
bind interface IF_IP_LAN context router port 5060
context sip-gateway GW_SIP_0
bind location-service LS_10002
no shutdown
context sip-gateway GW_SIP_1
interface LAN
bind interface IF_IP_LAN context router port 5061
context sip-gateway GW_SIP_1
bind location-service LS_10003
no shutdown
context sip-gateway GW_SIP_2
interface LAN
bind interface IF_IP_LAN context router port 5062
context sip-gateway GW_SIP_2
bind location-service LS_10004
no shutdown
context sip-gateway GW_SIP_3
interface LAN
bind interface IF_IP_LAN context router port 5063
context sip-gateway GW_SIP_3
bind location-service LS_10005
no shutdown
port ethernet 0 0
medium auto
encapsulation ip
bind interface IF_IP_LAN router
no shutdown
port fxo 0 0
use profile fxo us
encapsulation cc-fxo
bind interface IF_FXO_0 switch
no shutdown
port fxo 0 1
use profile fxo us
encapsulation cc-fxo
bind interface IF_FXO_1 switch
no shutdown
port fxo 0 2
use profile fxo us
encapsulation cc-fxo
bind interface IF_FXO_2 switch
no shutdown
port fxo 0 3
use profile fxo us
encapsulation cc-fxo
bind interface IF_FXO_3 switch
no shutdown
 
Status
Not open for further replies.

Latest Posts

Forum statistics

Threads
111,884
Messages
589,542
Members
164,742
Latest member
Zain101