All pastes #22375 Raw Edit

Limit calls

public ini v1 · immutable
#22375 ·published 2005-09-08 11:05 UTC
rendered paste body
exten => _XX.,1,SetGroup(21)                             ; Put this call in group 21exten => _XX.,2,GetGroupCount(21)                        ; Count the number of calls in group 21exten => _XX.,3,Gotoif,"$[${GROUPCOUNT} < 33]?4:9"       ; If <33 then allow the callexten => _XX.,4,SetCAllerID(${CALLERIDNUM})              ; Set The caller IDexten => _XX.,5,Dial(....to your provider/${EXTEN})      ; Do the Dialy stuffexten => _XX.,6,Congestion                               ; Game Overexten => _XX.,9,Congestion                               ; Too Many calls