[Asterisk-Users] howto write CDRs on two mysql servers

Matthew Boehm mboehm at cytelcom.com
Thu Jun 9 09:10:58 MST 2005


Rosario Pingaro wrote:
> For redundancy I would like to write the CDRs on tow mysql servers.
>  
> cdr_mysql.conf accept only one configuration [global],
>  
> how to add a second host?
>  
> Thanks
> Rosario

The quickest way would be to make a copy of cdr_addon_mysql and rename 
the app and conf file, recompile, then load that module. You would 
basically be running 2 instances of that module.

Long term solution would be to rewrite cdr_addon_mysql to support 
multiple databases.

-Matthew




More information about the asterisk-users mailing list