DIALSTATUS insert into

hi guys i’m trying to retrive the dial status from a outbound call this is my context

exten => 123,1,Noop(Dialout number ${dialout_number})
exten => 123,2,Dial(SIP/gsm9-8/${dialout_number})
exten => 123,3,Noop(Dial status for ${dialout_number} is ${DIALSTATUS})
exten => 123,4,Goto(s-${DIALSTATUS},1)

exten => s-NOANSWER,1,MYSQL(Connect connid_noanswer autodialer autodialer db_call)
exten => s-NOANSWER,2,MYSQL(Query resultid_noanswer ${connid_noanswer} INSERT INTO autodialer(type) VALUES(1000))
exten => s-NOANSWER,3,MYSQL(Fetch fetchid ${resultid_noanswer} )
exten => s-NOANSWER,4,MYSQL(Clear ${resultid_noanswer})
exten => s-NOANSWER,5,MYSQL(Disconnect ${connid_noanswer})

but on any kind of status it don’t do anything
what i doing wrong?

thanks for help

I would suggest providing the console output showing what happens.

i could do via ssh on asterisk server?

i don’t know the command :frowning: