[Users] limiting number of calls

Bogdan-Andrei Iancu bogdan at voice-system.ro
Tue May 9 18:38:12 CEST 2006


Hi,

the dialog module functionality is yet simple - it can monitor the call 
(catching BYEs and other sequential requests); if no BYE is received, 
the dialog will expire after a defined timeout.

it can count the number of calls, but globally and not per user.

regards,
bogdan

Jayesh Nambiar wrote:

> Hi,
> how can the dialog module help prevent the issue of missing BYEs?? Is 
> dialog module capable of monitoring the sessions going on in openser.
> I also wanted to ask that if i try limiting the no. of calls that per 
> user can receicve how do i match the invite with the byes.
> for eg: I may allow some users to have 5 incoming calls and other 2 
> and so on. So, I'll have to store that value in the DB table 
> somewhere, and when a user receives a call, this column will be 
> checked and the value should be decremented when he receives the 
> invite message.
> But how do i again increment the value, when the user receives bye. I 
> mean how do i write the logic to match the invite and byes so as to 
> increment and decrement the simultaneous calls value.
>  
> please help me regarding this....
>  
> thanks in advance.
>  
> jayesh.
>
> ------------------------------------------------------------------------
> Yahoo! India Answers: Share what you know. Learn something new. Click 
> here 
> <http://us.rd.yahoo.com/mail/in/mailanswers/*http://in.answers.yahoo.com>
>
>------------------------------------------------------------------------
>
>_______________________________________________
>Users mailing list
>Users at openser.org
>http://openser.org/cgi-bin/mailman/listinfo/users
>  
>





More information about the Users mailing list