[Amportal-users] [Fwd: what the red "apply" bar do

-------- Original Message --------
Subject: what the red “apply” bar do?
Date: Mon, 09 Oct 2006 20:19:22 +0200
From: Farkas Levente [email protected]
To: [email protected]

hi,
what is the result when the big red bar clicked?
i create a new module which use a few table and put data into these
tables. but after i press the ‘apply’ all of my data are disappear! so:

  • what is the result of apply?
  • how can i declare that my module changes has nothing to do with
    asterisk runtime config ie. changes are just affect the mysql database
    and user do NOT have to press the red bar, what’s more there is no need
    for the red bar. is there any kind of flag?
  • and the most important: why my tables become empty after i press the
    apply??? how can i avoid it?
    thanks in advance.
    yours.


Levente “Si vis pacem para bellum!”


Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net’s Techsay panel and you’ll get the chance to share your
opinions on IT & business topics through brief surveys – and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV


Amportal-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/amportal-users

Post generated using Mail2Forum (http://www.mail2forum.com)

not sure of what you are saying
But if you “click the red bar” it just pulls data from the mysql

/var/lib/asterisk/bin/retrieve_conf

any thing you hand put in the *_additional.conf files will be overwritten from the database

use the _custom.conf or create your own and call them with a #include in the extensions_custom.conf

bubba wrote:

[quote] not sure of what you are saying
But if you “click the red bar” it just pulls data from the mysql

/var/lib/asterisk/bin/retrieve_conf

any thing you hand put in the *_additional.conf files will be overwritten from the database
[/quote]
yes, but who delete data from the mysql database?
and how can i declare that i don’t need to generate anything?


Levente “Si vis pacem para bellum!”


Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642


Amportal-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/amportal-users

Post generated using Mail2Forum (http://www.mail2forum.com)

bubba wrote:

[quote] This is an edited version of a previous post

not sure of what you are saying
But if you “click the red bar” it just pulls data from the mysql

/var/lib/asterisk/bin/retrieve_conf

any thing you hand put in the *_additional.conf files will be overwritten from the database

use the _custom.conf or create your own and call them with a #include in the extensions_custom.conf
[/quote]
my module write into the mysql database so i don’t need custom files.


Levente “Si vis pacem para bellum!”


Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642


Amportal-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/amportal-users

Post generated using Mail2Forum (http://www.mail2forum.com)

Ok if you do not want to use the GUI then do not use the GUI (freepbx)
That is what freepbx does it writes out the conf files for you.

and if you are writing to the database but do not want the data in a conf file then what is the point

Asterisk reads the .conf files NOT MYSQL

Not “real time”

And you kept writtng mysql database…do you mean that (as in the database MYSQL) or do you mean the asterisk database??

bubba wrote:

[quote] This is an edited version of a previous post

Ok if you do not want to use the GUI then do not use the GUI (freepbx)
That is what freepbx does it writes out the conf files for you.

and if you are writing to the database but do not want the data in a conf file then what is the point

Asterisk reads the .conf files NOT MYSQL

Not “real time”
[/quote]
there are many place where freepbx write something to the db but never
generate any kind if conf file from it. like customer db,
backup/restore, asterisk phone book etc.
anyway i’d not like to discuss it my simple question why freepbx purge
some table and how can i avoid the appeariance of the red bar. this is a
simple development question.


Levente “Si vis pacem para bellum!”


Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642


Amportal-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/amportal-users

Post generated using Mail2Forum (http://www.mail2forum.com)

But FREEPBX DOES NOT delete from the database (well not for ANYONE else I know)

We import into the asterisk DB all the time.
We can create extens / conferences whatever we need to and the data does not get deleted.

So the issue you are having would not be a Freepbx issue,
if you not wish to “discuss it” why are you here???

If you give some info on what it is you are wishing to do then someone else here with more knownledge would help you.

as for calling the “red bar” look at the code for submit button…