Solving trig functions



Hi, 

I need to solve trig functions on maxima and get all solutions for a
given domain. For example, 
sin(x) = 1/2 

In the domain of [-2*%pi, 2*%pi]. 

Currently with maxima I can only get the solution in the first quadrant
- %pi/6.

Does anyone know how to do this or have any idea of some reliable code I
could write for my own function definition to find the rest of the
angles? 

Thank you very much. 

Dan