Knowledgebase

 
 
Knowledgebase Article
Knowledgebase > Unified Communications > SmartNode > SmartWare


BroadVoice Long Distance FXS or FXO to PBX
Article Id #: 173

Configuration Description

SN4528 R5.X -should also load in any SN452x

- ignore errors for missing ports

- uncommment lines in SVC-DG-BROADVOICE for ports used)

- Replace with telephone number

- Replace ‹PASSWORD› with Password

- Replace ‹SMARTNODE IP = x.x.x.x› with SmartNode IP

- Replace ‹GATEWAY IP = x.x.x.x› with Gatway IP -Replace ‹DNS IP = x.x.x.x› with DNS IP

- Uncommment lines in SVC-DG-BROADVOICE for ports used

 

Command Sequence to copy, edit and paste

#----------------------------------------------------------------#
#                                                                #
# SN4528                                                         #
# R5.X                                                           #
#                                                                #
# -should also load in any SN452x                                #
# -ignore errors for missing ports                               #
# -uncommment lines in SVC-DG-BROADVOICE for ports used)         #
# -Replace <user-id> with telephone number                       #
# -Replace ‹PASSWORD› with Password                              #
# -Replace ‹SMARTNODE IP = x.x.x.x› with SmartNode IP            #
# -Replace ‹GATEWAY IP = x.x.x.x› with Gatway IP                 #
# -Replace ‹DNS IP = x.x.x.x› with DNS IP                        #
# -Uncommment lines in SVC-DG-BROADVOICE for ports used          #
#                                                                #
# DATE:   2010-06-01                                             #
# AUTHOR: Thomas Tlapak                                          #
#         PATTON-INALP-NETWORKS; CH-3172 NIEDERWANGEN            #
#         WWW.PATTON.COM    WWW.INALP.COM                        #    
#                                                                #
#----------------------------------------------------------------#

cli version 3.00
banner "BroadVoice Long Distance FXS or FXO to PBX"
dns-client server ‹DNS IP = x.x.x.x›
dns-client enabled
dns-client cache 150
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

system

  ic voice 0

profile ppp default

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

profile call-progress-tone US_Alertingtone
  play 1 2000 440 -19 480 -19
  pause 2 4000

profile call-progress-tone US_Busytone
  play 1 500 480 -24 620 -24
  pause 2 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 voip VOIP-BroadVoice
  codec 1 g711alaw64k rx-length 20 tx-length 20
  codec 2 g711ulaw64k rx-length 20 tx-length 20
  no dtmf-relay
  no dtmf-mute-encoder
  dejitter-max-delay 200

profile pstn default

profile sip default

profile authentication default
  method 1 local
  method 2 none

context ip router

  interface eth0
    ipaddress ‹SMARTNODE IP = x.x.x.x›

  interface eth1
    ipaddress 192.168.1.1 255.255.255.0

context ip router
  route 0.0.0.0 0.0.0.0 ‹GATWEAY IP = x.x.x.x› 0

context cs switch

  routing-table called-e164 TAB-SIP-OUTGOING
    route 011.T dest-interface IF-BroadVoice
    route 1.......... dest-interface IF-BroadVoice
    route 240....... dest-interface IF-BroadVoice
    route 301....... dest-interface IF-BroadVoice
    route default dest-interface IF-BroadVoice

  routing-table called-e164 TAB-IN-BROADVOICE
    route default dest-service SVC-DG-BROADVOICE

  routing-table called-e164 TAB-IN-PBX
    route default dest-interface IF-BroadVoice

  interface sip IF_SIP
    bind context sip-gateway GW_SIP
    route call dest-table TAB-IN-BROADVOICE
    remote proxy.mia.broadvoice.com
    address-translation outgoing-call from-header user-part fix <user-id> host-part fix sip.broadvoice.com
    address-translation outgoing-call to-header user-part call host-part domain
    use profile voip VOIP-BroadVoice

  interface fxs IF_FXS_00
    route call dest-table TAB-SIP-OUTGOING
    no call-hold
    no call-waiting
    caller-id-presentation mid-ring
    use profile tone-set US

  interface fxs IF_FXS_01
    route call dest-table TAB-SIP-OUTGOING
    no call-hold
    no call-waiting
    caller-id-presentation mid-ring
    use profile tone-set US

  interface fxs IF_FXS_02
    route call dest-table TAB-SIP-OUTGOING
    no call-hold
    no call-waiting
    caller-id-presentation mid-ring
    use profile tone-set US

  interface fxs IF_FXS_03
    route call dest-table TAB-SIP-OUTGOING
    no call-hold
    no call-waiting
    caller-id-presentation mid-ring
    use profile tone-set US

  interface fxo IF_FXO_00
    route call dest-service SVC-DIALTONE
    disconnect-signal battery-reversal
    no disconnect-signal loop-break
    disconnect-signal busy-tone
    connect-signal battery-reversal
    ring-number on-caller-id
    mute-dialing
    use profile tone-set US

  interface fxo IF_FXO_01
    route call dest-service SVC-DIALTONE
    disconnect-signal battery-reversal
    no disconnect-signal loop-break
    disconnect-signal busy-tone
    connect-signal battery-reversal
    ring-number on-caller-id
    mute-dialing
    use profile tone-set US

  interface fxo IF_FXO_02
    route call dest-service SVC-DIALTONE
    disconnect-signal battery-reversal
    no disconnect-signal loop-break
    disconnect-signal busy-tone
    connect-signal battery-reversal
    ring-number on-caller-id
    mute-dialing
    use profile tone-set US

  interface fxo IF_FXO_03
    route call dest-service SVC-DIALTONE
    disconnect-signal battery-reversal
    no disconnect-signal loop-break
    disconnect-signal busy-tone
    connect-signal battery-reversal
    ring-number on-caller-id
    mute-dialing
    use profile tone-set US

  service distribution-group SVC-DG-BROADVOICE
    max-concurrent 1
    route call 1 dest-interface IF_FXO_00
#    route call 1 dest-interface IF_FXO_01
#    route call 1 dest-interface IF_FXO_02
#    route call 1 dest-interface IF_FXO_03

  service second-dialtone SVC-DIALTONE
    route call dest-table TAB-SIP-OUTGOING
    use profile tone-set US

context cs switch
  no shutdown

authentication-service AUTH_SVC
  username <user-id> password <password>

location-service LOCATION_SVC
  domain 1 <IP or Domain>

  identity <user-id>

    authentication outbound
      authenticate 1 authentication-service AUTH_SVC username <user-id>

    registration outbound
      registrar 1 <IP or Domain>
      register auto

context sip-gateway GW_SIP

  interface IF_GW_SIP
    bind interface eth0 context router port 5062

context sip-gateway GW_SIP
  bind location-service LOCATION_SVC
  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_FXS_00 switch
  no shutdown

port fxs 0 1
  shutdown

port fxs 0 2
  shutdown

port fxs 0 3
  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 (8852 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 © 2025 All Rights Reserved.

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