Re: [asterisk-users] Branch based on call volume

2015-06-28 Thread Matt Riddell
On 27Jun, 2015, at 15:34, Michelle Dupuis mdup...@ocg.ca wrote: Is there a simple way to get call volume from a particular trunk within the dialplan (for conditional branching)? Do you mean large number of calls or how loud the call is? -- Cheers, Matt Riddell

Re: [asterisk-users] Branch based on call volume

2015-06-28 Thread Michelle Dupuis
?I meant how many calls are in progress on a particular trunk. (Sorry - I didn't even think of the other interpretation). From: asterisk-users-boun...@lists.digium.com asterisk-users-boun...@lists.digium.com on behalf of Matt Riddell li...@venturevoip.com

Re: [asterisk-users] Asterisk dialplan best practices syntax

2015-06-28 Thread Ludovic Gasc
2015-06-26 17:11 GMT+02:00 Steve Edwards asterisk@sedwards.com: On Fri, 26 Jun 2015, Ludovic Gasc wrote: 1. What's the official notation of each line: = or = ? In the wiki of Asterisk, I see very often =, however, what's the reason for both syntaxes authorized ? Historical ? I'm not

Re: [asterisk-users] Asterisk dialplan best practices syntax

2015-06-28 Thread Steve Edwards
On Sun, 28 Jun 2015, Ludovic Gasc wrote: It's interesting because from my point of view, I prefer to use '=', because, to me, '=' is for config files. The dialplan is a programming language, not a config file. The only language I'm familiar with (I'm primarily a 'c' guy) that uses '=' is

Re: [asterisk-users] Asterisk dialplan best practices syntax

2015-06-28 Thread Tech Support
Hey; Don't forget Perl. I'm not sure what everyone else calls it, but most Perl programmers call it a fat comma. From Chromatic's Modern Perl book: One of the simplest but most useful examples of TIMTOWTDI in the design of Perl is the fat comma operator (=), which acts like a regular

Re: [asterisk-users] Branch based on call volume

2015-06-28 Thread Matt Riddell
On 28Jun, 2015, at 10:19, Michelle Dupuis mdup...@ocg.ca wrote: ​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