Problem using cbmysql when mysql is on another machine

I?ve installed and configured asterisk with cbmysql.
When cbmysql.conf is pointing to localhost it works fine, but if I change it to some other machine there is a big problem.
If u call the conference number, and then u dial the room number it finishes ASTERISK.

Does anyone have a clue what?s going on ? I checked the log files but there?s nothing…

F?dias Augusto