Outbound call Through Patton SN4114 Not working

Discussion in '3CX Phone System - General' started by Network Emad, Nov 20, 2017.

Thread Status:
Not open for further replies.
  1. Network Emad

    Joined:
    Oct 27, 2017
    Messages:
    32
    Likes Received:
    3
    dear

    already the link between the 3CX and Patton SN4114 Gateway active and showing green sign in SIP trunk in 3CX. My Issue that i Can receive any call from outside but i cant dial or call any one outside. i got this message through Snom LCD screen: Internal Server Error.
    kindly find the captured packet through WireShark attached with this conversation.

    thanks
     

    Attached Files:

    #1 Network Emad, Nov 20, 2017
    Last edited: Nov 20, 2017
  2. Saqqara

    Saqqara Active Member

    Joined:
    Mar 12, 2014
    Messages:
    872
    Likes Received:
    133
    Have you set up outbound rules to dial via Patton SN4114
     
    YiannisH_3CX likes this.
  3. Network Emad

    Joined:
    Oct 27, 2017
    Messages:
    32
    Likes Received:
    3
    hello Saqqara
    hey I did that in 3CX. first I created the SIP Trunk as shown here in this website and I got the green sign. it's mean the link between 3CX server and Patton SN4114 it's working properly after that I created the inbound rule in 3CX (From Patton) it's working perfectly. after that I created the Outbound Rule in 3CX it's not working. for more information already all required ports on fire are open. and
    before starting with Patton SN4114 I was using GSM Gateway the outbound and Inbound Rules working properly.

    regarding ur question if I created the outbound rule to dial via patton sn4114....... yes I did that
    thanks
     
  4. Network Emad

    Joined:
    Oct 27, 2017
    Messages:
    32
    Likes Received:
    3
    Disconnected
    Server Internal Error:0582449938 ------ this is the called number
     
  5. Network Emad

    Joined:
    Oct 27, 2017
    Messages:
    32
    Likes Received:
    3
    #########################################################
    #
    # For Patton 2 to 8 FXO
    # Supported firmware versions R6.x
    #
    # Author: Tommaso Missoni
    # Contact: support@patton.com
    #
    #########################################################

    webserver port 80 language en

    system

    ic voice 0
    low-bitrate-codec g729

    sntp-client

    sntp-client server primary pool.ntp.org

    profile ppp default


    profile call-progress-tone defaultDialtone
    flush-play-list
    play 1 1000 425 -6

    profile call-progress-tone defaultAlertingtone
    flush-play-list
    play 1 1000 425 -13
    pause 2 4000

    profile call-progress-tone defaultBusytone
    flush-play-list
    play 1 300 425 -7
    pause 2 200

    profile call-progress-tone defaultReleasetone
    flush-play-list
    play 1 300 425 -7
    pause 2 400

    profile call-progress-tone defaultCongestiontone
    flush-play-list
    play 1 300 425 -7
    pause 2 400


    profile tone-set default

    profile voip default
    codec 1 g711ulaw64k rx-length 20 tx-length 20 silence-suppression
    codec 2 g711alaw64k rx-length 20 tx-length 20 silence-suppression
    codec 3 g729 rx-length 20 tx-length 20 silence-suppression
    fax transmission 1 relay t38-udp

    profile pstn default
    echo-canceler-hybrid-loss 0
    echo-canceler-nlp silence

    profile sip default

    profile aaa default
    method 1 local
    method 2 none

    context ip router

    interface IF_IP_WAN
    ipaddress dhcp
    tcp adjust-mss rx mtu
    tcp adjust-mss tx mtu

    interface IF_IP_LAN
    ipaddress 10.2.2.80 255.255.255.0
    tcp adjust-mss rx mtu
    tcp adjust-mss tx mtu

    context cs switch


    routing-table called-e164 RT_SIP_TO_FXO
    route .% dest-service HG_TO_FXO

    routing-table called-e164 RT_FXO_00_TO_SIP
    route default dest-interface IF_SIP MT_CALL_ID_00

    routing-table called-e164 RT_FXO_01_TO_SIP
    route default dest-interface IF_SIP MT_CALL_ID_01

    routing-table called-e164 RT_FXO_02_TO_SIP
    route default dest-interface IF_SIP MT_CALL_ID_02

    routing-table called-e164 RT_FXO_03_TO_SIP
    route default dest-interface IF_SIP MT_CALL_ID_03

    mapping-table called-e164 to called-e164 MT_CALL_ID_00
    map .% to 000000

    mapping-table called-e164 to called-e164 MT_CALL_ID_01
    map .% to 000001

    mapping-table called-e164 to called-e164 MT_CALL_ID_02
    map .% to 000002

    mapping-table called-e164 to called-e164 MT_CALL_ID_03
    map .% to 000003


    service hunt-group HG_TO_FXO

    cyclic

    drop-cause destination-out-of-order
    drop-cause user-busy
    drop-cause normal-unspecified
    drop-cause no-circuit-channel-available
    drop-cause network-out-of-order
    drop-cause temporary-failure
    drop-cause switching-equipment-congestion
    drop-cause access-info-discarded
    drop-cause circuit-channel-not-available
    drop-cause resources-unavailable


    route call 1 dest-interface IF_FXO_0



    interface sip IF_SIP
    bind context sip-gateway GW_SIP
    early-disconnect
    route call dest-table RT_SIP_TO_FXO
    remote 10.2.2.2 5060
    trust remote
    address-translation outgoing-call request-uri user-part fix 10000 host-part to-header target-param none
    address-translation incoming-call called-e164 request-uri

    interface fxo IF_FXO_0
    route call dest-table RT_FXO_00_TO_SIP
    loop-break-duration min 60 max 1000
    caller-id format etsi
    ring-number on-caller-id
    mute-dialing
    disconnect-signal loop-break
    disconnect-signal busy-tone
    dial-after dialtone

    interface fxo IF_FXO_1
    route call dest-table RT_FXO_01_TO_SIP
    loop-break-duration min 60 max 1000
    caller-id format etsi
    ring-number on-caller-id
    mute-dialing
    disconnect-signal loop-break
    disconnect-signal busy-tone
    dial-after dialtone


    interface fxo IF_FXO_2
    route call dest-table RT_FXO_02_TO_SIP
    loop-break-duration min 60 max 1000
    caller-id format etsi
    ring-number on-caller-id
    mute-dialing
    disconnect-signal loop-break
    disconnect-signal busy-tone
    dial-after dialtone

    interface fxo IF_FXO_3
    route call dest-table RT_FXO_03_TO_SIP
    loop-break-duration min 60 max 1000
    caller-id format etsi
    ring-number on-caller-id
    mute-dialing
    disconnect-signal loop-break
    disconnect-signal busy-tone
    dial-after dialtone

    context cs switch
    no shutdown

    authentication-service AS_ALL_LINES
    realm 1 3CXPhoneSystem
    username 10000 password w5tvrva

    location-service LS_10000
    domain 1 10.2.2.2

    identity-group default
    authentication outbound
    authenticate 1 authentication-service AS_ALL_LINES username 10000

    identity 10000
    authentication outbound
    authenticate 1 authentication-service AS_ALL_LINES

    registration outbound
    registrar 10.2.2.2 5060
    lifetime 60
    register auto

    register auto

    context sip-gateway GW_SIP

    interface LAN
    bind interface IF_IP_LAN context router port 5060

    context sip-gateway GW_SIP
    bind location-service LS_10000
    no shutdown

    port ethernet 0 0
    medium auto
    encapsulation ip
    bind interface IF_IP_LAN router
    no shutdown

    port ethernet 0 1
    medium auto
    encapsulation ip
    bind interface IF_IP_WAN router
    no shutdown

    port fxo 0 0
    use profile fxo etsi
    encapsulation cc-fxo
    bind interface IF_FXO_0 switch
    no shutdown

    port fxo 0 1
    use profile fxo etsi
    encapsulation cc-fxo
    bind interface IF_FXO_1 switch
    no shutdown

    port fxo 0 2
    use profile fxo etsi
    encapsulation cc-fxo
    bind interface IF_FXO_2 switch
    no shutdown

    port fxo 0 3
    use profile fxo etsi
    encapsulation cc-fxo
    bind interface IF_FXO_3 switch
    no shutdown



    context cs
    no IF_FXO_1
    no IF_FXO_2
    no IF_FXO_3




    port fxo 0 1
    shutdown
    port fxo 0 2
    shutdown
    port fxo 0 3
    shutdown
     
  6. YiannisH_3CX

    YiannisH_3CX Support Team
    Staff Member 3CX Support

    Joined:
    May 10, 2016
    Messages:
    4,404
    Likes Received:
    282
    Please let us know what firmware is the Patton device running and attach a screenshot of your outbound rules if possible. Also did you use the config file from 3CX to provision the Patton device?
     
    Network Emad likes this.
  7. mic.max

    Joined:
    Nov 24, 2010
    Messages:
    56
    Likes Received:
    1
    try to modify on FXO interface "dial-after dialtone" with dial-after 1 second !

    Is possible the tone are not correct for your telephone line.
     
  8. Network Emad

    Joined:
    Oct 27, 2017
    Messages:
    32
    Likes Received:
    3
    dear all thanks for ur replay

    yes mr. YiannisH_3CX I used this firmware from the patton website. this is the update title ((SmartWare 6.9 Build Series 2017-05-04)) from here: https://www.patton.com/support/upgrades/index.asp?um=SmartNode 411x

    regarding the outbound rule already created on 3CX to be pass through patton sn4114. just for more information I have fixed GSM Gateway and it was working properly for inbound and outbound call without any issues.
     

    Attached Files:

  9. Network Emad

    Joined:
    Oct 27, 2017
    Messages:
    32
    Likes Received:
    3
    already when create new SIP Trunk on 3CX and click ok the Configuration file will be downloaded on my PC and Patton sn4114 open new tab on the browser. after that I start importing the new configuration and reload the device.
     
  10. Network Emad

    Joined:
    Oct 27, 2017
    Messages:
    32
    Likes Received:
    3
    ok I'll try it now and inform you
    thanks
     
Thread Status:
Not open for further replies.