Looking for Fanvil XML Templates

Status
Not open for further replies.

cparker_RCT

Customer
Advanced Certified
Joined
Jun 3, 2019
Messages
113
Reaction score
25
Trying to make up a custom template for some Fanvil X6 and X210's
Apparently my google-foo isn't turning up much for finding the base templates... anyone know where those are hiding?

Edit: found templates, which are the same thing as exporting the config from the phone as XML. But I'm seeing that the 3CX template isn't the same "style" as it differs in things like <phone> vs <PHONE_CONFIG_MODULE> and some various fields like <MenuPassword> vs <Menu_Password>

Looking to adjust things like disabling SMS and popup alerts.
 
Last edited:
After bashing my brains in for many hours...

I think I've landed on: there are two editions of config files for Fanvil phones. Old and new.
And the 3CX config is using the older style, which the new OS can go into compatibility mode to parse the older values.

If I feed it options in the <background> class, X210 just barfs in its logs saying it doesn't know what that class even is.
 
Hi @cparker_RCT

It may be best if you just go to your management console settings, templates, pick the template you want and press the copy button rather than searching for templates online.

This will create an identical to the default template which you can now adjust. Since this can break compatibility with the system keep in mind that it will become unsupported by 3CX, so if you need to contact support you will have to revert phones back to our default templates. I would recommend to adjust a minimal amount of parameters to keep it as compatible as possible and if you face any issues just revert to our defaults.
 
I have cloned the 3CX template.
However the issue is the 3CX template doesn't contain the parameters I need to use.
In research, the X6 and up use a different version of the template provided. The headers I believe put the phone into a compatibility parser.

The lower end phones start with:
<VOIP_CONFIG_FILE>
<version>2.0002</version>
<GLOBAL_CONFIG_MODULE>

The higher end phones start with:
<sysConf>
<Version>2.0000000000</Version>

As a result if I put in any classes from the newer version the phone says it has no clue what it is, so it's ignored.

Long story short, it sounds like I need to completely re-write the template for a supported phone because of the headers.
 
What version is your PBX currently, and what version is your template? (both can be found in the MC)
 
PBX v16.0.910
Template 89557

Edit: I misspoke. It seems the X5S also uses the newer format as well.
 
Last edited:
The specific devices you mention combined with this template version will generate the new format. Here's my X6 and X210 as an example when pressing +Config in the Phones section:

<VOIP_CONFIG_FILE>
<Version>2.0003</Version>
 
With all due respect, that is not the correct XML header for the X5-X210 models on the current firmware. They run different firmware, from say an X4. When an X5+ receives that XML header of <VOIP_CONFIG_FILE> it directs the phone into a completely different set of XML classes. These phones expect a header of <sysConf> instead.

For example, if I include the class <background> inside of <VOIP_CONFIG_FILE>... the phone's log reports it doesn't understand <background>. However, if I manually feed the phone an XML file that starts with <sysConf> it understands every single class properly.

Edit: Please visit http://<IP_of_X5s>/default_user_config.xml (and compare to that of an X4)
 
Last edited:
Status
Not open for further replies.

Forum statistics

Threads
111,933
Messages
589,813
Members
164,808
Latest member
jsbjsb