[Users] Re: Restricting number of concurrent calls in openser?

Ovidiu Sas sip.nslu at gmail.com
Wed Jun 6 22:33:44 CEST 2007


Hi Axel,

For each INVITE (not reINVITE) you will need to set the flag specified
via the params.  Like this, you will have a dialog per call.  Then you
can use your logic to restrict the number of concurrent calls.


Regards,
Ovidiu Sas

On 6/6/07, Axel Dahl <junk at alf2.com> wrote:
>
>  Has anyone managed to restrict the number of concurrent calls on an openser
> box?
>
>  I'm using openser 1.1.1 and found on the web that this was needed.
>
>  I've included the dialog.so and avpops.so modules.
>
>
>
>    if ( avp_check("$DLG_count", "gt/i:10") ) {
>        sl_send_reply("403","no more calls accepted");
>        exit;
>     }
>  I'm not sure if I've configured the dialog.so module correctly, the
> documentation tells you what each function does, but not what the parameters
> mean (for example the documentation says dlg_flg default value is "none" and
> they give an example of it set to 4 - but what do these values mean?)
>
>  Has anyone got this working or does anyone know how I should be configuring
> the dialog.so module?
>
>  Thanks,
>
>  -Axel
> _______________________________________________
> Users mailing list
> Users at openser.org
> http://openser.org/cgi-bin/mailman/listinfo/users
>
>




More information about the Users mailing list