Foniva Contact Center Software
Asterisk Experts Support

Generate very unique asterisk tracknumber

This asterisk trick can be usefull if you have multiple asterisk servers getting calls and sending them on the same database or on the same log file.

In some rare cases, when you have a lot of calls, you can find your self with two different calls on two servers with the same unique id or tracknumber.

You can set asterisk to prepend a string to the unique id.

To do so :

vi /etc/asterisk/asterisk.conf

[directories]

….

[options]

systemname = mypbx1; prefix uniqueid with a system name for global uniqueness issues

Then reload and see what you have in ${UNIQUEID} field of your channels and in you CDR files.


Our sponsors


Asterisk Experts Support