Hi Ali!
I can not help you with the siptrace problem, but regarding seeing the messages thus using TLS it might be useful to use the NULL cipher. Kamailio allows you to configure the ciphers, of course the SIP client also has allow you to do this.
modparam("siptrace", "db_url", "mysql://mysql://openser:xxxxxxxxx@xxxxxxxxxxxx/openser")
^^^^^^^^^^^^
maybe this is the problem? Anyway there should be an error message when connecting to the DB.
regards klaus