User Tools

Site Tools


smg-1016

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Last revision Both sides next revision
smg-1016 [2013/02/15 09:00]
val
smg-1016 [2014/12/10 09:04]
val [Настройка плана нумерации]
Line 16: Line 16:
  
 ===== Настройка VoIP параметров ===== ===== Настройка VoIP параметров =====
 +<​code>​
 +Маршрутизация
 +  Интерфейсы SIP
 +    Режим: SIP
 +    IP адрес: 192.168.1.10
 +    Порт: 5060    ​
 +</​code>​
 +
 +===== Настройка Е1 параметров =====
 +<​code>​
 +Потоки Е1->​Поток 0->
 +  Протокол сигнализации:​ Q.931 (User)
 +  Включён:​ yes
 +</​code>​
 +
 +===== Настройка маршрутизации звонков =====
 +<​code>​
 +Маршрутизация
 +  Транк группы
 +    Название:​ Asterisk
 +      N: 0
 +      Состав группы:​ SIP-interface00
 +    Название:​ PBX
 +      N: 1
 +      Состав группы:​ Q.931 [0]
 +</​code>​
 +
 +===== Настройка плана нумерации =====
 +<​code>​
 +Планы нумерации
 +  План нумерации # 0
 +    Название:​ ToAsterisk
 +      Транк группа:​ Asterisk
 +      (4XX) для CdPN
 +    Название:​ ToPBX
 +      Транк группа:​ PBX
 +      (1XX) для CdPN
 +</​code>​
  
 ===== Отладка через Syslog ===== ===== Отладка через Syslog =====
Line 25: Line 63:
 <​code>​ <​code>​
  
 +</​code>​
 +
 +===== Дополнительные материалы =====
 +
 +==== Пример конфигурации ====
 +<​code>​
 +SMG-config:
 +  Version: 3
 +  E1:
 +    0:
 +      off: no
 +      line_code: hdb3
 +      equalizer: off
 +      crc4: off
 +      slipInd: off
 +      slipTO: 5sec
 +      signaling: Q.931-u
 +      alarm_ind: off
 +      remote_alarm_ind:​ off
 +    1:
 +      off: yes
 +   ...
 + 15:
 +      off: yes
 +      ...
 +  PRI:
 +    0:
 +      lapd:
 +        idx: 0
 +        T200: 10
 +        T203: 150
 +        N200: 3
 +        TEI: 0
 +      q931:
 +        trunk: 1
 +        accs-cat: 0
 +        numplan: 0
 +        SendEndOfDial:​ no
 +        SendDialTone:​ no
 +        SendCatAON: no
 +        ChanOrder: successive_forward
 +        called_plan_id:​ isdn
 +        cat_aon: 7
 +        RestartIntfDisable:​ no
 +        RestartChanDisable:​ no
 +        QSIG: off
 +        Start_invokeID:​ 22000
 +        CORNET: off
 +        CORNET-HICOM350:​ off
 +      channels:
 +        0: off
 +        16: off
 +  SS7:
 +    1:
 +      linkset: none
 +   ...
 +    15:
 +      linkset: none
 +   ...
 +  TrunkGroup:
 +    0:
 +      name: TrunkGroup00
 +      disable_out:​ no
 +      disable_in: no
 +      local: no
 +      inmodclg: none
 +      inmodcld: none
 +      outmodclg: none
 +      outmodcld: none
 +      direct_pfx: 1
 +      rad_profile:​ none
 +      reserved_trunk:​ none
 +      entry_type: SIPT
 +      entry_idx: 0
 +    1:
 +      name: TrunkGroup01
 +      disable_out:​ no
 +      disable_in: no
 +      local: no
 +      inmodclg: none
 +      inmodcld: none
 +      outmodclg: none
 +      outmodcld: none
 +      direct_pfx: 0
 +      rad_profile:​ none
 +      reserved_trunk:​ none
 +      entry_type: Q.931
 +      entry_idx: 0
 +  SyncInfo:
 +    to_up: 5
 +    to_down: 5
 +  SIPTinterface:​
 +    0:
 +      name: SIP-interface00
 +      ID: 1
 +      mode: SIP
 +      trunk: 0
 +      accs-cat: 0
 +      numplan: 0
 +      auth_name: ​
 +      auth_pass: ​
 +      username: ​
 +      sipdomain: ​
 +      regexpire: 300
 +      cgpn_replace:​ no
 +      trunkregister:​ none
 +      ip: 192.168.1.10
 +      port: 5060
 +      stunuse: no
 +      stunip: 0.0.0.0
 +      stunport: 3478
 +      stunperiod: 60
 +      codecs:
 +        0:
 +          codec: G711.A
 +          ptype: 8
 +          pte: 30
 +        1:
 +          codec: G711.U
 +          ptype: 0
 +          pte: 30
 +      max_active: 0
 +      vad: no
 +      ecan: off
 +      gain_rx: 0
 +      gain_tx: 0
 +      dscp_rtp: 0
 +      dscp_sig: 0
 +      rtcp_period:​ 0
 +      rtcp_ctrl: 0
 +      dtmf_type: inband
 +      dtmf_pt: 101
 +      dtmf_ct: 0
 +      cci: off
 +      FAXdetect: none
 +      FAXmode: none
 +      T38MaxBitRate:​ no_limit
 +      T38RateManagment:​ localTCF
 +      T38FillBitRemoval:​ off
 +      T38Redundancy:​ 0
 +      T38Pte: 0
 +      VBDenable: no
 +      VBDcodec: G711.A
 +      VBDpt: 0
 +      Jitter_mode:​ adaptive
 +      Jitter_min: 0
 +      Jitter_init:​ 0
 +      Jitter_max: 200
 +      Jitter_vbd: 0
 +      Jitter_delete_threshold:​ 500
 +      Jitter_adopt_period:​ 10000
 +      Jitter_delete_mode:​ soft
 +      Jitter_adjust_mode:​ non-immediately
 +      RTPcontrol: 0
 +      RTPsilence: 0
 +      SessionExpires:​ 0
 +      MinSE: 0
 +      Refresher: uac
 +      Redirection:​ disable
 +      REFER: disable
 +      Rport: disable
 +      Reliable1xx:​ disable
 +      Options: disable
 +      PeriodOptions:​ 0
 +      NAT: no
 +      SourceVerify:​ no
 +      Inband183: no
 +      RedirServer:​ no
 +      EarlyRTP: no
 +      SDPin18x: no
 +  SiptConfig:
 +    port: 5060
 +    transport: UDP-only
 +    T1: 5
 +    T2: 40
 +    T4: 50
 +    CauseCodesKZ:​ off
 +    Interworking:​ no
 +    DBsave: no
 +    DBperiod: 1hour
 +  Ports:
 +    start: 50000
 +    range: 10000
 +  UA-link: {}
 +  Syslog:
 +    ipaddr: 192.168.1.10
 +    port: 514
 +    alarm: 0
 +    calls: 0
 +    isup: 0
 +    sipt: 1
 +    q931: 0
 +    rtp: 0
 +    msp: 0
 +    radius: 0
 +    sorm: 0
 +  ...
 +  ETH_interfaces:​
 +    0:
 +      eth_lable: ​
 +      eth_ethnum: 0
 +      eth_ipaddr: 192.168.1.2
 +      eth_netmask:​ 255.255.255.0
 +      eth_VID: 0
 +      eth_COS: 0
 +      eth_alias: 0
 +      eth_dhcp: no
 +      eth_dfgw: no
 +      eth_dns: no
 +      eth_ntp: no
 </​code>​ </​code>​
smg-1016.txt · Last modified: 2021/08/24 12:49 by val