[asterisk-users] hostname in MySQL CDR records

Ricardo Carvalho rjcarvalho.lists at gmail.com
Tue Nov 27 11:50:09 CST 2007


You can also use CDR(userfield) parameter and that way you can write in the
column userfield of your CDR table of the DB, the hostname of the asterisk
for each call. You can try something like the following in the dialplan of
each machine:

Set(CDR(userfield)=hostname_of_the_machine)

Regards,
Ricardo Carvalho.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20071127/7a61adaa/attachment.htm 


More information about the asterisk-users mailing list