Dismiss Notice
We would like to remind you that we’re updating our login process for all 3CX forums whereby you will be able to login with the same credentials you use for the Partner or Customer Portal. Click here to read more.

Calls not routing properly

Discussion in '3CX Phone System - General' started by Doberman_Tech, Mar 9, 2018.

Thread Status:
Not open for further replies.
  1. Doberman_Tech

    Joined:
    Mar 8, 2018
    Messages:
    67
    Likes Received:
    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.
     
  2. craigreilly

    craigreilly Well-Known Member

    Joined:
    Feb 1, 2012
    Messages:
    3,575
    Likes Received:
    305
    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
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. Doberman_Tech

    Joined:
    Mar 8, 2018
    Messages:
    67
    Likes Received:
    2
    I was wondering if you could set up each line as its own individual gateway. I think that would take care of the problem
     
  4. craigreilly

    craigreilly Well-Known Member

    Joined:
    Feb 1, 2012
    Messages:
    3,575
    Likes Received:
    305
    Perhaps manually. I’ve never used the device. Last gateway I had was for a T1.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. Doberman_Tech

    Joined:
    Mar 8, 2018
    Messages:
    67
    Likes Received:
    2
    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.
     
  6. craigreilly

    craigreilly Well-Known Member

    Joined:
    Feb 1, 2012
    Messages:
    3,575
    Likes Received:
    305
    Manual setup? Or via 3CX config?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  7. Doberman_Tech

    Joined:
    Mar 8, 2018
    Messages:
    67
    Likes Received:
    2
    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.
     
  8. 12494

    12494 Member

    Joined:
    Apr 16, 2010
    Messages:
    306
    Likes Received:
    31
    Have you tried using CID inbound rule to route your 2 lines differently?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  9. Doberman_Tech

    Joined:
    Mar 8, 2018
    Messages:
    67
    Likes Received:
    2
    I did try that but the call routing on the gateway takes presidency over the DID. This actually worked out better.
     
  10. Doberman_Tech

    Joined:
    Mar 8, 2018
    Messages:
    67
    Likes Received:
    2
    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
     
Thread Status:
Not open for further replies.