Hello Antony, 

Following the responses to your queries.  

1. How is this DID connected to your system?  Is it on a trunk where other
DIDs also receive calls, or is it on a dedicated connection for the DID only?

-  DID is connected on a single trunk where other DIDs also will receive the calls.  it is not a dedicated connection. 

2. How does a DID relate to outbound calls?  If you mean "restrict the number
of simultaneous calls presenting a certain caller ID" then I doubt that this
is possible.

-  I just want to limit the total number of calls (inbound + outbound)  using the same DID .  For example:   If my DID is 920034576  , if i receive  a call to this DID then one channel is counted ,     at the same time  if i make a call using this DID  like the following 
<action application="bridge" data=" {origination_caller_id_name=OfficeDID ,origination_caller_id_number= +966 920034576  }sofia/gateway/SLTGateway/$1"/>
  This case it will count 2 calls as total - 1 incoming and 1 outgoing using same DID.   
  This total calls should be limited to 10 . 


Thanks and Regards
Rasheed



On Mon, Feb 21, 2022 at 7:12 PM Antony Stone <Antony.Stone@freeswitch.open.source.it> wrote:
On Monday 21 February 2022 at 12:58:24, Rasheed Kalapurackal wrote:

> Hello ,
>
> Is it possible to limit the total number of inbound + outbound calls made
> or received  on a specific DID number to 10 ?

1. How is this DID connected to your system?  Is it on a trunk where other
DIDs also receive calls, or is it on a dedicated connection for the DID only?

2. How does a DID relate to outbound calls?  If you mean "restrict the number
of simultaneous calls presenting a certain caller ID" then I doubt that this
is possible.


Antony.

--
If the human brain were so simple that we could understand it,
we'd be so simple that we couldn't.

                                                   Please reply to the list;
                                                         please *don't* CC me.

_________________________________________________________________________

The FreeSWITCH project is sponsored by SignalWire https://signalwire.com
Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services.
Build your next product on our scalable cloud platform.

Join our online community to chat in real time https://signalwire.community

Professional FreeSWITCH Services
sales@freeswitch.com
https://freeswitch.com

Official FreeSWITCH Sites
https://freeswitch.com/oss
https://freeswitch.org/confluence
https://cluecon.com

FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
https://freeswitch.com