Julian Lyndon-Smith
2006-Oct-21 11:16 UTC
[asterisk-users] Unique call ID's across several systems
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/
Conrad Wood
2006-Oct-21 15:13 UTC
[asterisk-users] Unique call ID's across several systems
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
Matt Florell
2006-Oct-21 19:01 UTC
[asterisk-users] Unique call ID's across several systems
For several releases now the BRIStufft version of Asterisk will prepend the hostname of the server to the beginning of the base uniqueid by default and use that new value as the uniqueid of the call everywhere it is used. This shouldn't be that difficult to do in regular Asterisk. MATT--- On 10/21/06, Julian Lyndon-Smith <asterisk@dotr.com> 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/ > _______________________________________________ > --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 >