Jump to content

Snom phones incorrectly provisions two identities


chrispopp

Recommended Posts

I'm testing with a Snom 760. I added the MAC address to two extensions. Open both extensions for MAC Based Provisioning. The phone provisions both identities perfectly. BUT after a reboot, the phone creates two of the same identity number. 

 

So if I provision extension 201 and 202. It works fine, but after the reboot, the extensions on the phone are 202 and 202.

This is on the latest version. 

Link to comment
Share on other sites

Hi,

 

We just tried this on 61.0 release July 13th and it worked fine with the Snom 725 (in our case) showing 2 private lines for 2 extensions. Can you check if you have any customized files lingering somewhere which are hindering this process? or you have buttons that are over-riding this setting.

Link to comment
Share on other sites

I erased all xml files. Still does it... First provision works fine. After reboot, one extension becomes duplicated.

 

This is what gets generated in the "generated" folder. And this gets generated in the second identity, not the primary folder.

 

<?xml version="1.0" encoding="utf-8"?>
<phone-settings e="2">
  <user_active idx="1" perm="RW">on</user_active>
  <using_server_managed_dnd idx="1" perm="RW">on</using_server_managed_dnd>
  <using_server_managed_fwd_all idx="1" perm="RW">on</using_server_managed_fwd_all>
  <using_server_managed_fwd_busy idx="1" perm="RW">on</using_server_managed_fwd_busy>
  <using_server_managed_fwd_time idx="1" perm="RW">on</using_server_managed_fwd_time>
  <user_realname idx="1" perm="RW">NameDisplay NameDisplay</user_realname>
  <user_idle_text idx="1" perm="RW">605: NameDisplay NameDisplay</user_idle_text>
  <user_name idx="1" perm="RW">605</user_name>
  <user_pname idx="1" perm="RW">00041371XXXX</user_pname>
  <user_pass idx="1" perm="RW">l04sxr</user_pass>
  <user_host idx="1" perm="RW">onetel.cooltel.com</user_host>
  <user_mailbox idx="1" perm="RW">605</user_mailbox>
  <user_srtp idx="1" perm="RW">on</user_srtp>
  <user_auth_tag idx="1" perm="RW">on</user_auth_tag>
  <user_symmetrical_rtp idx="1" perm="R">off</user_symmetrical_rtp>
  <user_auto_connect idx="1" perm="RW">off</user_auto_connect>
  <user_descr_contact idx="1" perm="RW">off</user_descr_contact>
  <user_xml_screen_url idx="1" perm="RW"></user_xml_screen_url>
  <user_outbound idx="1" perm="RW">sip:onetel.cooltel.com:5062;transport=tls</user_outbound>
  <user_dp_str idx="1" perm="RW">|sip:\1@\d|d|sip:\1@\d|d |sip:\1@\d|d |sip:\1@\d|d |sip:\1@\d|d \1@\d|d |^(611)$|sip:\1@\d|d |^(411)$|sip:\1@\d|d |^([2-9]{1}[0-9]{9})$</user_dp_str>
  <codec_priority_list idx="1" perm="RW">pcmu,pcma,gsm,g722,g726-32,g729,telephone-event</codec_priority_list>
  <codec_size idx="1" perm="RW">20</codec_size>
  <keyboard_lock_emergency idx="1"></keyboard_lock_emergency>
  <stun_server idx="1" perm="R"></stun_server>
  <user_dtmf_info idx="1" perm="R">off</user_dtmf_info>
  <user_server_type idx="1" perm="R">pbxnsip</user_server_type>
  <user_subscription_expiry idx="1" perm="R">3600</user_subscription_expiry>
  <stun_binding_interval idx="1" perm="R"></stun_binding_interval>
  <user_dynamic_payload idx="1" perm="R">off</user_dynamic_payload>
  <dfks idx="1" perm="RW">on</dfks>
  <accept_event_talk_without_sdp idx="1" perm="RW">on</accept_event_talk_without_sdp>
  <record_missed_calls idx="1" perm="RW">on</record_missed_calls>
  <timezone perm="RW">USA-5</timezone>
  <dnd_on_code perm="RW"></dnd_on_code>
  <dnd_off_code perm="RW"></dnd_off_code>
  <utc_offset perm="RW">-18000</utc_offset>
  <dst perm="RW">3600 03.02.07 02:00:00 11.01.07 02:00:00</dst>
  <http_user perm="RW">admin</http_user>
  <http_pass perm="RW">coolpass</http_pass>
  <http_scheme perm="RW">off</http_scheme>

  <http_client_user perm="RW">00041371XXXX</http_client_user>
  <http_client_pass perm="RW">l04oisxr</http_client_pass>

  <with_flash perm="RW">off</with_flash>
  <language perm="RW">English</language>
  <web_language perm="RW">English</web_language>
  <tone_scheme perm="RW">USA</tone_scheme>
  <time_24_format perm="RW">on</time_24_format>
  <date_us_format perm="RW">off</date_us_format>
  <dialnumber_us_format perm="RW">off</dialnumber_us_format>
  <cw_dialtone perm="RW">off</cw_dialtone> 
  <multicast_listen perm="RW">on</multicast_listen>
  <mc_address idx="1" perm="RW"></mc_address>
  <mc_address idx="2" perm="RW"></mc_address>
  <mc_address idx="3" perm="RW"></mc_address>
  <mc_address idx="4" perm="RW"></mc_address>
  <mc_address idx="5" perm="RW"></mc_address>
  <mc_address idx="6" perm="RW"></mc_address>
  <mc_address idx="7" perm="RW"></mc_address>
  <mc_address idx="8" perm="RW"></mc_address>
  <mc_address idx="9" perm="RW"></mc_address>
  <mc_address idx="10" perm="RW"></mc_address>
  <codec_tos perm="RW">ef</codec_tos>
  <register_http_contact>on</register_http_contact>
  <update_policy perm="RW">auto_update</update_policy>
  <challenge_response perm="RW">off</challenge_response>
  <ntp_server perm="RW">pool.ntp.org</ntp_server>
  <block_url_dialing perm="RW">on</block_url_dialing>
  <transfer_on_hangup perm="RW">off</transfer_on_hangup>
  <ignore_security_warning perm="RW">on</ignore_security_warning>
  <answer_after_policy perm="RW">idle</answer_after_policy>
  <aoc_amount_display perm="RW">charged</aoc_amount_display>
  <admin_mode_password>1234</admin_mode_password>
  <admin_mode_password_confirm>1234</admin_mode_password_confirm>
  <cancel_desktop>on</cancel_desktop>
  <rtcp_xr>voip-metrics stat-summary=loss,dup,jitt</rtcp_xr>
  <auto_connect_indication_tone>off</auto_connect_indication_tone>
  <ldap_lookup_ringing>off</ldap_lookup_ringing>
  <ldap_sort_results>on</ldap_sort_results>
  <ldap_search_filter>(|(sn=%)(gn=%))</ldap_search_filter>
  <ldap_number_filter>(|(telephoneNumber=%)(mobile=%))</ldap_number_filter>
  <ldap_name_attributes>cn sn givenName</ldap_name_attributes>
  <ldap_number_attributes>telephoneNumber mobileTelephoneNumber</ldap_number_attributes>
  <ldap_display_name>%cn</ldap_display_name>
  <ldap_predict_text>off</ldap_predict_text>
  <perform_initial_query_in_ldap_state>on</perform_initial_query_in_ldap_state>
  <ldap_server>onetel.cooltel.com</ldap_server>
  <ldap_port>389</ldap_port>
  <ldap_base>ou=people</ldap_base>
  <ldap_username>onetel.cooltel.com\605</ldap_username>
  <ldap_password>if11rty3c</ldap_password>
  <ldap_max_hits>50</ldap_max_hits>
  <xml_notify>on</xml_notify> 
  <allow_rtp_on_mute>on</allow_rtp_on_mute>
  <phone_name>605@onetel.cooltel.com</phone_name>
  <admin_mode perm="">off</admin_mode>
  <attended_transfer_on_ringing>on</attended_transfer_on_ringing>
  <prioritise_pbx_number_lookup>off</prioritise_pbx_number_lookup>
  <dkey_directory perm="RW">keyevent F_DIRECTORY_SEARCH</dkey_directory>
  <dkey_menu perm="RW">url http://onetel.cooltel.com:80/snom/menu.xml?auth=basic</dkey_menu>
  <gui_fkey1>keyevent F_DIRECTORY_SEARCH</gui_fkey1>
  <gui_fkey2>keyevent F_CALL_LIST</gui_fkey2>
  <gui_fkey3>keyevent F_REDIRECT</gui_fkey3>
  <gui_fkey4>keyevent F_SETTINGS</gui_fkey4>
  <dfks perm="RW">on</dfks>
  <display_method>display_name_number</display_method>
  <call_screen_fkeys_on_connected perm="RW">F_TRANSFER F_HOLD F_REC F_DUAL_AUDIO F_CONF_ON F_NEXT_CALL_SCREEN</call_screen_fkeys_on_connected>
</phone-settings>

 

Link to comment
Share on other sites

  • 1 month later...
  • 2 weeks later...
  • 1 month later...

For those looking for  a  possible work-around for the time being is to copy/paste the phone-MAC.xml file from the generated folder into the extensions custom phone xml. e.g snom_745_phone.xml...etc

 

It seems like the first extension in the list gets the settings for both extensions, while the second identity phone-MAC.xml only generates for itself.

It may not be pretty if it's for the whole system, but for individual extensions it should work well enough.

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...