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.

Patton 4638 dialout only two lines

Discussion in '3CX Phone System - General' started by flunscherl, Feb 2, 2008.

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

    Joined:
    Feb 2, 2008
    Messages:
    1
    Likes Received:
    0
    Hallo!
    Got new Version 3cx insta<lled.
    Patton 4638 with 4 ISDN Lines point to pount connected an with 3cx configfile installed.
    incomming Calls on all 8 lines aviable
    outgoing only on the first port (10000).

    23:32:54.882 Call::RouteFailed [CM503014]: Call(16): Attempt to reach [sip:01503@192.168.171.1] failed. Reason: Server Failure
    23:32:54.882 CallLeg::eek:nFailure [CM503003]: Call(16): Call to sip:1503@192.168.171.253:5060 has failed; Cause: 503 Service Unavailable; from IP:192.168.171.253
    23:32:54.647 CallLeg::eek:nFailure [CM503003]: Call(16): Call to sip:1503@192.168.171.253:5060 has failed; Cause: 503 Service Unavailable; from IP:192.168.171.253
    23:32:54.460 CallCtrl::eek:nSelectRouteReq [CM503004]: Call(16): Calling: PSTNline:10001@[Dev:sip:10001@192.168.171.253:5060, Dev:sip:10002@192.168.171.253:5060]
    23:32:54.350 CallCtrl::eek:nIncomingCall [CM503001]: Call(16): Incoming call from Ext.114 to [sip:01503@192.168.171.1]

    config patton:
    STARTUP CONFIGURATION
    =====================
    #----------------------------------------------------------------#
    # #
    # SN4638/5BIS/UI #
    # R4.2 2007-12-03 H323 SIP BRI #
    # 1970-01-01T00:00:37 #
    # SN/00A0BA038581 #
    # Generated configuration file #
    # #
    #----------------------------------------------------------------#

    cli version 3.20
    webserver port 80 language en

    system

    ic voice 0
    low-bitrate-codec g729

    system
    clock-source 1 bri 0 0

    profile ppp default

    profile call-progress-tone defaultDialtone
    play 1 1000 425 0

    profile call-progress-tone defaultBusytone
    play 1 480 425 -7
    pause 2 480

    profile call-progress-tone defaultReleasetone
    play 1 240 425 -7
    pause 2 240

    profile call-progress-tone defaultCongestiontone
    play 1 240 425 -7
    pause 2 240

    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

    profile pstn default

    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 192.168.171.253 255.255.255.0
    tcp adjust-mss rx mtu
    tcp adjust-mss tx mtu

    context cs switch

    routing-table called-e164 RT_ISDN_TO_SIP_0
    route default dest-interface IF_SIP_0 MP_REM_CLIR

    routing-table called-e164 RT_ISDN_TO_SIP_1
    route default dest-interface IF_SIP_1 MP_REM_CLIR

    routing-table called-e164 RT_ISDN_TO_SIP_2
    route default dest-interface IF_SIP_2 MP_REM_CLIR

    routing-table called-e164 RT_ISDN_TO_SIP_3
    route default dest-interface IF_SIP_3 MP_REM_CLIR

    routing-table called-e164 RT_SIP_TO_ISDN_0
    route default dest-interface IF_ISDN_0

    routing-table called-e164 RT_SIP_TO_ISDN_1
    route default dest-interface IF_ISDN_1

    routing-table called-e164 RT_SIP_TO_ISDN_2
    route default dest-interface IF_ISDN_2

    routing-table called-e164 RT_SIP_TO_ISDN_3
    route default dest-interface IF_ISDN_3

    mapping-table calling-pi to calling-e164 MP_REM_CLIR
    map restricted to ""

    interface isdn IF_ISDN_0
    route call dest-table RT_ISDN_TO_SIP_0

    interface isdn IF_ISDN_1
    route call dest-table RT_ISDN_TO_SIP_1

    interface isdn IF_ISDN_2
    route call dest-table RT_ISDN_TO_SIP_2

    interface isdn IF_ISDN_3
    route call dest-table RT_ISDN_TO_SIP_3

    interface sip IF_SIP_0
    bind gateway GW_SIP_0
    service default
    route call dest-table RT_SIP_TO_ISDN_0
    remote-party-id called-party
    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 sip IF_SIP_1
    bind gateway GW_SIP_1
    service default
    route call dest-table RT_SIP_TO_ISDN_1
    remote-party-id called-party
    address-translation outgoing-call request-uri user-part fix 10001 host-part to-header target-param none
    address-translation incoming-call called-e164 request-uri

    interface sip IF_SIP_2
    bind gateway GW_SIP_2
    service default
    route call dest-table RT_SIP_TO_ISDN_2
    remote-party-id called-party
    address-translation outgoing-call request-uri user-part fix 10002 host-part to-header target-param none
    address-translation incoming-call called-e164 request-uri

    interface sip IF_SIP_3
    bind gateway GW_SIP_3
    service default
    route call dest-table RT_SIP_TO_ISDN_3
    remote-party-id called-party
    address-translation outgoing-call request-uri user-part fix 10003 host-part to-header target-param none
    address-translation incoming-call called-e164 request-uri

    context cs switch
    no shutdown

    gateway sip GW_SIP_0
    bind interface IF_IP_LAN router

    service default
    domain 192.168.171.1
    defaultserver manual 192.168.171.1 loose-router
    registration manual 192.168.171.1
    user 10000 authenticate password LbFCDNv4/Fk= encrypted default register

    gateway sip GW_SIP_0
    no shutdown

    gateway sip GW_SIP_1
    call-signaling-port 5062
    bind interface IF_IP_LAN router

    service default
    domain 192.168.171.1
    defaultserver manual 192.168.171.1 loose-router
    registration manual 192.168.171.1
    user 10001 authenticate password dZ8edXkjFnM= encrypted default register

    gateway sip GW_SIP_1
    no shutdown

    gateway sip GW_SIP_2
    call-signaling-port 5064
    bind interface IF_IP_LAN router

    service default
    domain 192.168.171.1
    defaultserver manual 192.168.171.1 loose-router
    registration manual 192.168.171.1
    user 10002 authenticate password iAaKwKfxX4Q= encrypted default register

    gateway sip GW_SIP_2
    no shutdown

    gateway sip GW_SIP_3
    call-signaling-port 5066
    bind interface IF_IP_LAN router

    service default
    domain 192.168.171.1
    defaultserver manual 192.168.171.1 loose-router
    registration manual 192.168.171.1
    user 10003 authenticate password ySyWxUvSc/c= encrypted default register

    gateway sip GW_SIP_3
    no shutdown

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

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

    port bri 0 0
    clock auto
    encapsulation q921

    q921
    protocol pp
    uni-side auto
    encapsulation q931

    q931
    protocol dss1
    uni-side user
    bchan-number-order ascending
    encapsulation cc-isdn
    bind interface IF_ISDN_0 switch

    port bri 0 0
    no shutdown

    port bri 0 1
    clock auto
    encapsulation q921

    q921
    protocol pp
    uni-side auto
    encapsulation q931

    q931
    protocol dss1
    uni-side user
    bchan-number-order ascending
    encapsulation cc-isdn
    bind interface IF_ISDN_1 switch

    port bri 0 1
    no shutdown

    port bri 0 2
    clock auto
    encapsulation q921

    q921
    protocol pp
    uni-side auto
    encapsulation q931

    q931
    protocol dss1
    uni-side user
    bchan-number-order ascending
    encapsulation cc-isdn
    bind interface IF_ISDN_2 switch

    port bri 0 2
    no shutdown

    port bri 0 3
    clock auto
    encapsulation q921

    q921
    protocol pp
    uni-side auto
    encapsulation q931

    q931
    protocol dss1
    uni-side user
    bchan-number-order ascending
    encapsulation cc-isdn
    bind interface IF_ISDN_3 switch

    port bri 0 3
    no shutdown

    port bri 0 4
    clock auto
    encapsulation q921

    q921
    protocol pp
    uni-side auto
    encapsulation q931

    q931
    protocol dss1
    uni-side net
    bchan-number-order ascending

    port bri 0 4
    shutdown

    any one a idee what is going wrong?
    Thank you for any help...
     
  2. tgomell

    Joined:
    Jan 23, 2008
    Messages:
    3
    Likes Received:
    0
    Hello,

    i have the same problem with the same hardware. Has anybody any solution for this issue?

    bg

    Thomas
     
  3. Nick Galea

    Nick Galea Site Admin

    Joined:
    Jun 6, 2006
    Messages:
    1,973
    Likes Received:
    283
    Hi,

    Are you 3Cx partners? If yes please your partnersupport account to request support on this - its quicker to help you that way.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. nb

    nb Support Team
    Staff Member 3CX Support

    Joined:
    Jun 7, 2007
    Messages:
    2,153
    Likes Received:
    175
    Hi

    Can you try using this configuration :

    I modified the same config you gave me, added a hunt group - forwards to ISDN interface and edited BRI port config slightly.
    Lets see how this goes.
    Rgds


    config patton:
    STARTUP CONFIGURATION
    =====================
    #----------------------------------------------------------------#
    # #
    # SN4638/5BIS/UI #
    # R4.2 2007-12-03 H323 SIP BRI #
    # 1970-01-01T00:00:37 #
    # SN/00A0BA038581 #
    # Generated configuration file #
    # #
    #----------------------------------------------------------------#

    cli version 3.20
    webserver port 80 language en

    system

    ic voice 0
    low-bitrate-codec g729

    system
    clock-source 1 bri 0 0

    profile ppp default

    profile call-progress-tone defaultDialtone
    play 1 1000 425 0

    profile call-progress-tone defaultBusytone
    play 1 480 425 -7
    pause 2 480

    profile call-progress-tone defaultReleasetone
    play 1 240 425 -7
    pause 2 240

    profile call-progress-tone defaultCongestiontone
    play 1 240 425 -7
    pause 2 240

    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

    profile pstn default

    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 192.168.171.253 255.255.255.0
    tcp adjust-mss rx mtu
    tcp adjust-mss tx mtu

    context cs switch

    routing-table called-e164 RT_ISDN_TO_SIP_0
    route default dest-interface IF_SIP_0 MP_REM_CLIR

    routing-table called-e164 RT_ISDN_TO_SIP_1
    route default dest-interface IF_SIP_1 MP_REM_CLIR

    routing-table called-e164 RT_ISDN_TO_SIP_2
    route default dest-interface IF_SIP_2 MP_REM_CLIR

    routing-table called-e164 RT_ISDN_TO_SIP_3
    route default dest-interface IF_SIP_3 MP_REM_CLIR

    mapping-table calling-pi to calling-e164 MP_REM_CLIR
    map restricted to ""

    interface isdn IF_ISDN_0
    route call dest-table RT_ISDN_TO_SIP_0

    interface isdn IF_ISDN_1
    route call dest-table RT_ISDN_TO_SIP_1

    interface isdn IF_ISDN_2
    route call dest-table RT_ISDN_TO_SIP_2

    interface isdn IF_ISDN_3
    route call dest-table RT_ISDN_TO_SIP_3

    interface sip IF_SIP_0
    bind gateway GW_SIP_0
    service default
    route call dest-service ISDN_HUNT
    remote-party-id called-party
    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 sip IF_SIP_1
    bind gateway GW_SIP_1
    service default
    route call dest-service ISDN_HUNT
    remote-party-id called-party
    address-translation outgoing-call request-uri user-part fix 10001 host-part to-header target-param none
    address-translation incoming-call called-e164 request-uri

    interface sip IF_SIP_2
    bind gateway GW_SIP_2
    service default
    route call dest-service ISDN_HUNT
    remote-party-id called-party
    address-translation outgoing-call request-uri user-part fix 10002 host-part to-header target-param none
    address-translation incoming-call called-e164 request-uri

    interface sip IF_SIP_3
    bind gateway GW_SIP_3
    service default
    route call dest-service ISDN_HUNT
    remote-party-id called-party
    address-translation outgoing-call request-uri user-part fix 10003 host-part to-header target-param none
    address-translation incoming-call called-e164 request-uri

    service hunt-group ISDN_HUNT
    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_ISDN_0
    route call 2 dest-interface IF_ISDN_1
    route call 3 dest-interface IF_ISDN_2
    route call 4 dest-interface IF_ISDN_3


    context cs switch
    no shutdown

    gateway sip GW_SIP_0
    bind interface IF_IP_LAN router

    service default
    domain 192.168.171.1
    defaultserver manual 192.168.171.1 loose-router
    registration manual 192.168.171.1
    user 10000 authenticate password LbFCDNv4/Fk= encrypted default register

    gateway sip GW_SIP_0
    no shutdown

    gateway sip GW_SIP_1
    call-signaling-port 5062
    bind interface IF_IP_LAN router

    service default
    domain 192.168.171.1
    defaultserver manual 192.168.171.1 loose-router
    registration manual 192.168.171.1
    user 10001 authenticate password dZ8edXkjFnM= encrypted default register

    gateway sip GW_SIP_1
    no shutdown

    gateway sip GW_SIP_2
    call-signaling-port 5064
    bind interface IF_IP_LAN router

    service default
    domain 192.168.171.1
    defaultserver manual 192.168.171.1 loose-router
    registration manual 192.168.171.1
    user 10002 authenticate password iAaKwKfxX4Q= encrypted default register

    gateway sip GW_SIP_2
    no shutdown

    gateway sip GW_SIP_3
    call-signaling-port 5066
    bind interface IF_IP_LAN router

    service default
    domain 192.168.171.1
    defaultserver manual 192.168.171.1 loose-router
    registration manual 192.168.171.1
    user 10003 authenticate password ySyWxUvSc/c= encrypted default register

    gateway sip GW_SIP_3
    no shutdown

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

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

    port bri 0 0
    clock auto
    encapsulation q921

    q921
    protocol pp
    uni-side auto
    encapsulation q931

    q931
    protocol dss1
    uni-side user
    bchan-number-order ascending
    encapsulation cc-isdn
    bind interface IF_ISDN_0 switch

    port bri 0 0
    no shutdown

    port bri 0 1
    clock auto
    encapsulation q921

    q921
    protocol pp
    uni-side auto
    encapsulation q931

    q931
    protocol dss1
    uni-side user
    bchan-number-order ascending
    encapsulation cc-isdn
    bind interface IF_ISDN_1 switch

    port bri 0 1
    no shutdown

    port bri 0 2
    clock auto
    encapsulation q921

    q921
    protocol pp
    uni-side auto
    encapsulation q931

    q931
    protocol dss1
    uni-side user
    bchan-number-order ascending
    encapsulation cc-isdn
    bind interface IF_ISDN_2 switch

    port bri 0 2
    no shutdown

    port bri 0 3
    clock auto
    encapsulation q921

    q921
    protocol pp
    uni-side auto
    encapsulation q931

    q931
    protocol dss1
    uni-side user
    bchan-number-order ascending
    encapsulation cc-isdn
    bind interface IF_ISDN_3 switch

    port bri 0 3
    no shutdown

    port bri 0 4
    clock auto
    encapsulation q921

    q921
    protocol pp
    uni-side auto
    encapsulation q931

    q931
    protocol dss1
    uni-side net
    bchan-number-order ascending

    port bri 0 4
    shutdown
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. Dallus

    Joined:
    Jan 7, 2008
    Messages:
    4
    Likes Received:
    0
    I have the same big problem. Only two lines is used to for outgoing calls.
    Only the first SIP GATEWAY on Patton SN4638 it's used for the outgoing calls (1000@192.168.0.254:5060).
    The others three gateways are not addressed correctly from 3CX Software. The Patton return this message; 'Service unavaible'
    In effect, the outgoing calls are addressed in this order (192.168.0.254 it's my patton gateway address):

    1000@192.168.0.254:5060 --> 1001@192.168.0.254:5060 --> 1002@192.168.0,254:5060 1003@192.168.0.254:5060.

    But in Patton start-up/running cofiguration the SIP GATEWAYS have an different port mapping:
    1000@192.168.0.254:5060
    1001@192.168.0.254:5062
    1002@192.168.0.254:5064
    1003@192.168.0.254:5066

    Can you help me?
     
  6. nb

    nb Support Team
    Staff Member 3CX Support

    Joined:
    Jun 7, 2007
    Messages:
    2,153
    Likes Received:
    175
    Did you try the configuration in this page?

    Also important - make sure you have the latest patton firmware.

    What is your current config? Is it the standard template generated with 3CX?

    Remember important - after importing a config to the patton, reload (it will ask you to reload). Then telnet to the device and see the config to make sure that all the settings are imported correctly.

    Then reload again to make sure. After this reload restart 3cx Phonesystem service.

    Check that registrations are ok. Start making calls. Do not restrict calls from PBX for the time being. Keep calls in both directions. Make example 4 calls out and then 4 in (giving you have 2 ISDN lines). Then mix 2 in 2 out.

    rgds
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  7. Dallus

    Joined:
    Jan 7, 2008
    Messages:
    4
    Likes Received:
    0
    My logs are the same
    I have tested your configuration; it's dont work.

    I think because:
    a) all outgoing calls are addressed to only first virtual line --> 1000@192.168.0.254:5060 (this is limited to 2 call in/out). The haunting group dont resolve the problem...
    In the configuration PSTN gateway on the server 3CX is impossible to specify for each virtual line the correct port
    Moreover, I believe that there will be another problem:
    b) this Patton configuration dont permit to see the correct line state in 3CX console: all outgoing calls appear as carried out by the virtual line 1000.-

    My logs are identical to those of the author of the first post.
    The only difference: the server has two network interface card, the first (10.200.4.30) linked to the internal network (10.200.4.0/24) where the IP phones are connected, the second (192.168.0.30)connected directly to Patton SN4638 (192.168.0.254/24). Could this be the problem?

    Thanks for your help.
     
  8. nb

    nb Support Team
    Staff Member 3CX Support

    Joined:
    Jun 7, 2007
    Messages:
    2,153
    Likes Received:
    175
    can you enable debug on the patton and see exactly what is happening?

    Debug logs

    telnet to device

    debug ccisdn signaling
    debug ccisdn error
    debug call-control detail 5

    Send the error logs and we will have a look.

    Which call is failing? how many simultaneous calls can you make?
    How many ISDN lines do you have at the moment plugged into the patton?

    If I were you for the time being I would simplify the network topology as much as you can. Put the Patton on the same network that the phones are in 10 network or whatever you wish. That way we already eliminated routing between two different network areas and try again. I doubt that this may be the cause but for troubleshooting purposes we have to eliminate all the variables we can and leave network topology as simple as possible.

    rgds 3CX
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  9. ewa

    ewa

    Joined:
    Oct 23, 2007
    Messages:
    3
    Likes Received:
    0
    it seems that william400 (from 3cx) is working on it. (search "sn3648" posted from Dallus and you will find it :lol: ).
     
  10. Nick Galea

    Nick Galea Site Admin

    Joined:
    Jun 6, 2006
    Messages:
    1,973
    Likes Received:
    283
    We are working on this.....
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Thread Status:
Not open for further replies.