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

Julian Lyndon-Smith asterisk at dotr.com
Sun Oct 22 00:49:41 MST 2006


Conrad Wood wrote:
> 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?

Doh. Sometimes things are just so simple I seem to miss them. ;)

Thanks for the help.

Julian
> 
> or even use the hostname of the machine?
> 
> Conrad
> 
> _______________________________________________
> --Bandwidth and Colocation provided by Easynews.com --
> 
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-users
> 
> 



More information about the asterisk-users mailing list