[asterisk-dev] Deprecating sip call-limit
Pavel Jezek
pavel.jezek at i.cz
Tue Nov 20 16:13:26 CST 2007
I'm glad, that you start this discusion, because I think call limits are
now implemented in way, that can be source of confusion for people using
asterisk,
we have now three similar options for configuring:
call-limit, limitonpeer, busylevel, or even dialplan functions like
GROUP_COUNT() etc...
maybe current trunk contain bug, maybe it's my misuse, but currently
it's not working good and clearly, see my bugreport
http://bugs.digium.com/view.php?id=11304
some example or inspiration from cisco callmanager, that use only two
simple options per phone to controll all this limits:
"max calls" to set limit for making calls from or to phone,
"busy triger" to set treshold, for busy indication, when reached
both options doesn't differentiate between incomming/outgoing calls,
but it's just enough, most people want be able to place as many calls as
they want (max calls), and indicate busy, when they have call (busy
trigger),
eg. when busy trigger is set to '1' it efectively disable callwaiting on
phone
I think, it will be really nice, if we have some similar options, for
configuring call limits in phone definitions, i.e without need to use
special diaplan logic for this.
PJ
Johansson Olle E wrote:
> Friends,
>
> Blitzrage and I had a discussion about busylevel and call-limit in
> chan_sip on the IRC I wanted to expand to the rest of you deveopers
> out there...
>
>
> My proposal in this discussion was:
>
> - deprecate call-limit in chan_sip. No other channel driver has a
> built-in call limit
> and we now favour groupcount and dialplan control instead of
> embedding this
> into channel drivers.
> The call-limit is history that has survived too long.
>
> - implement a new option to enable call counters for the subscribe/
> notify event system in chan_sip (channel specific)
>
> - implement busy-level in more channel drivers
>
> - implement a DEVICE() dial plan function that is cross-channel, like
> CHANNEL(),
> so we can check busylevel in chan_iax2 and other channels that can
> handle multiple
> channels per device. Busylevel can now be checked in the SIPPEER()
> function only.
>
>
> I know this is a lot of stuff at the same time, but it kind of belongs
> together.
>
> /O
>
> _______________________________________________
> --Bandwidth and Colocation Provided by http://www.api-digital.com--
>
> asterisk-dev mailing list
> To UNSUBSCRIBE or update options visit:
> http://lists.digium.com/mailman/listinfo/asterisk-dev
>
More information about the asterisk-dev
mailing list