Affichage des résultats 1 à 2 sur 2

Discussion: RE: Configurer Patton SN-DTA Single/Dual-Port ISDN

  1. #1
    Membre Junior
    Date d'inscription
    juin 2014
    Messages
    4
    Downloads
    0
    Uploads
    0

    RE: Configurer Patton SN-DTA Single/Dual-Port ISDN

    Bonjour,
    j'avais ouvert une discussion dans "Emplois et demandes de prestations" Je cherche une personne pour mettre en place et configurer Patton SN-DTA Single/Dual-Port ISDN. j'ai trouvé le problème du ISDN il fallait un câble croisé ! Maintenant j'ai la LED allumée.
    j'ai utilisé ce tuto:
    pour configurer mon patton. Ce que j'ai compris on utilise le patton comme routeur. l'appel sur l'ISDN est redirigé vers Asterisk qui lui, répond à l'appel.
    Quand je teste avec un appel, je n'ai aucun log sur le serveur Asterisk (traces IP) ?
    Voici la config du patton et les logs de debug du patton:

    # SN-DTA/1BIS2V
    # R6.5 2014-03-05 H323 SIP
    # 2014-07-21T18:20:35
    # SN/00A0BA06ED4A
    # Generated configuration file

    cli version 3.20
    clock local default-offset +00:00
    timer PROVISIONING now + 3 minutes "provisioning execute PF_PROVISIONING_CONFIG"
    dns-client server 8.8.8.8
    dns-client server 8.8.4.4
    webserver port 80 language en
    sntp-client
    sntp-client server primary pool.ntp.org port 123 version 4

    system

    ic voice 0
    low-bitrate-codec g729

    system
    clock-source 1 bri 0 0

    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

    profile provisioning PF_PROVISIONING_CONFIG
    destination configuration
    location 1 http://redirect.patton.com/$(system.mac);mac=$(system.mac);serial=$(system.se rial);hwMajor=$(system.hw.major);hwMinor=$(system. hw.minor);swMajor=$(system.sw.major);swMinor=$(sys tem.sw.minor);swDate=$(system.sw.date);productName =$(system.product.name);cliMajor=$(cli.major);cliM inor=$(cli.minor);osName=$(cli.major>=4|Trinity|Sm artWare);subDirTrinity=$(cli.major>=4|/Trinity);subDirSmartWare=$(cli.major<4|/SmartWare);dhcp66=$(dhcp.66);dhcp67=$(dhcp.67)
    location 2 $(dhcp.66)
    location 3 $(dhcp.66)/$(system.mac).cfg
    location 4 http://$(dhcp.66)/$(dhcp.67)
    location 5 http://$(dhcp.66)/$(system.mac).cfg
    location 6 tftp://$(dhcp.66)/$(dhcp.67)
    location 7 tftp://$(dhcp.66)/$(system.mac).cfg
    activation reload immediate

    context ip router

    interface eth0
    ipaddress 192.168.15.20 255.255.255.0
    tcp adjust-mss rx mtu
    tcp adjust-mss tx mtu

    context ip router
    route 0.0.0.0 0.0.0.0 192.168.15.200 0

    context cs switch

    interface isdn IF_S00
    route call dest-interface IP_SIP_PBX
    no caller-name early-alerting

    interface sip IP_SIP_PBX
    bind context sip-gateway SIP_GATEWAYS
    route call dest-service S_HUNT_ISDN
    remote 192.168.15.21 5060
    no early-proceeding
    early-connect
    early-disconnect

    service hunt-group S_HUNT_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
    route call 1 dest-interface IF_S00

    context cs switch
    no shutdown

    context sip-gateway SIP_GATEWAYS

    interface 192.168.15.21
    bind interface eth0 context router port 5060

    context sip-gateway SIP_GATEWAYS
    no shutdown

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

    port bri 0 0
    clock auto
    encapsulation q921

    q921
    protocol pp
    uni-side auto
    encapsulation q931

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

    port bri 0 0
    no shutdown

    Voici les logs de debug:
    192.168.15.20>enable
    192.168.15.20#debug context sip-gateway transport detail 1
    192.168.15.20#debug context sip-gateway signaling detail 1
    192.168.15.20#debug ccisdn signaling
    192.168.15.20#debug call-router detail 5
    192.168.15.20#debug call-control detail 5
    192.168.15.20#debug ccisdn error
    192.168.15.20#debug isdn event bri 0 0 all
    192.168.15.20#17:57:17 ISDN > # 213 [bri 0 0][0] S: sapi: 0 cr=1 ea=0 tei: 0 ea=1 SABME p =1
    17:57:18 ISDN > # 214 p: 0 PhPendActivateInd -> l2
    17:57:18 ISDN > # 215 [bri 0 0][0] S: sapi: 0 cr=1 ea=0 tei: 0 ea=1 SABME p =1
    17:57:19 ISDN > # 216 p: 0 PhActInd -> l2
    17:57:19 ISDN > # 217 [bri 0 0][0] S: sapi: 0 cr=1 ea=0 tei: 0 ea=1 SABME p =1
    17:57:43 ISDN > # 236 [bri 0 0][0] R: msg too short : 0
    17:57:43 ISDN > # 237 [bri 0 0][0] S: sapi: 0 cr=1 ea=0 tei: 0 ea=1 SABME p =1
    17:57:44 ISDN > # 238 [bri 0 0][0] S: sapi: 0 cr=1 ea=0 tei: 0 ea=1 SABME p =1
    17:57:46 ISDN > # 239 [bri 0 0][0] S: sapi: 0 cr=1 ea=0 tei: 0 ea=1 SABME p =1
    17:57:47 ISDN > # 240 [bri 0 0][0] S: sapi: 0 cr=1 ea=0 tei: 0 ea=1 SABME p =1
    17:57:48 ISDN > # 241 *delPc N, tei: 0 sapi: 0
    17:57:48 ISDN > # 242 p: 0 PhActInd -> l2
    17:57:48 ISDN > # 243 *newPc BR-N, tei: 0, sapi: 0
    17:57:48 ISDN > # 244 key: 0, Stack:2V01b
    17:57:48 ISDN > # 245 EuroISDN
    17:57:48 ISDN > # 246 ---> Layer2 tei: 0 sapi: 0 Restart
    17:57:48 ISDN > # 247 hex:08 01 00 46 79 01 86
    17:57:48 ISDN > # 248 IE: RestartIndicator
    17:57:48 ISDN > # 249 new call state : L3PcStRestart1
    17:57:48 ISDN > # 250 [bri 0 0][0] S: sapi: 0 cr=1 ea=0 tei: 0 ea=1 SABME p =1
    17:57:48 ICC > [IF_S00] Destroying all calls.
    17:57:48 ICC > [IF_S00] Destroying active calls.
    17:57:48 ICC > [IF_S00] Destroying finished calls.
    17:57:48 ICC > [IF_S00] Destroying suspended Calls.
    17:57:49 ISDN > # 251 [bri 0 0][0] S: sapi: 0 cr=1 ea=0 tei: 0 ea=1 SABME p =1
    17:57:50 ISDN > # 252 [bri 0 0][0] S: sapi: 0 cr=1 ea=0 tei: 0 ea=1 SABME p =1
    17:57:51 ISDN > # 253 [bri 0 0][0] S: sapi: 0 cr=1 ea=0 tei: 0 ea=1 SABME p =1
    17:57:54 ISDN > # 254 p: 0 PhPendActivateInd -> l2
    17:57:54 ISDN > # 255 p: 0 PhActInd -> l2
    debug isdn error
    192.168.15.20#17:58:30 ISDN > # 256 p: 0 PhPendActivateInd -> l2
    17:58:30 ISDN > # 257 p: 0 PhActInd -> l2
    17:58:41 ISDN > # 258 [bri 0 0][0] R: sapi: 0 cr=1 ea=0 tei:127 ea=1 UI p =0
    17:58:41 ISDN > # 259 [bri 0 0][0] R: sapi: 0 cr=0 ea=0 tei: 99 ea=1 UA f =1
    17:58:41 ISDN > # 260 [bri 0 0][0] R: sapi: 0 cr=0 ea=0 tei: 99 ea=1 RR Nr( 1) pf=0
    17:59:00 ISDN > # 261 [bri 0 0][0] R: sapi: 0 cr=1 ea=0 tei: 99 ea=1 RR Nr( 1) pf=1
    17:59:00 ISDN > # 262 [bri 0 0][0] R: sapi: 0 cr=0 ea=0 tei: 99 ea=1 RR Nr( 1) pf=1
    17:59:10 ISDN > # 263 [bri 0 0][0] R: sapi: 0 cr=1 ea=0 tei: 99 ea=1 RR Nr( 1) pf=1
    17:59:10 ISDN > # 264 [bri 0 0][0] R: sapi: 0 cr=0 ea=0 tei: 99 ea=1 RR Nr( 1) pf=1
    17:59:19 ISDN > # 265 [bri 0 0][0] R: sapi: 0 cr=1 ea=0 tei: 99 ea=1 INFO Nr( 1) Ns( 0) pf=0
    17:59:19 ISDN > # 266 [bri 0 0][0] R: sapi: 0 cr=0 ea=0 tei: 99 ea=1 RR Nr( 2) pf=0
    17:59:25 ISDN > # 267 [bri 0 0][0] R: sapi: 0 cr=0 ea=0 tei: 99 ea=1 UA f =1
    17:59:35 ISDN > # 268 p: 0 PhPendActivateInd -> l2
    17:59:36 ISDN > # 269 p: 0 PhActInd -> l2
    17:59:48 ISDN > # 270 [bri 0 0][0] TMO : T316 key: 0 tei: 0
    17:59:48 ISDE > # 271 ISW: C:\git\smartware/msos/voice/nbis/l3/l3pc.c(226)
    17:59:56 ISDN > # 272 [bri 0 0][0] R: sapi: 0 cr=1 ea=0 tei:127 ea=1 UI p =0
    17:59:56 ISDN > # 273 [bri 0 0][0] R: sapi: 0 cr=0 ea=0 tei: 99 ea=1 UA f =1
    17:59:59 ISDN > # 274 [bri 0 0][0] R: msg too short : 0
    18:00:15 ISDN > # 275 [bri 0 0][0] R: sapi: 0 cr=0 ea=0 tei: 99 ea=1 UA f =1
    18:00:25 ISDN > # 276 p: 0 PhPendActivateInd -> l2
    18:00:26 ISDN > # 277 p: 0 PhActInd -> l2
    18:00:29 ISDN > # 278 [bri 0 0][0] R: msg too short : 0
    18:00:57 ISDN > # 279 [bri 0 0][0] R: msg too short : 0

  2. #2
    Membre Junior
    Date d'inscription
    septembre 2016
    Messages
    1
    Downloads
    0
    Uploads
    0
    Bonjour,

    J'ai préféré remonter un sujet existant plutôt que d'en ouvrir un autre, si jamais vous préférez un nouveau, merci de me le dire :)

    Donc voilà, j'ai une Patton SN-DTA, avec un IP nous avons fait le paramétrage que nous supposions utile... sauf que très basiquement, je ne sais pas où indiquer les informations concernant le serveur du trunk SIP, nom d'utilisateur et mot de passe, vous pouvez m'aider s'il vous plaît ?
    S'il vous faut le fichier de config, il est en dessous

    Merci beaucoup.

    Code:
    #----------------------------------------------------------------#
    #                                                                #
    # SN-DTA/2BIS2V                                                  #
    # R6.8 2016-05-02 H323 SIP                                       #
    # 2016-09-17T17:32:39                                            #
    # SN/00A0BA0BA0D8                                                #
    # Generated configuration file                                   #
    #                                                                #
    #----------------------------------------------------------------#
    
    cli version 3.20
    clock local default-offset +00:00
    timer PROVISIONING now + 3 minutes "provisioning execute PF_PROVISIONING_CONFIG"
    webserver port 80 language en
    sntp-client
    sntp-client server primary 0.patton.pool.ntp.org port 123 version 4
    sntp-client server secondary 1.patton.pool.ntp.org port 123 version 4
    
    system
    
      ic voice 0
        low-bitrate-codec g729
    
    system
      clock-source 1 bri 0 0
      clock-source 2 bri 0 1
    
    profile napt NAPT
    
    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
    
    profile provisioning PF_PROVISIONING_CONFIG
      destination configuration
      location 1 http://redirect.patton.com/$(system.mac);mac=$(system.mac);serial=$(system.serial);hwMajor=$(system.hw.major);hwMinor=$(system.hw.minor);swMajor=$(system.sw.major);swMinor=$(system.sw.minor);swDate=$(system.sw.date);productName=$(system.product.name);cliMajor=$(cli.major);cliMinor=$(cli.minor);osName=$(cli.major>=4|Trinity|SmartWare);subDirTrinity=$(cli.major>=4|/Trinity);subDirSmartWare=$(cli.major<4|/SmartWare);dhcp66=$(dhcp.66);dhcp67=$(dhcp.67)
      location 2 $(dhcp.66)
      location 3 $(dhcp.66)/$(system.mac).cfg
      location 4 http://$(dhcp.66)/$(dhcp.67)
      location 5 http://$(dhcp.66)/$(system.mac).cfg
      location 6 tftp://$(dhcp.66)/$(dhcp.67)
      location 7 tftp://$(dhcp.66)/$(system.mac).cfg
      activation reload immediate
    
    context ip router
    
      interface eth0
        ipaddress 192.168.1.20 255.255.255.0
        tcp adjust-mss rx mtu
        tcp adjust-mss tx mtu
    
      interface pabx
        ipaddress 192.168.1.10 255.255.0.0
        tcp adjust-mss rx mtu
        tcp adjust-mss tx mtu
    
    context ip router
      route 0.0.0.0 0.0.0.0 192.168.1.10 1
    
    context cs switch
    
      routing-table called-ip route_01
    
      complex-function functions_01
    
      interface isdn ISDN1
        route call dest-interface IP_SIP_PBX
    
      interface isdn ISDN2
        route call dest-interface IP_SIP_PBX
    
      interface sip IP_SIP_PBX
        bind context sip-gateway 192.168.1.10
        route call dest-service S_HUNT_GROUPS
        remote 192.168.1.10 5060
        early-connect
        early-disconnect
    
      service hunt-group S_HUNT_GROUPS
        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 ISDN1
        route call 2 dest-interface ISDN2
    
    context cs switch
      no shutdown
    
    authentication-service ProgetCom
      username 0990000335066 password WCB3CmqJORfbZVqxIEmSCA== encrypted
    
    location-service default
    
    context sip-gateway 192.168.1.10
    
      interface sip3.openvno.net
        bind interface eth0 context router port 5060
    
    context sip-gateway 192.168.1.10
      bind location-service default
      no shutdown
    
    port ethernet 0 0
      medium auto
      encapsulation ip
      bind interface eth0 router
      no shutdown
    
    port bri 0 0
      clock auto
      encapsulation q921
    
      q921
        permanent-layer2
        protocol pp
        uni-side auto
        encapsulation q931
    
        q931
          protocol dss1
          uni-side net
          bchan-number-order ascending
          encapsulation cc-isdn
          bind interface ISDN1 switch
    
    port bri 0 0
      no shutdown
    
    port bri 0 1
      clock auto
      encapsulation q921
    
      q921
        permanent-layer2
        protocol pp
        uni-side user
        encapsulation q931
    
        q931
          protocol dss1
          uni-side user
          bchan-number-order ascending
          encapsulation cc-isdn
          bind interface ISDN2 switch
    
    port bri 0 1
      no shutdown
    Dernière modification par Alexxxx ; 17/09/2016 à 22h31.

Règles de messages

  • Vous ne pouvez pas créer de nouvelles discussions
  • Vous ne pouvez pas envoyer des réponses
  • Vous ne pouvez pas envoyer des pièces jointes
  • Vous ne pouvez pas modifier vos messages
  •