How to generate unique Ids

I have multiple asterisk system and all connected to same CRM. Now, I would like to generate unique channel Id across all the asterisk.
I was checking Unique ID always unique? and found that there is a way to add server Id to unique Id.

Can someone please share the configuration to add the system id to unique Id?

I think you can generate Unique Id using “Caller number + date + time”. I think it is impossible to receive multiple calls simultaneously from same time in same number.

This may help…

Look at asterisk.conf.sample:

;systemname = my_system_name	; Prefix uniqueid with a system name for                                                                                                     
								; Global uniqueness issues.                                                                                                                  
;autosystemname = yes			; Automatically set systemname to hostname,                                                                                                  
								; uses 'localhost' on failure, or systemname if                                                                                              
								; set.                                                                                                                                       
1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.