How can we help you today?
Start a new topic
Answered

SNOM320 detects firmware provision settings, but never starts the update process

Hello,


I'm trying to update a SNOM320's firmware from 7.3.27 to 7.3.30, by using the phone configuration.


The image I tried to use so far is:
http://downloads.snom.com/fw/snom320-7.3.30-SIP-bf.bin



( Taken from http://wiki.snom.com/Features/Mass_Deployment/Setting_Files/XML/Phone_Settings )

(( Used the minimal example as troubleshooting. A complete config file exists))

### ::: Phone settings file: snom_firm.cfg ::: ###

<?xml version="1.0" encoding="utf-8"?>

<settings>

 <phone-settings>

  <web_language perm="RW">Danish</web_language>

  <timezone perm="RW">DNK+1</timezone>

  <tone_scheme perm="RW">DNK</tone_scheme>

  <date_us_format perm="R">on</date_us_format>

  <time_24_format perm="R">on</time_24_format>

  <!-- the following parameters are only required to provide automated firmware updates-->

  <!-- IMPORTANT: define the URL of the firmware setting file-->

  <firmware_status perm="R">http://ipecs-prov.firstcom.dk/snom/snom320/firmware/firmware.xml</firmware_status>

  <update_policy perm="R">auto_update</update_policy>

  <firmware_interval perm="R">2880</firmware_interval>

 </phone-settings>

</settings>

###################################################

( Taken from http://wiki.snom.com/Features/Mass_Deployment/Setting_Files/XML/Firmware )

### ::: firmware_status file: firmware.xml ::: ###

<?xml version="1.0" encoding="utf-8"?>

<firmware-settings>

        <firmware perm="R">http://ipecs-prov.firstcom.dk/snom/snom320/firmware/snom320-7.3.30-SIP-bf.bin</firmware>

</firmware-settings>

###################################################

The above configuration is then reflected in the Settings, in the webinterface

### ::: WebInterface settings ::: ###

anguage!:

redirect_number!:

redirect_busy_number!:

redirect_time_number!:

redirect_event!: none

redirect_time!:

redirect_time_on_code!:

redirect_time_off_code!:

redirect_always_on_code!:

redirect_always_off_code!:

redirect_busy_on_code!:

redirect_busy_off_code!:

dnd_on_code!:

dnd_off_code!:

phone_type!:

codec_tos!: 160

mac&: 00041331E94B

setting_server&: http://ipecs-prov.firstcom.dk/snom_firm.cfg

subscribe_config!:

pnp_config!: on

ip_adr!: 10.45.201.56

netmask!: 255.255.255.0

update_server!:

dns_domain!:

dns_server1!: 10.45.201.1

dns_server2!:

dhcp!: on

gateway!: 10.45.201.1

phone_name!:

utc_offset!: 3600

ntp_server!: 192.53.103.104

lcserver1!:

ring_sound!: Ringer1

http_proxy!:

http_port!: 80

http_user!:

http_pass!:

http_scheme!: off

https_port!: 443

webserver_type!: http_https

webserver_cert!:

dst!: 3600 03.05.07 02:00:00 10.05.07 03:00:00

timezone!: DNK+1

contrast!: 22

sip_retry_t1!: 500

timer_support!: on

session_timer!: 3600

network_id_port!:

max_forwards!: 70

user_phone!: true

active_line!: 1

outgoing_identity!: 1

challenge_response!: on

refer_brackets!:

sip_proxy!:

register_http_contact!: off

cmc_feature!: off

filter_registrar!: on

xml_notify!: on

challenge_reboot!: off

challenge_checksync!: off

action_dnd_on_url!:

action_dnd_off_url!:

action_redirection_on_url!:

action_redirection_off_url!:

action_incoming_url!:

action_outgoing_url!:

action_setup_url!:

action_offhook_url!:

action_onhook_url!:

action_missed_url!:

action_connected_url!:

action_disconnected_url!:

aoc_amount_display!: off

aoc_pulse_currency!: $

aoc_cost_pulse!: 1

rtp_port_start!: 49152

rtp_port_end!: 65534

preselection_nr!:

auto_dial!: off

dtmf_payload_type!: 101

dnd_mode!: off

privacy_in!:

privacy_out!:

admin_mode_login!:

admin_mode_password!:

admin_mode_password_confirm!:

admin_mode!: true

tone_scheme!: DNK

vol_speaker!: 8

vol_ringer!: 10

vol_handset!: 13

vol_headset!: 10

vol_speaker_mic!: 5

vol_handset_mic!: 5

vol_headset_mic!: 5

log_level!: 5

auto_connect_type!: auto_connect_type_handsfree

auto_connect_indication!: on

logon_wizard!: true

guess_number!: off

guess_start_length!: 4

friends_ring_sound!: Ringer1

family_ring_sound!: Ringer1

colleagues_ring_sound!: Ringer1

vip_ring_sound!: Ringer1

alert_internal_ring_text!: alert-internal

alert_external_ring_text!: alert-external

alert_group_ring_text!: alert-group

alert_internal_ring_sound!: Ringer1

alert_external_ring_sound!: Ringer1

alert_group_ring_sound!: Ringer1

break_key!: false

publish_presence!: on

edit_alpha_mode!: false

display_method!: display_name

call_waiting!: on

cw_dialtone!: on

disable_speaker!: off

no_dnd!: off

mute!: off

dirty_host_ttl!:

headset_device!: none

update_policy&: auto_update

conf_hangup!: on

enum_suffix!: e164.arpa

mwi_notification!: silent

vlan!:

vlan_id!:

vlan_qos!:

block_url_dialing!: off

release_sound!: off

deny_all_feature!: off

transfer_on_hangup!: off

ethernet_replug!: nothing

mwi_dialtone!: stutter

support_idna!: off

custom_melody_url!:

ringer_headset_device!: speaker

dtmf_speaker_phone!: on

presence_timeout!: 15

require_prack!: on

offer_gruu!: on

offer_mpo!: off

firmware_status&: http://ipecs-prov.firstcom.dk/snom/snom320/firmware/firmware.xml

firmware_interval&: 2880

firmware!: http://ipecs-prov.firstcom.dk/snom/snom320/firmware/snom320-7.3.30.SIP-f.bin

bootloader!:

update_filename!:

update_host_b!:

update_host_f!:

sip_port&: 2058

web_language!: Danish

call_completion!: off

callpickup_dialoginfo!: off

use_backlight!: on

reset_settings!:

date_us_format&: on

time_24_format&: on

call_join_xfer!: off

alert_info_playback!: on

ringing_time!: 120

silence_compression!: off

syslog_server!:

screen_saver_timeout!: 60

intercom_enabled!: off

with_flash!: off

snmp_trusted_addresses!:

snmp_port!: 161

multicast_listen!: off

multicast_address!:

multicast_port!:

short_form!: off

audio_device_indicator!: on

license_data&: Mac:00041331E94B;Version:Standard;Hardware:snom320 (H: R2A);Date:17/08/09;Copyright(C) snom technology AG

license_url!:

holding_reminder!: on

keytones!: off

ethernet_detect!: on

support_rtcp!: on

partial_lookup!: off

signaling_tos!: 160

eth_net!: auto

eth_pc!: auto

answer_after_policy!: off

ldap_server!:

ldap_port!:

ldap_base!:

ldap_username!:

ldap_password!:

ldap_max_hits!: 50

keyboard_lock!:

keyboard_lock_pw!:

tcp_listen!: off

peer_to_peer_cc!: on

auto_logoff_time!:

text_softkey!: off

ringer_animation!: on

speaker_dialer!: on

dkey_help!: keyevent F_HELP

dkey_snom!: keyevent F_SNOM

dkey_conf!: keyevent F_CONFERENCE

dkey_transfer!: keyevent F_TRANSFER

dkey_hold!: keyevent F_R

dkey_dnd!: keyevent F_DND

dkey_record!: keyevent F_REC

dkey_retrieve!: keyevent F_RETRIEVE

dkey_redial!: keyevent F_REDIAL

dkey_directory!: keyevent F_ADR_BOOK

overlap_dialing!: off

redundant_fkeys!: on

web_logout_timer!:

cancel_on_hold!: off

ntp_refresh_timer!: 3600

reboot_after_nr!: 0

watch_arp_cache!: 0

calling_title!: lang_calling

connected_title!: lang_connected

ringing_title!: lang_ringing

enter_number_title!: lang_enter_number

held_by_title!: lang_held_by

disconnected_title!: lang_terminated_finished

flood_tracing!: on

message_led_other!: on

keyboard_lock_emergency!: 911 112 110 999 19222

cancel_missed!: on

cancel_desktop!: off

scroll_outgoing!: on

show_local_line!: off

show_xml_pickup!: off

pickup_indication!: off

firmware_version!: snom320-SIP 7.3.23

gui_fkey1!: F_REGS

gui_fkey2!: F_CALL_LIST

gui_fkey3!: F_ADR_BOOK

gui_fkey4!: F_SPEED_DIAL

dkey_menu!: keyevent F_MENU

redirect_ringing!: on

auto_redial!: off

auto_redial_value!: 10

disable_blind_transfer!: off

disable_deflection!: off

action_log_on_url!:

action_log_off_url!:

show_call_status!: off

action_reg_failed!:

max_boot_delay!: 0

http_client_user!:

http_client_pass!:

mailbox_active!: off

idle_offhook!: off

reject_calls_with_603!: off

ldap_lookup_ringing!: on

enable_keyboard_lock!: on

presence_lookup_number!: off

vlan_port_tagging!: off

vlan_net_id!:

vlan_net_priority!:

vlan_pc_id!:

vlan_pc_priority!:

vlan_cpu_id!:

vlan_cpu_priority!:

emergency_proxy!:

pbx_buttons!: off

retry_after_failed_register!: 300

send_prack!: on

documentation_link!: http://wiki.snom.com/wiki/index.php/Settings/

watchdog!: on

rtp_keepalive!: on

ldap_search_filter!:

ldap_number_filter!:

ldap_name_attributes!:

ldap_number_attributes!:

ldap_display_name!:

country_code!:

area_code!:

action_unhold!:

action_hold!:

action_transfer!:

ip_adr_vlan!:

netmask_vlan!:

gateway_vlan!:

general_uname!:

action_blind_transfer!:

action_attended_transfer!:

csta_control!: on

handsfree_mode!: quiet

enable_e164_substitution!: on

speaker_receive_call!: on

global_missed_counter!: on

use_hidden_tags!: off

show_history_info!: on

show_name_dialog!: off

ignore_security_warning!: off

naptr_sip_uri!: off

encode_display_name!: off

uboot_lock!:

auto_reboot_on_setting_change!: off

show_diversion!: on

offhook_dial_prompt!: on

fkey_delay_timeout!: 5

update_called_party_id!: on

uboot_version!: 1.1.3-u

subscription_delay!: 0

terminate_subscribers_on_reboot!: on

show_ivr_digits!: on

settings_refresh_timer!: 0

ip_frag_enable!: off

advertisement!: on

advertisement_url!: http://snom.com/{web_lng_iso_code}/AddOn

enable_rport_rfc3581!: on

intercom_connect_type!: intercom_connect_type_handsfree

add_hebrew!: off

add_cyrillic!: off

inactive_timeout!: 15

away_timeout!: 60

prioritise_pbx_number_lookup!: on

vq_report_collector!:

refuse_call_pickup_of_connected_calls!: off

action_firewall_test!:

############################################################

The Webinterface Log then outputs the following information:

### ::: Webinterface log ::: ###

[5]24/12/2001 00:00:08: Using GUI language Dansk from: /mnt/snomlang/gui_lang_DA.xml

[5]24/12/2001 00:00:09: Using WEB language Dansk from: /mnt/snomlang/web_lang_DA.xml

[5]24/12/2001 00:00:18: DHCP: Received IP address 10.45.201.56

[0]24/12/2001 00:00:18: Phone::uboot_version:1.1.3-u

[5]24/12/2001 00:00:18: Opening TCP socket on port 843

[5]24/12/2001 00:00:23: No setting server via DHCP, lets use default: http://provisioning.snom.com/snom320/snom320.htm

[5]24/12/2001 00:00:23: Fetching URL: http://provisioning.snom.com/snom320/snom320.htm

[5]24/12/2001 00:00:23: Conf setup: found old style settings

[5]24/12/2001 00:00:23: Setting server was already set: http://provisioning.snom.com/snom320/snom320.php?mac={mac}

[5]24/12/2001 00:00:23: Fetching URL: http://provisioning.snom.com/snom320/snom320.php?mac=00041331E94B

[5]24/12/2001 00:00:23: read_xml_settings: found no XML header; probably old style format

[5]24/12/2001 00:00:23: Conf setup: found old style settings

[5]24/12/2001 00:00:23: Setting server was already set: http://ipecs-prov.firstcom.dk/snom_firm.cfg

[5]24/12/2001 00:00:23: Fetching URL: http://ipecs-prov.firstcom.dk/snom_firm.cfg

[5]24/12/2001 00:00:23: read_xml_settings: found settings (container) XML header

[5]24/12/2001 00:00:23: read_xml_settings: found phone-settings XML header

[5]24/12/2001 00:00:23: read_xml_settings: found one byte encoding: 1

[5]24/12/2001 00:00:23: Conf setup: found xml style settings

[5]24/12/2001 00:00:23: Fetching URL: http://ipecs-prov.firstcom.dk/snom_firm-00041331E94B.cfg

[1]24/12/2001 00:00:24: Conf setup: code: 404, host: ipecs-prov.firstcom.dk:80, file: /snom_firm-00041331E94B.cfg

[5]24/12/2001 00:00:24: Fetching URL: http://127.0.0.1/dummy.htm

[1]24/12/2001 00:00:24: Conf setup: code: 500, host: 127.0.0.1:80, file: /dummy.htm

[5]24/12/2001 00:00:24: Fetching FW URL: http://ipecs-prov.firstcom.dk/snom/snom320/firmware/firmware.xml

[5]24/12/2001 00:00:24: Fetching URL: http://ipecs-prov.firstcom.dk/snom/snom320/firmware/firmware.xml

[2]24/12/2001 01:00:24: start_dst(985485600) end_dst(1004238000) offset_dst(3600) offset_utc(3600)

[2]24/12/2001 01:00:24: start DST: 03/25/2001 02:00:00 (985485600)

[2]24/12/2001 01:00:24: end DST: 10/28/2001 03:00:00 (1004238000)

[5]24/12/2001 01:00:26: Using GUI language Dansk from: /mnt/snomlang/gui_lang_DA.xml

[5]24/12/2001 01:00:27: Using WEB language Dansk from: /mnt/snomlang/web_lang_DA.xml

[5]24/12/2001 01:00:28: Opening TCP socket on port 80

[5]24/12/2001 01:00:28: Opening TCP socket on port 443

[2]30/9/2016 15:02:34: start_dst(1459044000) end_dst(1477796400) offset_dst(3600) offset_utc(3600)

[2]30/9/2016 15:02:34: start DST: 03/27/2016 02:00:00 (1459044000)

[2]30/9/2016 15:02:34: end DST: 10/30/2016 03:00:00 (1477796400)

[5]30/9/2016 15:02:34: read_xml_settings: found firmware-settings XML header

[5]30/9/2016 15:02:34: read_xml_settings: found one byte encoding: 1

#########################################################


Best Answer

Hello Martin,


we need more deep investigations on that, we already converted this topic into a ticket,


Thanks,


Looking at your settings I see that the firmware_interval is set to 2880 (minutes)(2 days)


 <firmware_interval perm="R">2880</firmware_interval>


Can you try decreasing this number to 5 or 10 and seeing if the upgrade commences after that?

Hi Sean,


I did - To no avail. I tried with default setting as well.

Answer

Hello Martin,


we need more deep investigations on that, we already converted this topic into a ticket,


Thanks,

Hello Pietro,


Where do we start then

Hi Martin,


please check your mailbox for messages from the ticket system (helpdesk@snom.com); 

we already contacted you on Monday, 3 Oct at 2:54 PM and Thursday, 6 Oct at 6:19 PM


Regards

Norman Schwirske

Login or Signup to post a comment