Hi bogdan, Thanks for the reply... My requirement is as follows: - I want to limit the number of incoming calls per user can receive. - I think, it is possible using the avpops module. But can someone please give me a hint on where to start to implement this. - Now since the dialogue module is out, I dont think there wud be a problem of missing byes as it will terminate the session after a certain timeout. - Is it possible in openser script to somehow set a counter. - for eg. the counter will be set to 2 when any user receives a call and it will be decremented when the same user receives a call again, and when the count for that user is 0, he will receive no more calls. - This counter has to be enabled on a per user basis. - Please let me know if this is possible. - I need to achieve this because otherwise any user can have an 8 port or 24 port gateway registered with my openser and receive so many calls at the same time. I want to avoid this happening.
thanks in advance...... jayesh.
Bogdan-Andrei Iancu bogdan@voice-system.ro wrote: 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
Users mailing list Users@openser.org http://openser.org/cgi-bin/mailman/listinfo/users
--------------------------------- Yahoo! India Answers: Share what you know. Learn something new. Click here Send instant messages to your online friends - NOW