[Devel] Limit calls

Klaus Darilion klaus.mailinglists at pernau.at
Fri Jul 14 15:45:55 CEST 2006


Henrique Ciriaco wrote:
> Hi All,
> 
> I'd like to know if there is any way to limit the number of calls of a 
> certain username.

short answer: no

long answer: openser is not statefull, thus openser does not know if a 
user is currently calling or not. You could use the statistics module of 
the dialog module to count INVITEs and decrease on BYE. But if BYEs get 
lost, your countings will be inaccurate.

Thus, if you really need to limit, you need a call statefull SIP element 
(e.g. Asterisk)


regards
klaus



More information about the Devel mailing list