Make config file for patton 4552

Discussion in '3CX Phone System - General' started by LugmayrM, Dec 10, 2007.

  1. LugmayrM

    Joined:
    Dec 7, 2007
    Messages:
    7
    Likes Received:
    0
    3CX V.5

    there is only the possibility to make config files for patton 4554. this files works not with 4552.

    is it possible to get a sampe config file for 4552 - or to make automatic configuration.

    thx

    martin
     
  2. LugmayrM

    Joined:
    Dec 7, 2007
    Messages:
    7
    Likes Received:
    0
    if i use automatic configuration (4554 instead 4552)

    there are many errors -

    the log:

    System type is SN4552/2BIS/EUI, 0002-0001
    Serial No. 00A0BA03409C

    Proceed with standard boot.

    Checking PLDs...
    Planar board : checking - please wait (this may take some seconds)
    PLD OK, Version = 0x45010106

    Installing Drivers...
    Ethernet 0/0 MAC Addr 00:A0:BA:03:40:9C, RxQ 32, TxQ 64
    Ethernet 0/1 MAC Addr 00:A0:BA:03:40:9D, RxQ 32, TxQ 64

    Starting Modules...
    1970-01-01T00:00:01 : Target Shell
    All modules successfully started
    Config startup-config READ [ OK ]
    Config startup-config EXECUTE 1970-01-01T00:00:10 : LOGINFO : Link down on interface ethernet 0 0 0
    1970-01-01T00:00:16 : LOGWARNING : Errors in configuration of router 'switch' ('show call-router switch reload' for details)
    [FAILED]
    1970-01-01T00:00:23 : LOGWARNING : Previous message repeated 2 times
    1970-01-01T00:00:23 : LOGWARNING : Config: Line 6: SN4552/2BIS/EUI(ic-voice)[0]#low-bitrate-codec g729
    1970-01-01T00:00:23 : LOGWARNING : Config: % ^ Keyword mismatch

    1970-01-01T00:00:23 : LOGWARNING : Config: Line 9: SN4552/2BIS/EUI(sys)#clock-source 0 0
    1970-01-01T00:00:23 : LOGWARNING : Config: % ^ Keyword mismatch

    1970-01-01T00:00:23 : LOGWARNING : Config: Line 57: SN4552/2BIS/EUI(pf-pstn)[default]#profile sip default
    1970-01-01T00:00:23 : LOGWARNING : Config: % ^ Keyword mismatch

    1970-01-01T00:00:23 : LOGWARNING : Config: Line 80: SN4552/2BIS/EUI(if-isdn)[isdnif1]#interface sip sipif0
    1970-01-01T00:00:23 : LOGWARNING : Config: % ^ Keyword mismatch

    1970-01-01T00:00:23 : LOGWARNING : Config: Line 81: SN4552/2BIS/EUI(if-isdn)[isdnif1]#bind gateway sipgw0
    1970-01-01T00:00:23 : LOGWARNING : Config: % ^ Keyword mismatch

    1970-01-01T00:00:23 : LOGWARNING : Config: Line 82: SN4552/2BIS/EUI(if-isdn)[isdnif1]#service default
    1970-01-01T00:00:23 : LOGWARNING : Config: % ^ Keyword mismatch

    1970-01-01T00:00:23 : LOGWARNING : Config: Line 84: SN4552/2BIS/EUI(if-isdn)[isdnif1]#remote-party-id called-party
    1970-01-01T00:00:23 : LOGWARNING : Config: % ^ Keyword mismatch

    1970-01-01T00:00:24 : LOGWARNING : Config: Line 85: SN4552/2BIS/EUI(if-isdn)[isdnif1]#address-translation outgoing-call request-uri user-part fix 10000 host-part to-header target-param none
    1970-01-01T00:00:24 : LOGWARNING : Config: % ^ Keyword mismatch

    1970-01-01T00:00:24 : LOGWARNING : Config: Line 86: SN4552/2BIS/EUI(if-isdn)[isdnif1]#address-translation incoming-call called-e164 request-uri
    1970-01-01T00:00:24 : LOGWARNING : Config: % ^ Keyword mismatch

    1970-01-01T00:00:24 : LOGWARNING : Config: Line 88: SN4552/2BIS/EUI(if-isdn)[isdnif1]#interface sip sipif1
    1970-01-01T00:00:24 : LOGWARNING : Config: % ^ Keyword mismatch

    1970-01-01T00:00:24 : LOGWARNING : Config: Line 89: SN4552/2BIS/EUI(if-isdn)[isdnif1]#bind gateway sipgw1
    1970-01-01T00:00:25 : LOGWARNING : Config: % ^ Keyword mismatch

    1970-01-01T00:00:25 : LOGWARNING : Config: Line 90: SN4552/2BIS/EUI(if-isdn)[isdnif1]#service default
    1970-01-01T00:00:25 : LOGWARNING : Config: % ^ Keyword mismatch

    1970-01-01T00:00:25 : LOGWARNING : Config: Line 92: SN4552/2BIS/EUI(if-isdn)[isdnif1]#remote-party-id called-party
    1970-01-01T00:00:25 : LOGWARNING : Config: % ^ Keyword mismatch

    1970-01-01T00:00:25 : LOGWARNING : Config: Line 93: SN4552/2BIS/EUI(if-isdn)[isdnif1]#address-translation outgoing-call request-uri user-part fix 10001 host-part to-header target-param none
    1970-01-01T00:00:25 : LOGWARNING : Config: % ^ Keyword mismatch

    1970-01-01T00:00:25 : LOGWARNING : Config: Line 94: SN4552/2BIS/EUI(if-isdn)[isdnif1]#address-translation incoming-call called-e164 request-uri
    1970-01-01T00:00:25 : LOGWARNING : Config: % ^ Keyword mismatch

    1970-01-01T00:00:25 : LOGWARNING : Config: Line 99: SN4552/2BIS/EUI(ctx-cs)[switch]#gateway sip sipgw0
    1970-01-01T00:00:25 : LOGWARNING : Config: % ^ Keyword mismatch

    1970-01-01T00:00:25 : LOGWARNING : Config: Line 100: SN4552/2BIS/EUI(ctx-cs)[switch]#bind interface eth0 router
    1970-01-01T00:00:27 : LOGWARNING : Config: % ^ Keyword mismatch

    1970-01-01T00:00:27 : LOGWARNING : Config: Line 102: SN4552/2BIS/EUI(ctx-cs)[switch]#service default
    1970-01-01T00:00:27 : LOGWARNING : Config: % ^ Keyword mismatch

    1970-01-01T00:00:27 : LOGWARNING : Config: Line 103: SN4552/2BIS/EUI(ctx-cs)[switch]#domain 192.168.0.170
    1970-01-01T00:00:27 : LOGWARNING : Config: % ^ Keyword mismatch

    1970-01-01T00:00:27 : LOGWARNING : Config: Line 104: SN4552/2BIS/EUI(ctx-cs)[switch]#authentication 10000 password 10000 default
    1970-01-01T00:00:27 : LOGWARNING : Config: % ^ Keyword mismatch

    1970-01-01T00:00:27 : LOGWARNING : Config: Line 105: SN4552/2BIS/EUI(ctx-cs)[switch]#default-server 192.168.0.170 loose-router
    1970-01-01T00:00:27 : LOGWARNING : Config: % ^ Keyword mismatch

    1970-01-01T00:00:27 : LOGWARNING : Config: Line 106: SN4552/2BIS/EUI(ctx-cs)[switch]#registrar 192.168.0.170
    1970-01-01T00:00:27 : LOGWARNING : Config: % ^ Keyword mismatch

    1970-01-01T00:00:28 : LOGWARNING : Config: Line 107: SN4552/2BIS/EUI(ctx-cs)[switch]#user 10000
    1970-01-01T00:00:28 : LOGWARNING : Config: % ^ Keyword mismatch

    1970-01-01T00:00:28 : LOGWARNING : Config: Line 109: SN4552/2BIS/EUI(ctx-cs)[switch]#gateway sip sipgw0
    1970-01-01T00:00:28 : LOGWARNING : Config: % ^ Keyword mismatch

    1970-01-01T00:00:28 : LOGWARNING : Config: Line 112: SN4552/2BIS/EUI(ctx-cs)[switch]#gateway sip sipgw1
    1970-01-01T00:00:29 : LOGWARNING : Config: % ^ Keyword mismatch

    1970-01-01T00:00:29 : LOGWARNING : Config: Line 113: SN4552/2BIS/EUI(ctx-cs)[switch]#bind interface eth0 router
    1970-01-01T00:00:29 : LOGWARNING : Config: % ^ Keyword mismatch

    1970-01-01T00:00:29 : LOGWARNING : Config: Line 115: SN4552/2BIS/EUI(ctx-cs)[switch]#service default
    1970-01-01T00:00:29 : LOGWARNING : Config: % ^ Keyword mismatch

    1970-01-01T00:00:29 : LOGWARNING : Config: Line 116: SN4552/2BIS/EUI(ctx-cs)[switch]#domain 192.168.0.170
    1970-01-01T00:00:29 : LOGWARNING : Config: % ^ Keyword mismatch

    1970-01-01T00:00:30 : LOGWARNING : Config: Line 117: SN4552/2BIS/EUI(ctx-cs)[switch]#authentication 10001 password 10001 default
    1970-01-01T00:00:30 : LOGWARNING : Config: % ^ Keyword mismatch

    1970-01-01T00:00:31 : LOGWARNING : Config: Line 118: SN4552/2BIS/EUI(ctx-cs)[switch]#default-server 192.168.0.170 loose-router
    1970-01-01T00:00:31 : LOGWARNING : Config: % ^ Keyword mismatch

    1970-01-01T00:00:31 : LOGWARNING : Config: Line 119: SN4552/2BIS/EUI(ctx-cs)[switch]#registrar 192.168.0.170
    1970-01-01T00:00:31 : LOGWARNING : Config: % ^ Keyword mismatch

    1970-01-01T00:00:31 : LOGWARNING : Config: Line 120: SN4552/2BIS/EUI(ctx-cs)[switch]#user 10001
    1970-01-01T00:00:31 : LOGWARNING : Config: % ^ Keyword mismatch

    1970-01-01T00:00:31 : LOGWARNING : Config: Line 122: SN4552/2BIS/EUI(ctx-cs)[switch]#gateway sip sipgw1
    1970-01-01T00:00:31 : LOGWARNING : Config: % ^ Keyword mismatch

    1970-01-01T00:00:31 : LOGWARNING : Config: Line 126: SN4552/2BIS/EUI(prt-eth)[0/0]#medium auto
    1970-01-01T00:00:32 : LOGWARNING : Config: % ^ Keyword mismatch

    1970-01-01T00:00:32 : LOGWARNING : Config: Line 160: SN4552/2BIS/EUI(q931)[0/1]#uni-side user
    1970-01-01T00:00:32 : LOGWARNING : Config: % Clock mode slave is not supported


    Opening Modules...
    All modules successfully opened
    
    System is up.

    1970-01-01T00:00:33 : LOGINFO : Link up on interface ethernet 0 0 0
    1970-01-01T00:00:33 : LOGINFO : Link up on interface eth0
    1970-01-01T00:00:34 : LOGINFO : Warm start.
     
  3. LugmayrM

    Joined:
    Dec 7, 2007
    Messages:
    7
    Likes Received:
    0
    the reason of the error was

    if have firmeware
    Smartware 4.2
    > Build Series 2007-09-19 (H323) 10/10/2007

    the correct for use with sip is

    > Smartware 4.2 Build Series 2007-09-19 (SIP)
     
  4. brunomotta

    Joined:
    Dec 13, 2007
    Messages:
    2
    Likes Received:
    0
    Configuration for Patton 4552

    I am trying too for that configuration but with no success. Can someone help on this?

    Many Thanks
     
  5. tjabaut

    tjabaut New Member

    Joined:
    Jul 24, 2007
    Messages:
    138
    Likes Received:
    0
    I would also like to ask if there is a a way for us as administrators to setup templates for new devices. I am sure there are several of us here on this board that would be willing to write some templates for new devices.
     
  6. aorlando

    Joined:
    May 29, 2007
    Messages:
    27
    Likes Received:
    0
    #----------------------------------------------------------------#
    # #
    # SN4552/2BIS/EUI #
    # R3.21 2007-01-23 SIP #
    # 2007-12-14T15:48:16 #
    # Generated configuration file #
    # #
    #----------------------------------------------------------------#

    cli version 3.20
    gui type basic
    administrator administrator password password
    clock local offset +01:00
    dns-client server 192.168.1.1
    dns-relay
    webserver port 80 language en
    sntp-client
    sntp-client server primary time.ien.it port 123 version 4
    system hostname patton

    system

    ic voice 0

    profile acl ACL_WAN_PERMIT_ALL_MGMT
    permit 1 ip any any

    profile acl ACL_WAN_PERMIT_SEL_MGMT
    deny 1 tcp any any eq 23
    deny 2 tcp any any eq 80
    deny 3 udp any any eq 161
    permit 4 ip any any

    profile acl ACL_WAN_BLOCK_ALL_MGMT
    deny 1 tcp any any eq 23
    deny 2 tcp any any eq 80
    deny 3 udp any any eq 161
    permit 4 ip any any

    profile service-policy SP_WAN_OUT
    rate-limit 100000 header-length 18 voice-margin 0

    source traffic-class local-voice
    priority

    source traffic-class default
    priority

    profile service-policy SP_WAN_IN
    rate-limit 100000 header-length 18 voice-margin 200

    source traffic-class local-voice
    priority

    source traffic-class default
    queue-limit 4

    profile napt NAPT_WAN

    profile ppp default

    profile call-progress-tone US_DIAL_TONE
    play 1 0 350 -13 440 -13

    profile call-progress-tone US_RB_TONE
    play 1 2000 440 -19 480 -19
    pause 2 4000

    profile call-progress-tone US_BUSY_TONE
    play 1 500 480 -24 620 -24
    pause 2 500

    profile call-progress-tone US_CONGESTION_TONE
    play 1 250 480 -24 620 -24
    pause 2 250

    profile tone-set default

    profile tone-set Europe

    profile tone-set UnitedStates
    map call-progress-tone dial-tone US_DIAL_TONE
    map call-progress-tone ringback-tone US_RB_TONE
    map call-progress-tone busy-tone US_BUSY_TONE
    map call-progress-tone release-tone US_BUSY_TONE
    map call-progress-tone congestion-tone US_CONGESTION_TONE

    profile voip default
    codec 1 g711alaw64k rx-length 20 tx-length 20
    codec 2 g711ulaw64k rx-length 20 tx-length 20

    profile voip VOIP
    codec 1 g711alaw64k rx-length 20 tx-length 20
    codec 2 g711ulaw64k rx-length 20 tx-length 20
    dejitter-mode static
    dejitter-max-delay 120

    profile voip VOIP-ASTERISK
    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
    codec 4 g723-6k3 rx-length 30 tx-length 30
    dejitter-max-delay 200

    profile pstn default

    profile sip default

    profile dhcp-server DHCPS_LAN
    network 192.168.1.0 255.255.255.0
    include 1 192.168.1.10 192.168.1.19
    lease 2 hours
    default-router 1 192.168.1.2
    domain-name MYDOMAIN.COM
    domain-name-server 1 192.168.1.1

    profile aaa default
    method 1 local
    method 2 none

    context ip router

    interface IF_IP_WAN
    ipaddress dhcp
    use profile acl ACL_WAN_PERMIT_ALL_MGMT in
    use profile service-policy SP_WAN_IN in
    use profile service-policy SP_WAN_OUT out
    use profile napt NAPT_WAN
    tcp adjust-mss rx 582
    tcp adjust-mss tx 1440

    interface IF_IP_LAN
    ipaddress 192.168.1.7 255.255.255.0
    icmp router-discovery
    no napt-inside

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

    interface LAN
    ipaddress unnumbered
    icmp router-discovery

    context ip router
    route 0.0.0.0 0.0.0.0 192.168.1.254 0

    subscriber ppp SUB_PPPOE
    dial out
    authentication chap
    authentication pap
    bind interface IF_IP_WAN router

    context cs switch
    national-prefix 0
    international-prefix 00

    routing-table called-e164 RT_SPEED_DIAL
    route T dest-table RT_NR_BLOCKING MT_SPEED_DIAL

    routing-table called-e164 RT_NR_BLOCKING
    route default dest-table RT_CALL_ROUTING MT_SET_CNPN

    routing-table called-e164 RT_CALL_ROUTING
    route default dest-service SER_HG_PSTN_FALLBACK

    routing-table called-e164 RT_INCOMING
    route default dest-interface IF_S0_01 MT_NR_TRANSLATION

    mapping-table called-e164 to called-e164 MT_SPEED_DIAL

    mapping-table calling-e164 to calling-e164 MT_SET_CNPN

    mapping-table called-e164 to called-e164 MT_NR_TRANSLATION

    interface isdn IF_S0_00
    route call dest-table RT_INCOMING
    use profile tone-set Europe

    interface isdn IF_S0_01
    route call dest-table RT_SPEED_DIAL
    use profile tone-set Europe
    isdn-date-time

    interface isdn IF_DEV0

    interface isdn IF_1
    route call dest-interface IF_3CX

    interface isdn IF_2
    use profile tone-set Europe
    isdn-date-time

    interface sip IF_SIP_SERVICE
    service default
    address-translation outgoing-call from-header user-part fix 80 host-part call

    interface sip IF_3CX
    bind gateway GW_3CX
    service default
    route call dest-interface IF_1
    early-disconnect
    remote-party-id called-party
    remote-party-id calling-party
    address-translation outgoing-call to-header user-part fix 10002 host-part interface
    address-translation incoming-call called-e164 request-uri

    service hunt-group SER_HG_PSTN_FALLBACK
    timeout 6
    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
    drop-cause no-route-to-destination
    route call 1 dest-interface IF_SIP_SERVICE
    route call 2 dest-interface IF_S0_00

    context cs switch
    no shutdown

    gateway sip GW_3CX
    bind interface IF_IP_LAN router

    service default
    defaultserver manual 192.168.1.20 5060 loose-router
    registration-lifetime 500
    registration manual 192.168.1.20
    user 10002 authenticate password password register display-name 10002

    gateway sip GW_3CX
    no shutdown

    gateway sip GW_SIP
    call-signaling-port 5062

    service default

    gateway sip GW_SIP
    no shutdown

    port ethernet 0 0
    bind interface IF_IP_WAN router
    bind interface WAN router

    pppoe

    session SES_PPPOE
    bind subscriber SUB_PPPOE
    shutdown

    port ethernet 0 0
    no shutdown

    port ethernet 0 1
    bind interface IF_IP_LAN router
    no shutdown

    port bri 0 0
    clock auto
    encapsulation q921

    q921
    permanent-layer2
    protocol pmp
    uni-side user
    encapsulation q931

    q931
    protocol dss1
    uni-side user
    encapsulation cc-isdn
    bind interface IF_1 switch

    port bri 0 0
    no shutdown

    port bri 0 1
    clock auto
    encapsulation q921

    q921
    protocol pmp
    uni-side auto
    encapsulation q931

    q931
    protocol dss1
    uni-side net
    encapsulation cc-isdn
    bind interface IF_S0_01 switch

    port bri 0 1
    shutdown
     
  7. aorlando

    Joined:
    May 29, 2007
    Messages:
    27
    Likes Received:
    0
    Patton 4552 configuration for 3CX

    In the configuration upper

    section coloured must be customized on your network

    The example is done over this network

    192.168.1.1 DNS Server
    192.168.1.7 Patton IP Address
    192.168.1.20 3CX Server
    192.168.1.254 Default Gateway
    10002 3CX virtual extension for PATTON
     
  8. LugmayrM

    Joined:
    Dec 7, 2007
    Messages:
    7
    Likes Received:
    0
    thx for config but

    if i install it with web gui i will have the errormessage:

    The selected file is too long for a valid configuration

    what can i do?
     
  9. aorlando

    Joined:
    May 29, 2007
    Messages:
    27
    Likes Received:
    0
    Trying copying and past the text of the configuration upper in a txt file
    then import this txt config file trough web interface of Patton.
    Must work.
     
  10. LugmayrM

    Joined:
    Dec 7, 2007
    Messages:
    7
    Likes Received:
    0
    txt file -

    hallo orlando

    i exactly tried ist as you said but file is to long

    nice that you help

    martin
     

Share This Page