[OpenSIPS-Users] Max Contacts Flag Documentation

Bogdan-Andrei Iancu bogdan at voice-system.ro
Mon Apr 12 18:05:20 CEST 2010


Hi David,

David J. wrote:
> I was looking at the registrar documentation and not sure if this is 
> in-consistent documentation.
>
> /flags/ (optional)- string of the following flags:
>
> /'cnn' (max Contacts)/ - this flag can be used to limit the number of 
> contacts for this AOR (Address of Record) in the user location 
> database. Value 0 disables the check. This parameter overrides the 
> global "max_contacts" module parameter.
the name of the param is "c" only and it is followed by a numerical 
value. Like c4, c10, etc.
> *Example 1.13. |save| usage*
> # save into 'location', do not update DB, max 5 contacts per AOR,
> # use default AOR (TO URI)
> save("location","mc5");
>   
> shouldn't it read 'cnn5' not 'mc5' like the example below?
mc5 is correct, it is the c5 param (only 5 contacts) and m param (method 
filtering) - more params/flags can be passed in the same time.

Regards,
Bogdan
>
> *Example 1.13. |save| usage*
> # save into 'location', do not update DB, max 5 contacts per AOR,
> # use default AOR (TO URI)
> save("location","cnn5");
>
>
>
>   
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>   


-- 
Bogdan-Andrei Iancu
www.voice-system.ro




More information about the Users mailing list