Re: [asterisk-users] Call preemption

2017-11-09 Thread Jean Aunis
The task itself sounds like a job for an AGI script to me... check for amount of calls, if 10, hangup one. But how do you determine the priority of a call? Am 07.11.2017 um 12:21 schrieb Jean Aunis: Hello, Has anyone already implemented some sort of call preemption in Asterisk ? I am tryi

Re: [asterisk-users] Call preemption

2017-11-09 Thread Jean Aunis
Le 08/11/2017 à 20:35, John Kiniston a écrit : The easiest thing to do might be to limit the peer to 11 calls in your sip.conf or pjsip.conf and then use the GROUP and GROUP_COUNT functions to limit the extension to 10 concurrent calls, Then when you get call #11 who is high priority you can al

Re: [asterisk-users] Call preemption

2017-11-08 Thread John Kiniston
The easiest thing to do might be to limit the peer to 11 calls in your sip.conf or pjsip.conf and then use the GROUP and GROUP_COUNT functions to limit the extension to 10 concurrent calls, Then when you get call #11 who is high priority you can allow it through or otherwise return busy. https://w

Re: [asterisk-users] Call preemption

2017-11-08 Thread Steve Edwards
Please don't top-post. On Wed, 8 Nov 2017, Markus wrote: The task itself sounds like a job for an AGI script to me... check for amount of calls, if 10, hangup one. But how do you determine the priority of a call? Am 07.11.2017 um 12:21 schrieb Jean Aunis: Hello, Has anyone already impleme

Re: [asterisk-users] Call preemption

2017-11-08 Thread Markus
The task itself sounds like a job for an AGI script to me... check for amount of calls, if 10, hangup one. But how do you determine the priority of a call? Am 07.11.2017 um 12:21 schrieb Jean Aunis: Hello, Has anyone already implemented some sort of call preemption in Asterisk ? I am trying

[asterisk-users] Call preemption

2017-11-07 Thread Jean Aunis
Hello, Has anyone already implemented some sort of call preemption in Asterisk ? I am trying to achieve something like this : - I want to limit the number of calls on a given SIP peer to 10 - on the other hand, some calls have higher priority than others - when the ceiling of 10 calls is rea