[asterisk-users] hostname in MySQL CDR records

Tilghman Lesher
2007-11-01T05:48:57Z

On Wednesday 31 October 2007 19:49:24 Jim Gottlieb
wrote:
> I would like to send the CDR records from all our machines around the
> world to a single database.  But I need the hostname included with each
> record for monitoring purposes.
>
> Is there a better way than using the userfield and adding
> SetCDRUserfield for every call to set the userfield to the name of the
> host?

If you set systemname in asterisk.conf, that prefix will become part of the
uniqueid field.  You'll probably need to widen that field, though.

--
Tilghman