[solved] Recreate XML and reload XML possible from script ?

Status
Not open for further replies.

MrWeb

New Member
Mar 8, 2021
23
1
3
49
Hi @ all,
i have created a little bwrowserxml script for my yealink phones.
So the user can see, if a call forwarding is active and he can change the number
from the phone. Here is all working.
I modificate the database entry's and flags.
But the changes are not active in this way.
I need to tell fusionpbx to recreate the extension xml and then reload the xml.
I read, that i can use the socket to do the realodxml. So, that's easy.
But how can i inject/start the recreate of the extension xml file ?
My skript is a php script. I check the source code of fusionpbx.
Here do
$ext = new extension;
$ext->xml();
the job. But a fusionpbx session with all variables is needed.
So, i think, not usable from the 'outside' of the session.

Any ideas to do that ?

Best regards,
MrWeb

EDIT: I found the solution myself. Delete of the cache entry is enough.
 
Last edited:
Status
Not open for further replies.