Knowledgebase

 
 
Knowledgebase Article
Knowledgebase > Unified Communications > SmartNode > SmartWare


Altigen H.323 SOHO Router
Article Id #: 172

Configuration Description

Generic Altigen H.323 SOHO Router Config

Commande Sequence to copy, edit and paste

cli version 3.00
banner "My Altigen Config"
dns-client enabled
dns-client cache 30
dns-relay
webserver port 80 language en
snmp community public ro
sntp-client
sntp-client server primary 192.43.244.18 port 123 version 4
sntp-client server secondary 63.149.208.50 port 123 version 4
sntp-client gmt-offset - 05:00:00

system

  ic voice 0

profile service-policy rateVoiceIn
  rate-limit 3000 header-length 18 voice-margin 200
  queue-limit 8
  debug queue statistics detail 3

  source traffic-class default

  source traffic-class local-voice
    priority

profile service-policy rateVoiceOut
  rate-limit 256 header-length 18 voice-margin 0
  debug queue statistics detail 3

  source traffic-class local-voice
    priority
    set ip tos 8

  source traffic-class local-default
    priority

  source traffic-class default

profile napt NAPT-ETH0

profile ppp default

profile call-progress-tone US_Dialtone
  play 0 350 -13 440 -13

profile call-progress-tone US_Alertingtone
  play 2000 440 -19 480 -19
  no play 4000

profile call-progress-tone US_Busytone
  play 500 480 -24 620 -24
  no play 500

profile tone-set default

profile tone-set US
  map call-progress-tone dial-tone US_Dialtone
  map call-progress-tone ringback-tone US_Alertingtone
  map call-progress-tone busy-tone US_Busytone
  map call-progress-tone release-tone US_Busytone
  map call-progress-tone congestion-tone US_Busytone

profile voip default
  codec 1 g723-6k3 rx-length 30 tx-length 30
  codec 2 g711alaw64k rx-length 20 tx-length 20
  codec 3 g711ulaw64k rx-length 20 tx-length 20
  dejitter-max-delay 300

profile voip VOIP-IF-Patton
  codec 1 g723-6k3 rx-length 30 tx-length 30

profile voip VOIP-IF-incom
  codec 1 g723-6k3 rx-length 30 tx-length 30
  codec 2 g726-32k rx-length 20 tx-length 20
  codec 3 g729 rx-length 20 tx-length 20
  codec 4 g711ulaw64k rx-length 20 tx-length 20
  codec 5 g711alaw64k rx-length 20 tx-length 20

profile pstn default

profile dhcp-server dhcp_serv
  network 192.168.1.0 255.255.255.0
  include 1 192.168.1.200 192.168.1.254
  lease 60 days
  default-router 1 192.168.1.1
  domain-name-server 1 192.168.1.1

profile authentication default
  method 1 local
  method 2 none

context ip router

  interface eth0
    ipaddress dhcp
    mtu 1480
    icmp router-discovery
    icmp redirect accept
    use profile service-policy rateVoiceIn in
    use profile service-policy rateVoiceOut out
    use profile napt NAPT-ETH0
    tcp adjust-mss rx mtu
    tcp adjust-mss tx mtu

  interface eth1
    ipaddress 192.168.1.1 255.255.255.0
    mtu 1480
    icmp router-discovery
    icmp redirect accept
    tcp adjust-mss rx mtu
    tcp adjust-mss tx mtu

#  dyndns
#    hostname ‹myname›.dyndns.org wildcard
#    authentication ‹myname› ‹mypassword›
#    service dynamic
#    observe eth0

context ip router
  dhcp-server use dhcp_serv

context cs switch

  routing-table called-e164 TAB-outgoing
    route default dest-table TAB-DIGCOL-IF-Patton

  routing-table called-e164 TAB-DIGCOL-IF-incom
    route default dest-interface IF-incom

  routing-table called-e164 TAB-DIGCOL-IF-terminal
    route default dest-interface IF-terminal

  routing-table called-e164 TAB-DIGCOL-IF-Patton
    route default dest-interface IF-Patton

  mapping-table called-e164 to called-e164 FN-RemPrefix
    map ..(.%)$ to \1

  mapping-table called-e164 to calling-e164 FN-COPY-CNPN-TO-CDPN
    map (.%)$ to \1

# Replace ‹Altigen IP›

  interface h323 IF-Patton
    bind gateway h323
    route call dest-interface IF-terminal
    remote ‹Altigen IP› 1720
    use profile voip VOIP-IF-Patton
    use profile tone-set US

  interface h323 IF-incom
    bind gateway h323
    route call dest-interface IF-terminal
    use profile voip VOIP-IF-incom
    use profile tone-set US

  interface fxs IF-terminal
    route call dest-table TAB-DIGCOL-IF-Patton
    caller-id-presentation mid-ring
    use profile tone-set US

  interface fxo IF-FXO
    no disconnect-signal loop-break
    ring-number 5
    dial-after timeout 1
    no use profile tone-set

  service distribution-group IF-Dist

context cs switch
  no shutdown

gateway h323 h323
  bind interface eth0 router
  no shutdown

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

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

port fxs 0 0
  caller-id format bell
  use profile fxs us
  encapsulation cc-fxs
  bind interface IF-terminal switch
  no shutdown

port fxs 0 1
  encapsulation cc-fxs
  no shutdown

User Rating
This answer was helpful This answer was not helpful (8779 vote(s)) 
User Comments  Add a Comment )

 
 
Products
Unified Communications
> VoIP Adapters
> Fax Adapters
> VoIP Gateways
> VoIP Routers
> VoIP IADs - Integrated Access Devices
> Enterprise Session Border Controllers
> Media Gateways
> SS7 Gateways
> Secure End Points (SIP Phones)
> VoIP Public Address & Mass Notification
Software and Cloud
> Virtual SBC | Virtualized SBC
> Virtual Access Router
> VPN Server
> IPv6 IPv4 Converter
> Intelligent Edge Orchestration
> NFV & SDN
Networking & Access
> Ethernet Extenders
> Industrial Switches
> Industrial Ethernet
> Unmanaged Industrial Ethernet Switches
> Managed Industrial Ethernet Switches
> Industrial PoE Switches
> PoE Extenders
> Industrial Network Solutions
> xDSL Products | DSL Modems, DSL VoIP, DSL Router Modems
> Routers
> Dial-Up Access

Sunset Products
 
Datacom Industrial Connectivity
> Industrial PoE Products
> Ethernet Over Fiber
> Line Drivers / Short Range Modems
> Wireline Analog Modems
> Pro AV Live & Media Broadcast Systems
> Fiber Serial DataCom (RS-232/422/530/188C)
> Fiber Telecom (T1/E1/PRI, Analog & ISDN)
> Multiplexers & Sharing Devices
> SFP (Small Form Pluggable) Modules and Kits
> Fiber Alarming, Notification, Relay & Control
> Other Network Extenders
> Defense/Security Fiber Communications
> Baluns
> Surge Protectors & Opto-Isolators
> DataTaps, Testers, Adapters, Rack Kits
> Interface Converters
> Fiber Rack & Enclosure Systems
> Fiber Repeaters & Wavelength Division Multiplexers (WDM)
> Waveguide RF Filters
Media Transport
> Artel Racks & Chassis Infrastructure
> Video Over IP Transport
> Video Over Fiber Transport
> Video, Audio & Data Over Fiber Transport
> Video & Audio Over Fiber Transport
> Ethernet Over Fiber Transport
> Serial DataComm Over Fiber Transport
> Video, Fiber Testers & Splitters
> Wave Division Multiplexers
> Ethernet Switches
> SFP Modules and Kits
 
Sales: [email protected] / +1 301 975 1000
Support: [email protected] / +1 301 975 1007
Join Our Email List
Have Us Contact You
or
Login Connect With Us
X Linkedin Facebook Youtube
 
     Patton LLC Copyright © 2022 All Rights Reserved.

|  Sitemap  |   Legal  |   Privacy Policy  |   Disclaimer  |    X  Facebook  YouTube  LinkedIn  RSS