Re: [asterisk-users] How to re-read values from database in Trixbox

2007-08-22 Thread Edgar Guadamuz
Thanks Diego :)

It works now. For the rest of the people, the commands needed were

/var/lib/asterisk/bin/retrieve_conf and then asterisk -rx reload

___
--Bandwidth and Colocation Provided by http://www.api-digital.com--

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] How to re-read values from database in Trixbox

2007-08-22 Thread Diego Iastrubni
You are updating the MySQL config, which is not propagated to the Asterisk 
config files. Only after you regenerate the configuratios, you can reload 
asterisk.

Dirty hack: "need_reload" flag must be set to true. 
Real solution: retrieve_conf + "asterisk reload"

On Wednesday 22 August 2007 10:22, Edgar Guadamuz wrote:
> Hello guys,
>
> I'm using Trixbox and I have a PHP application that updates a value in
> the MySQL asterisk database as an interface to have a dynamic
> customizable IVR.
>
> After execute the UPDATE SQL query, the php application is supossed to
> reload asterisk or restart amportal in order to get the change
> working, but nor asterisk -rx reload nor amportal restart got the
> change working.
>
> So, the question is how can I re-read the new value from the database
> to be effective in asterisk?

___
--Bandwidth and Colocation Provided by http://www.api-digital.com--

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


[asterisk-users] How to re-read values from database in Trixbox

2007-08-22 Thread Edgar Guadamuz
Hello guys,

I'm using Trixbox and I have a PHP application that updates a value in
the MySQL asterisk database as an interface to have a dynamic
customizable IVR.

After execute the UPDATE SQL query, the php application is supossed to
reload asterisk or restart amportal in order to get the change
working, but nor asterisk -rx reload nor amportal restart got the
change working.

So, the question is how can I re-read the new value from the database
to be effective in asterisk?

___
--Bandwidth and Colocation Provided by http://www.api-digital.com--

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users