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

Axel Dahl junk at alf2.com
Wed Jun 6 23:24:24 CEST 2007


Hey Ovidiu, do you have a working config, I'm pretty new to openSER?

The one I'm using at the moment is attached,

Thanks in advance,

-Axel

Ovidiu Sas wrote:
> 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
>>
>>
>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: openser.cfg
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20070606/9949f681/attachment.asc>


More information about the sr-users mailing list