Hi,
Is there a way to limit the number of simultaneous calls ? According the provider, the bandwith will not permit a lot of simultaneous call so in order to prevent very bad feeling I prefer to limit the use.
In a second step, I wondering if this type of restriction can be extended according the phone domain. For example, simultaneous call betwwen two sub-sites of the same enterprise is limited to 10 but all others a limited to 5 for example.
I know the ACC module but it's not the one fot this even if the information stored could resolve this point. Perhaps another module already exist ?
Thanks, Christophe
Hello,
On 07-12-2005 14:21, Christophe Irles wrote:
Hi,
Is there a way to limit the number of simultaneous calls ? According the provider, the bandwith will not permit a lot of simultaneous call so in order to prevent very bad feeling I prefer to limit the use.
The proxy cannot do this because it does not know about calls in progress. I am not sure if mediaproxy module can do this based on some input from mediaproxy relay, check the documentation.
In a second step, I wondering if this type of restriction can be extended according the phone domain. For example, simultaneous call betwwen two sub-sites of the same enterprise is limited to 10 but all others a limited to 5 for example.
I know the ACC module but it's not the one fot this even if the information stored could resolve this point. Perhaps another module already exist ?
I am not aware of any such module.
Jan.
We have implemented limits as a Radius control... take a look on the 'Exec-Program-Wait' attribute. We use the free-RADIUS package and write some scripts that consult the ACC DB, looking for INVITES without BYES 'from' or 'to' the envolved users... In this way we can limit to 1 the simultaneous calls 'from' or 'to' each user.
Edson
-----Original Message----- From: serusers-bounces@iptel.org [mailto:serusers-bounces@iptel.org] On Behalf Of Jan Janak Sent: quarta-feira, 7 de dezembro de 2005 12:49 To: Christophe Irles Cc: Ser Users (E-mail); OpenSER (E-mail) Subject: Re: [Serusers] Limit simultaneous calls
Hello,
On 07-12-2005 14:21, Christophe Irles wrote:
Hi,
Is there a way to limit the number of simultaneous calls ? According the provider, the bandwith will not permit a lot of simultaneous call so in order to prevent very bad feeling I prefer to limit the use.
The proxy cannot do this because it does not know about calls in progress. I am not sure if mediaproxy module can do this based on some input from mediaproxy relay, check the documentation.
In a second step, I wondering if this type of restriction can be
extended
according the phone domain. For example, simultaneous call betwwen two sub-sites of the same enterprise is limited to 10 but all others a
limited
to 5 for example.
I know the ACC module but it's not the one fot this even if the
information
stored could resolve this point. Perhaps another module already exist ?
I am not aware of any such module.
Jan.
Serusers mailing list Serusers@iptel.org http://mail.iptel.org/mailman/listinfo/serusers
Hello,
you need to keep the state of the call. Openser is only transactional stateful, not call stateful. You can develop a quick solution that will query the mysql acc table and see how many INVITEs without BYEs are there, but this solution is not reliable, if the caller or callee experienced a network failure (BYE is never sent).
Cheers, Daniel
On 12/07/05 15:21, Christophe Irles wrote:
Hi,
Is there a way to limit the number of simultaneous calls ? According the provider, the bandwith will not permit a lot of simultaneous call so in order to prevent very bad feeling I prefer to limit the use.
In a second step, I wondering if this type of restriction can be extended according the phone domain. For example, simultaneous call betwwen two sub-sites of the same enterprise is limited to 10 but all others a limited to 5 for example.
I know the ACC module but it's not the one fot this even if the information stored could resolve this point. Perhaps another module already exist ?
Thanks, Christophe
Users mailing list Users@openser.org http://openser.org/cgi-bin/mailman/listinfo/users
On Mon, Dec 12, 2005 at 12:42:51PM +0200, Daniel-Constantin Mierla wrote:
Hi,
you need to keep the state of the call. Openser is only transactional stateful, not call stateful. You can develop a quick solution that will query the mysql acc table and see how many INVITEs without BYEs are there, but this solution is not reliable, if the caller or callee experienced a network failure (BYE is never sent).
Does this problem also occur if only on of them (caller _or_ callee fails)? Wouldn't the other one send a BYE after a specific time without RTP activity?
bye /gst
If one of the client sends a BYE, and you also account failed transactions, then there will be a BYE in the accounting data. But you never may be 100% sure that there will be a BYE request (except the call is terminated by a gateway which sends the BYE after timeout).
klaus
Guenther Starnberger wrote:
On Mon, Dec 12, 2005 at 12:42:51PM +0200, Daniel-Constantin Mierla wrote:
Hi,
you need to keep the state of the call. Openser is only transactional stateful, not call stateful. You can develop a quick solution that will query the mysql acc table and see how many INVITEs without BYEs are there, but this solution is not reliable, if the caller or callee experienced a network failure (BYE is never sent).
Does this problem also occur if only on of them (caller _or_ callee fails)? Wouldn't the other one send a BYE after a specific time without RTP activity?
bye /gst
Users mailing list Users@openser.org http://openser.org/cgi-bin/mailman/listinfo/users