SmartNode Call Limiter configuration
Posted by , Last modified by Daniel Lizaola on 14 December 2017 04:27 PM

Configuration Description

The call-router ‘limiter’ service limit offers with a flexible technique to limit the maximum number of concurrent calls. It also limits the call-setup rate within a system. Calls exceeding the defined limits can either be simply dropped or they can be handled differently. A call is counted as an active call as soon as the call-setup message reaches the limiter service. The call remains active until the signaling has completed tearing down the call.


Commande Sequence to copy, edit and paste 

#-----------------------------------------------------------------#
#                                                                 #
# SMARTWARE 5.X                                                   #
#                                                                 #
# Service Limiter config example                                  #
#                                                                 #
# Similarly the call-setup-rate could be limited by using the     #
# ‘exceed max-call-rate’ instead of the ‘exceed maxcalls’ command #
# in the limiter-port configuration mode. There is no limitation  #
# on the number of ports a limiter can have. You can create as    #
# many as you need for your application.                          #
#                                                                 #
# DATE:   2011-01-05                                              #
# AUTHOR: Thomas Tlapak                                           #
#         PATTON-INALP-NETWORKS; CH-3172 NIEDERWANGEN             #
#         WWW.PATTON.COM    WWW.INALP.COM                         #
#                                                                 #
#                                                                 #
#-----------------------------------------------------------------#

context cs switch

interface isdn VOICEMAIL

interface isdn LOCALEXCHANGE
  route call dest-service mylimiter.inbound

interface sip IF_SIP
  bind context sip-gateway GW_SIP
  route call dest-service mylimiter.outbound
# Enter below the IP of the softswitch / sip server
  remote <0.0.0.0>

service limiter mylimiter
  max-calls 20
 
  port inbound
  route call dest-interface IF_SIP
  exceed max-calls route call dest-interface VOICEMAIL
 
  port outbound
  route call dest-interface LOCALEXCHANGE

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).