Jump to content

Snom D765 Edit State Settings


Guest Davide

Recommended Posts

Guest Davide

Hello there.

I'm trying to edit the PUI menu working on status_settings.xml taken by the customization file's directory.

Unfortunately, if I delete parts of code, nothing happens resetting the IPPhones. 

Does anyone know how to remove network settings from the PUI?

I'm using as Firmware the 10.1.64.14 update and D765 as deskphone model

Regards

 

Link to comment
Share on other sites

I'm editing settings via provisioning:

<uploads>
<file url:"http://my-ip/pui-upload.xml" type="gui_xml_state_settings"/>
</uploads

and this is the edited code:

<?xml version="1.0" encoding="UTF-8"?>
<IPPhoneMenu icon_xoffset="$(math_eval:$(gui_display_xsize)/20-5)" text_xoffset="$(math_eval:$(gui_display_xsize)/20-7)" state="others_except_mb" dtmf="off" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  xsi:noNamespaceSchemaLocation="../schemas/minibrowser.xsd">
  <Title>$(lang:menu100_settings)</Title>
  <IconSize>XS</IconSize>
  <Menu name="$(lang:preferences_settings)" id="preferences">
    <If condition="$(show_feature:FEATURE_PUI_STYLE_SIO)">
      <IconType>$(icon_type_enum:kIconSettingsPreferences)</IconType>
      <SubText>$(lang:date_and_time), $(lang:language), $(lang:audio_settings), $(lang:display_settings), $(lang:menu_function_key), $(lang:preferences_general)</SubText>
    </If>
    <Url>file://xml/gui/preferences.xml</Url>
  </Menu>
  <Menu name="$(lang:call_features_settings)" id="call_features">
    <If condition="$(show_feature:FEATURE_PUI_STYLE_SIO)">
      <IconType>$(icon_type_enum:kIconSettingsCallFeatures)</IconType>
      <SubText>$(lang:redirect_settings), $(lang:outgoing_calls_settings), $(lang:incoming_calls_settings), $(lang:continuous_text_speed_dial)</SubText>
    </If>
    <Url>file://xml/gui/call_features.xml</Url>
  </Menu>
  <Menu name="$(lang:maintenance_settings)" id="maintenance">
    <If condition="$(show_feature:FEATURE_PUI_STYLE_SIO)">
      <IconType>$(icon_type_enum:kIconSettingsMaintenance)</IconType>
      <SubText>$(lang:menu_security), $(lang:continuous_text_reboot), $(lang:reset_settings), $(lang:sync_settings)</SubText>
    </If>
    <Url>file://xml/gui/maintenance.xml</Url>
  </Menu>
  <Menu name="$(lang:information_settings)" id="information">
    <If condition="$(show_feature:FEATURE_PUI_STYLE_SIO)">
      <IconType>$(icon_type_enum:kIconSettingsInformation)</IconType>
      <If condition="$(set:admin_mode)">
        <SubText>$(lang:status_messages), $(lang:system_information_menu), $(lang:demo_mode), $(lang:help_label)</SubText>
      </If>
      <Else>
        <SubText>$(lang:status_messages), $(lang:system_information_menu), $(lang:help_label)</SubText>
      </Else>
    </If>
    <Url>file://xml/gui/information.xml</Url>
  </Menu>
  <If condition="$(phone_state)!=Settings">
    <SoftKeyItem>
      <Name>CANCEL</Name>
      <Url track="no">phone://mb_nop#go_back</Url>
    </SoftKeyItem>
  </If>
</IPPhoneMenu>

 

Link to comment
Share on other sites

25 minutes ago, Vodia PBX said:

If we are talking about the menu key the template set that to use the PBX to render the menu:

  <dkey_menu perm="RW">url http://{get host}:{http-port}/app/snom/menu</dkey_menu>

This menu is rendered on the fly by the PBX.

So if I would change menu's content, which file should I edit? The file used for the provisioning?

Link to comment
Share on other sites

That would be a longer story. Essentially there would be two ways to do this—change the key_menu link and point it to your own server or modify the backend app in the PBX. Because you already have the content, you could just drop it into the tftp directory of the pbx (might have to create it first in the working directory of the PBX) and then chage the link to http://{get host}:{http-port}/tftp/your-file.xm to load it.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...