You can set some kind of counter in the dial plan, call an AGI script, use func_odbc to make database calls, or otherwise achieve this programatically.
-- Sent from mobile device On Sep 17, 2009, at 1:16 AM, Patrick <[email protected]> wrote: > Hello guys, > > I've one SIP trunk that support multiple DID. Only the trunk is > documented in sip.conf (called DID is taken from the sip-header in > real time). > I would like to limit the number of simultaneous calls on each DID. Is > there a way to achieve this ? > My understanding is that the SIP configuration parameter > "limitonpeers" will limit at the trunk level, right ? > > Thanks in advance > Patrick > > _______________________________________________ > -- Bandwidth and Colocation Provided by http://www.api-digital.com -- > > AstriCon 2009 - October 13 - 15 Phoenix, Arizona > Register Now: http://www.astricon.net > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users _______________________________________________ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- AstriCon 2009 - October 13 - 15 Phoenix, Arizona Register Now: http://www.astricon.net asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
