Branch Based On Call Volume
Is there a simple way to get call volume from a particular trunk within the dialplan (for conditional branching)?
I suspect we will have to build an AGI script but I’m hoping something new in Asterisk 13
Is there a simple way to get call volume from a particular trunk within the dialplan (for conditional branching)?
I suspect we will have to build an AGI script but I’m hoping something new in Asterisk 13
4 thoughts on - Branch Based On Call Volume
Do you mean large number of calls or how loud the call is?
?I meant how many calls are in progress on a particular trunk. (Sorry – I didn’t even think of the other interpretation).
Then yeah group and group count functions:
https://wiki.asterisk.org/wiki/display/AST/Function_GROUP <https://wiki.asterisk.org/wiki/display/AST/Function_GROUP>
https://wiki.asterisk.org/wiki/display/AST/Function_GROUP_COUNT <https://wiki.asterisk.org/wiki/display/AST/Function_GROUP_COUNT>
Just in case you’re wondering, the function to change the loudness of a channel is volume 🙂
https://wiki.asterisk.org/wiki/display/AST/Function_VOLUME <https://wiki.asterisk.org/wiki/display/AST/Function_VOLUME>
You could do a core show channels and grep it for the peer name.
Ish