Greetings, is there a way to limit the number of simultaneous call on a trunk?
Regards,
Serverbeach
That Explains It
Erik,
So that is why TL won't try my second trunk when my POTS trunk is already on a call. Can you explain how to configure Group_Count?
Also, when a trunk is down (like not registering with the provider) TL won't try the next trunk when I have outbound routes set to "Dial Out (2 trunks)" It just sits there with silence instead of jumping to the second trunk specified.
Have you heard of a fix for that?
It would be great if you could help me solve these two problems.
Thanks,
Greg
exten =>
exten => s,1,Set(GROUP(callpaths)=${ARG1})
exten => s,n,Set(CDR(accountcode)=${ARG1})
exten => s,n,NoOp(GROUP_COUNT = ${GROUP_COUNT(${ARG1}@callpaths)})
exten => s,n,GotoIf($[${GROUP_COUNT(${ARG1}@callpaths)} > ${ARG2}]?congested)
exten => s,n,PROCEED TO ALLOW CALL
exten => s,n,MacroExit
exten => s,n(congested),Playback(all-circuits-busy-now)
exten => s,n,Hangup
this is an example of outbound calling macro using group count to determine if to allow the call or to play a recording to the caller.
GROUP_COUNT
Good afternoon and thank you for your post. Are you setting the GROUP_COUNT in the Global Variables?
Regards,
Serverbeach
no GROUP_COUNT is a
no GROUP_COUNT is a function. It counts how many current calls are in use for ${GROUP} and I pass ${GROUP} to my macro as ARG1. In my case I create an account code for each customer and use that same number for group counting etc.
maximum no of total calls
Hello
Is this limitation for inbound and outbound calls and what happens if the max number is reached
I would like to limit the max number of all all calls (inbound/outbound/internal) per tenant
is that possible and if so how can we achieve that
Regards
Gert
its all how you code it,
its all how you code it, however, in order to limit internal calls you will have to completely re-write all the extension scripts in thirdlane.
yes using the GROUP_COUNT function