The invention pertains to novel quinazolinone derivatives of formula I and their use as cannabinoid receptor agonists wherein R 1 -R 9 are as defined in the description, processes for their production, their use as pharmaceuticals and pharmaceutical compositions comprising them.