Add ZAP channel (zapata.conf) using mysql realtime

I am trying to make a php page to add zaptel channel instead of editing the configuration file (zapata.conf)
So i tried to make static reatime using the table ast_conf by inserting the filename (zapata.conf) in the filenam colum and all the variable name and it’s values but it dosen’t work, it seems it dosen’t recognize the variable “channel => #” .
is there is any dynamic or static reatime way for this :question: