[asterisk-users] Unique call ID's across several systems

Conrad Wood asterisk-users at conradwood.net
Sat Oct 21 15:13:06 MST 2006


On Sat, 2006-10-21 at 19:16 +0100, Julian Lyndon-Smith wrote:
> hi guys. Is there anyway of generating a universal / global unique id 
> from the dialplan (A uuid or guid). I want to have several asterisk 
> servers sharing a cdr database, and want a unique reference for each 
> call. Obviously, ${UNIQUEID} doesn't work across several * systems/

couldn't you set a variable in the local dialplan and combine ith with
uniqueid?
e.g.
LOCALID=asterisk1

and then
Set(GLOBALID=${LOCALID}-${UNIQUEID}) or so?

or even use the hostname of the machine?

Conrad



More information about the asterisk-users mailing list