Knowledgebase

 
 
Knowledgebase Article
Knowledgebase > Unified Communications > SmartNode > SmartWare


FXO To SIP TRUNK (with HUNT) Full configuration
Article Id #: 170

Configuration Description

The following will take calls in the FXO port, and send it out sip. It will also take calls in SIP and then hunt across all the FXO ports to find a open port This config also contains the USA tonesets, you can change that as needed for local tones. Finally, if you choose to use DNS names in the SIP interfaces or in the SIP gateway, you will need to specify a DNS server for any config to work.

 

Commande Sequence to copy, edit and paste

#----------------------------------------------------------------#
#                                                                #
# SN4114/JO/EUI                                                  #
# R5.X                                                           #
#     Config description above on Config library page            #
#                                                                #
#----------------------------------------------------------------#

cli version 3.20
webserver port 80 language en
sntp-client
sntp-client server primary 192.168.41.20 port 123 version 4

system

  ic voice 0
    low-bitrate-codec g729

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
pause 4000

profile call-progress-tone US_Busytone
play 500 480 -24 620 -24
pause 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 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 eth0
    ipaddress dhcp
    tcp adjust-mss rx mtu
    tcp adjust-mss tx mtu

context cs switch
  digit-collection timeout 2

  interface sip IF_SIP
    bind context sip-gateway GW_SIP
    route call dest-service FXO-HUNT-OUT
# Set below the server IP address
    remote <remote IP>

  interface fxo IF_FXO_00
    route call dest-interface IF_SIP
    use profile tone-set US

  interface fxo IF_FXO_01
    route call dest-interface IF_SIP
    use profile tone-set US

  interface fxo IF_FXO_02
    route call dest-interface IF_SIP
    use profile tone-set US

  interface fxo IF_FXO_03
    route call dest-interface IF_SIP
    use profile tone-set US

  service hunt-group FXO-HUNT-OUT
    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_FXO_00
    route call 2 dest-interface IF_FXO_01
    route call 3 dest-interface IF_FXO_02
    route call 4 dest-interface IF_FXO_03

context sip-gateway GW_SIP

  interface IF_GWSIP
    bind interface eth0 context router port 5060

context sip-gateway GW_SIP
  no shutdown

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

port fxo 0 0
  use profile fxo us
  caller-id format bell
  encapsulation cc-fxo
  bind interface IF_FXO_00 switch
  no shutdown

port fxo 0 1
  use profile fxo us
  caller-id format bell
  encapsulation cc-fxo
  bind interface IF_FXO_01 switch
  no shutdown

port fxo 0 2
  use profile fxo us
  caller-id format bell
  encapsulation cc-fxo
  bind interface IF_FXO_02 switch
  no shutdown

port fxo 0 3
  use profile fxo us
  caller-id format bell
  encapsulation cc-fxo
  bind interface IF_FXO_03 switch
  no shutdown

User Rating
This answer was helpful This answer was not helpful (8780 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