Home > FreeSWITCH > Using mod_limit with an outbound gateway in FreeSWITCH

Using mod_limit with an outbound gateway in FreeSWITCH

September 29th, 2009 emran Leave a comment Go to comments

The following channel variables are set when mod_limit is called.

  • “limit_realm”
  • “limit_id”
  • “limit_max”

These channel variables are used at hang up to remove the record. More specifically, the delete is limited by uuid, hostname, realm and id.

<extension name=”Outbound Limit”>
        <condition field=”destination_number” expression=”^00″/>
         <action application=”limit” data=”$${domain} gw_PROVIDER PROVIDER_CHANNEL_LIMIT nextgw1″/>
                <action application=”bridge” data=”sofia/gateway/PROVIDER/1$1″/>
                <action application=”transfer” data=”nextgw1″/>
        </condition>
</extension>

Categories: FreeSWITCH Tags:
  1. No comments yet.
  1. No trackbacks yet.
5 visitors online right now
5 guests, 0 members
Max visitors today: 8 at 11:34 pm UTC
This month: 8 at 09-03-2010 11:34 pm UTC
This year: 43 at 06-10-2010 04:02 pm UTC
All time: 43 at 06-10-2010 04:02 pm UTC