[Freeswitch-users] Generate uniqueid like asterisk

Mickael Hubert mickael at winlux.fr
Fri Nov 16 08:29:21 UTC 2018


Hi all,
currently, I use asterisk uniqueid to lot of internals processes Ex:
001-1542296620.1319230
I want to change asterisk by FS, but I have to keep this uniqueid format.
I know the format of the uniqueid : [server id]-[timestamp].[random integer]

How can I generate it from FS please ?

I already seen with mod_dialplan_asterisk module, but I'm not sure if can I
use only UNIQUEID variable (I'm not need the asterisk dialplan)

Or maybe use other variables Ex: unixtimestamp and create random interger...

thanks in advance

++
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20181116/e61d1f3b/attachment.html>


More information about the FreeSWITCH-users mailing list