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 SN-DTA/1BIS2V ISDN to 3CX

Discussion in '3CX Phone System - General' started by Taigar, May 10, 2017.

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

    Joined:
    Jan 16, 2017
    Messages:
    7
    Likes Received:
    1
    Hi,

    I am trying to setup a Patton SN-DTA/1BIS2V to make ISDN calls using our 3CX PBX.
    What I am trying to achieve is to allow our ISDN Aritech security system to communicate using the 3CX.
    But for testing purposes, I set it up to allow a VOX930 ISDN phone to make calls.

    What I did:
    - Create an extension in 3CX (ID 01)
    - Configure the Patton with a basic config file I got from someone helping me

    What is working:
    - The ISDN phone is getting feed by the Patton, and powering up.
    - I am able to make calls to the ISDN phone (using another IP phone, Yealink T41P, calling to extension '01')

    What is not working:
    - I cannot make calls from the ISDN phone to the IP phone or any other phone number (for example my cellphone)

    This is my Patton configuration:
    Code:
    #----------------------------------------------------------------#
    #                                                                #
    # SN-DTA/1BIS2V                                                  #
    # R6.3 2013-05-01 H323 SIP                                       #
    # 2017-05-09T13:47:06                                            #
    # SN/00A0BA0A58CC                                                #
    # Generated configuration file                                   #
    #                                                                #
    #----------------------------------------------------------------#
    
    cli version 3.20
    clock local default-offset +01:00
    clock local dst-rule NETHERLANDS +02:00 from 02:00 mar 31st previous sunday until 03:00 oct 31st previous sunday
    dns-relay
    webserver port 80 language en
    sntp-client
    sntp-client server primary nl.pool.ntp.org port 123 version 4
    
    system
    
      ic voice 0
    
    system
      clock-source 1 bri 0 0
      bri power-feed
    
    profile napt NAPT_LAN
    
    profile ppp default
    
    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
      no autonomous-transitioning
    
    profile aaa default
      method 1 local
      method 2 none
    
    context ip router
    
      interface LAN
        ipaddress dhcp
        use profile napt NAPT_LAN
        tcp adjust-mss rx mtu
        tcp adjust-mss tx mtu
    
    context cs switch
    
      routing-table called-e164 INCOMING
        route default dest-service OUT_ISDN MAP_IN
    
      routing-table called-e164 CDPN_2_IP
        route .T dest-service OUT_IP
    
      mapping-table called-e164 to called-e164 MAP_CALLED_IN
        map 0031(.........) to \1
        map 31(.........) to \1
        map 0(.........) to \1
    
      mapping-table calling-e164 to calling-e164 MAP_CALLING_IN
        map 0031(.........) to 0\1
        map 31(.........) to 0\1
    
      mapping-table called-type-of-number to called-type-of-number MAP_TON_IN
        map default to national
    
      mapping-table called-numbering-plan to called-numbering-plan MAP_NRPLAN_IN
        map default to isdn-telephony
    
      complex-function MAP_IN
        execute 1 MAP_CALLED_IN
        execute 2 MAP_CALLING_IN
        execute 3 MAP_TON_IN
        execute 4 MAP_NRPLAN_IN
    
      interface isdn IF_ISDN_S0_0
        route call dest-table CDPN_2_IP
        isdn-date-time
    
      interface isdn IF_ISDN_S0_1
        route call dest-table CDPN_2_IP
        isdn-date-time
    
      interface sip IF_SIP
        bind context sip-gateway GW_SIP
        route call dest-table INCOMING
        remote 192.168.5.100 5060
        address-translation outgoing-call from-header user-part fix 01 host-part call
    
      service hunt-group OUT_ISDN
        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 user-busy
        route call 1 dest-interface IF_ISDN_S0_0
        route call 2 dest-interface IF_ISDN_S0_1
    
      service hunt-group OUT_IP
        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 user-busy
        route call 1 dest-interface IF_SIP
    
    context cs switch
      no shutdown
    
    authentication-service AS_PROVIDER
      username 01 password lCQ//NVTD8Y6fr5yBkIN6JEFFfd1ClI9 encrypted
    
    location-service SL_PROVIDER
      domain 1 192.168.5.100
    #  domain 1 192.168.5.100   deze aanpassen naar 192.168.5.100 ???
    
      identity-group default
    
        authentication outbound
          authenticate 1 authentication-service AS_PROVIDER username 01
    
      identity 01
    
        authentication outbound
          authenticate 1 authentication-service AS_PROVIDER
    
        registration outbound
          registrar 192.168.5.100
          lifetime 300
          register auto
    
    context sip-gateway GW_SIP
    
      interface BIND_LAN_SIP
        bind interface LAN context router port 5060
    
    context sip-gateway GW_SIP
      bind location-service SL_PROVIDER
      no shutdown
    
    port ethernet 0 0
      medium auto
      encapsulation ip
      bind interface LAN router
      no shutdown
    
    port bri 0 0
      clock master
      encapsulation q921
    
      q921
        permanent-layer2
        uni-side auto
        encapsulation q931
    
        q931
          protocol dss1
          uni-side net
          bchan-number-order ascending
          encapsulation cc-isdn
          bind interface IF_ISDN_S0_0 switch
    
    port bri 0 0
      no shutdown
    This is my extension:
    [​IMG]
    Now I make this screenshot, it seem strange that it says only 1 Phone (last column), because it should have the default configured softphone, and the Patton. Is my Patton registration gone wrong?

    This is the Log message I get:
    [​IMG]
    [​IMG]
    [​IMG]
    [​IMG]
    [​IMG]

    The IP of my 3cx is 192.168.5.100
    The IP of the Patton is 192.168.5.12

    Why is it comparing IP's? Is it expecting the call coming from 185.145.24.247 (my lab WAN IP, not my final production WAN IP)?

    Thanks for reading, and any help would be really appreciated!
     
  2. Taigar

    Joined:
    Jan 16, 2017
    Messages:
    7
    Likes Received:
    1
    Nobody? Some tips maybe?
     
Thread Status:
Not open for further replies.