Selecting multiple fields mysql


#1

I’m trying to set multiple variables at the same time with mysql, and for some reason it wont work. with one variable it works fine

Heres what im using

exten => _!,1,MYSQL(Query incoming_var ${MYSQLCONN} SELECT\ simul1,\ simul2,\ ringsec\ from\ settings\ where\ extension\ =\ ‘${EXTEN}’)
exten => _!,2,MYSQL(Fetch fetch_var ${incoming_var} SIMUL1\ SIMUL2\ RINGSEC)

I saw that other people had this issue, but i couldnt find the solution. Any ideas would be appreciated