Hunt Group configuration example
Posted by , Last modified by Daniel Lizaola on 14 December 2017 04:24 PM

Configuration Description

Inbound SIP call hunting across 4 FXS interfaces

 

Command Sequence to copy, edit and paste

#-----------------------------------------------------------------#
#                                                                 #
# SMARTWARE 5.X                                                   #
#                                                                 #
# Inbound SIP call hunting across 4 FXS interfaces                #
#                                                                 #
# DATE:   2011-01-05                                              #
# AUTHOR: Thomas Tlapak                                           #
#         PATTON-INALP-NETWORKS; CH-3172 NIEDERWANGEN             #
#         WWW.PATTON.COM    WWW.INALP.COM                         #
#                                                                 #
#                                                                 #
#-----------------------------------------------------------------#

context cs switch

  routing-table called-e164 RT_OUT
    route .T dest-interface IF_SIP

  interface sip IF_SIP
    route call dest-service SERV_HG
# Enter below the SIP server / Softswitch IP address or FQDN
    remote <0.0.0.0>

  interface fxs IF_FXS_00
    route call dest-table RT_OUT
    subscriber-number 111

  interface fxs IF_FXS_01
    route call dest-table RT_OUT
    subscriber-number 222

  interface fxs IF_FXS_02
    route call dest-table RT_OUT
    subscriber-number 333

  interface fxs IF_FXS_03
    route call dest-table RT_OUT
    subscriber-number 444

  service hunt-group SERV_HG
    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_FXS_00
    route call 2 dest-interface IF_FXS_01
    route call 3 dest-interface IF_FXS_02
    route call 4 dest-interface IF_FXS_03

context cs switch
  no shutdown

(8748 vote(s))
Helpful
Not helpful

Comments (0)
Post a new comment
 
 
Full Name:
Email:
Comments:
CAPTCHA Verification 
 
Please enter the text you see in the image into the textbox below (we use this to prevent automated submissions).