[SR-Users] Random number generation kamailio
Daniel-Constantin Mierla
miconda at gmail.com
Tue Mar 22 08:20:17 CET 2016
Hello,
besides $RANDOM from cfgutils as pointed already, you can use an
embedded interpreter (e.g., app_lua is really fast).
If you need some unique values, but not only numbers, see uuid module.
Cheers,
Daniel
On 22/03/16 07:54, Cibin Paul wrote:
> Hi,
>
> How can I generate a random number say of length 10-14 in Kamailio. Can I use cfgutils for this. Please advise
>
> Regards
> Cibin
>
>
>
> _______________________________________________
> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
> sr-users at lists.sip-router.org
> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
--
Daniel-Constantin Mierla
http://www.asipto.com
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
Kamailio World Conference, Berlin, May 18-20, 2016 - http://www.kamailioworld.com
More information about the sr-users
mailing list