The present invention relates to the use of a quinazolinone compound of the formula (I) wherein R1, R2, R3, R4, R5 and m are as defined in the specification and in the claims, in free form or in salt form, and, where possible, in acid addition salt form, as a vanilloid.