Jump to content

Recommended Posts

Posted

Hello,

 

We are having major difficulties getting a phone to provision and register with the Snom One Plus. We have gone into the snomONE Plus Administration interface and cleared all registration and MACs for a specific extension. We then set the extension (under the Extension List --> Check box for specific extension --> MORE ACTIONS --> Open Accounts for MAC-based provisioning) to allow MAC based provisioning, this sets the MAC field to "*". Then we reset the phone to factory defaults. After a lengthy reboot and provisioning feature, the phone will appear with the correct MAC address in the Extension list and phone is accessable, looks configured (has the Extension's name on the display with correct number, going into the phone's interface shows all the correct information), but does not register.

 

When I check the phone, it looks like the snomONE Plus is grabbing the phone and configuring it correctly, but the Identity does not register. Clicking "Re-Register" does not work, and when I checked the "SIP Trace" log file on the PHONE, I see it try to register but the PBX returns an error "SIP/2.0 403 Forbidden".

 

This is the SIP Trace Log from the snom 720:

Sent to udp:224.0.1.75:5060 at 1/1/1970 00:00:39:265 (460 bytes):

SUBSCRIBE sip:MAC%3a0004137036C0@localhost SIP/2.0
Via: SIP/2.0/UDP 172.16.1.101:54490;rport
From: <sip:MAC%3a0004137036C0@localhost>;tag=190493043
To: <sip:MAC%3a0004137036C0@localhost>
Call-ID: 162237950@172.16.1.101
CSeq: 1 SUBSCRIBE
Event: ua-profile;profile-type="device";vendor="snom";model="snom720";version="8.7.3.25.5"
Expires: 0
Accept: application/url
Contact: <sip:172.16.1.101:54490>
User-Agent: snom720/8.7.3.25.5
Content-Length: 0

Received from udp:172.16.1.5:5060 at 1/1/1970 00:00:39:272 (304 bytes):

SIP/2.0 202 Accepted
Via: SIP/2.0/UDP 172.16.1.101:54490;rport=54490
From: <sip:MAC%3a0004137036C0@localhost>;tag=190493043
To: <sip:MAC%3a0004137036C0@localhost>
Call-ID: 162237950@172.16.1.101
CSeq: 1 SUBSCRIBE
Contact: <sip:172.16.1.5:5060>
Event: ua-profile
Expires: 30
Content-Length: 0

Received from udp:172.16.1.5:5060 at 1/1/1970 00:00:39:275 (512 bytes):

NOTIFY sip:172.16.1.101:54490 SIP/2.0
Via: SIP/2.0/UDP 172.16.1.5:5060;branch=z9hG4bK-7a54deb17ab4a1ea4f1f0ea4c26a860e;rport
From: <sip:MAC%3a0004137036C0@localhost>
To: <sip:MAC%3a0004137036C0@localhost>;tag=190493043
Call-ID: 162237950@172.16.1.101
CSeq: 431885632 NOTIFY
Max-Forwards: 70
Contact: <sip:172.16.1.5:5060>
Subscription-State: active
Event: ua-profile
User-Agent: Vodia-PBX/5.2.2
Content-Type: application/url
Content-Length: 53

https://172.16.1.5:9091/prov/snom720-0004137036C0.htm

Sent to udp:172.16.1.5:5060 at 1/1/1970 00:00:39:721 (283 bytes):

SIP/2.0 200 Ok
Via: SIP/2.0/UDP 172.16.1.5:5060;branch=z9hG4bK-7a54deb17ab4a1ea4f1f0ea4c26a860e;rport=5060
From: <sip:MAC%3a0004137036C0@localhost>
To: <sip:MAC%3a0004137036C0@localhost>;tag=190493043
Call-ID: 162237950@172.16.1.101
CSeq: 431885632 NOTIFY
Content-Length: 0

Sent to tls:172.16.1.5:5061 at 11/6/2014 18:48:59:006 (660 bytes):

REGISTER sip:hvcoc.company.com SIP/2.0
Via: SIP/2.0/TLS 172.16.1.101:59686;branch=z9hG4bK-5qeoi1jdm871;rport
From: "Jennifer Monpetit" <sip:30@hvcoc.company.com>;tag=vav84icdop
To: "Jennifer Monpetit" <sip:30@hvcoc.company.com>
Call-ID: 2c00000097a6-hcy83vblpuey
CSeq: 1 REGISTER
Max-Forwards: 70
Contact: <sip:30@172.16.1.101:59686;transport=tls;line=05psuu82>;q=1.0;reg-id=1;+sip.instance="<urn:uuid:9643b309-4b63-457d-8ca8-0004137036C0>"
User-Agent: snom720/8.7.3.25.5
Allow-Events: dialog
X-Real-IP: 172.16.1.101
Supported: path, gruu
Proxy-Require: buttons-snom720
WWW-Contact: <https://172.16.1.101:443>
Expires: 3600
Content-Length: 0

Received from tls:172.16.1.5:5061 at 11/6/2014 18:49:00:328 (492 bytes):

SIP/2.0 401 Authentication Required
Via: SIP/2.0/TLS 172.16.1.101:59686;branch=z9hG4bK-5qeoi1jdm871;rport=59686
From: "Jennifer Monpetit" <sip:30@hvcoc.company.com>;tag=vav84icdop
To: "Jennifer Monpetit" <sip:30@hvcoc.company.com>;tag=7b4c36a096
Call-ID: 2c00000097a6-hcy83vblpuey
CSeq: 1 REGISTER
User-Agent: Vodia-PBX/5.2.2
WWW-Authenticate: Digest realm="hvcoc.company.com",nonce="b6bb9d448f0739cbdc6ad0192147158c",domain="sip:hvcoc.company.com",algorithm=MD5
Content-Length: 0

Sent to tls:172.16.1.5:5061 at 11/6/2014 18:49:00:341 (850 bytes):

REGISTER sip:hvcoc.company.com SIP/2.0
Via: SIP/2.0/TLS 172.16.1.101:59686;branch=z9hG4bK-398dqlumzele;rport
From: "Jennifer Monpetit" <sip:30@hvcoc.company.com>;tag=vav84icdop
To: "Jennifer Monpetit" <sip:30@hvcoc.company.com>
Call-ID: 2c00000097a6-hcy83vblpuey
CSeq: 2 REGISTER
Max-Forwards: 70
Contact: <sip:30@172.16.1.101:59686;transport=tls;line=05psuu82>;q=1.0;reg-id=1;+sip.instance="<urn:uuid:9643b309-4b63-457d-8ca8-0004137036C0>"
User-Agent: snom720/8.7.3.25.5
Allow-Events: dialog
X-Real-IP: 172.16.1.101
Supported: path, gruu
Authorization: Digest username="30",realm="hvcoc.company.com",nonce="b6bb9d448f0739cbdc6ad0192147158c",uri="sip:hvcoc.company.com",response="72fdec6ff15f13d8282fb96ff123f874",algorithm=MD5
Proxy-Require: buttons-snom720
WWW-Contact: <https://172.16.1.101:443>
Expires: 3600
Content-Length: 0

Received from tls:172.16.1.5:5061 at 11/6/2014 18:49:00:348 (330 bytes):

SIP/2.0 403 Forbidden
Via: SIP/2.0/TLS 172.16.1.101:59686;branch=z9hG4bK-398dqlumzele;rport=59686
From: "Jennifer Monpetit" <sip:30@hvcoc.company.com>;tag=vav84icdop
To: "Jennifer Monpetit" <sip:30@hvcoc.company.com>;tag=7b4c36a096
Call-ID: 2c00000097a6-hcy83vblpuey
CSeq: 2 REGISTER
Retry-After: 3600
Content-Length: 0

Any ideas as to why it would provision, but fail to register?

Posted

Can you remove the generated folder for that extension, reset the phone to factory default and retry to provisioning the phone.

There is no need to open mac based provisioning, the snom 720 already has built in certificates. You can add the PBX IP in the update URL of the phone

http://192.168.x.x

 

The other procedure would be to use the PNP lan provisioning shown here.

 

http://vodia.com/documentation/pnp_lan_prov

 

 

You can also reset the phone and register the phone manually and see if there is a different in authentication behavior.

If you're WAN provisioning then maybe you can send us a PM with the credential and we can try to Prov a phone here.

Posted

Thanks, just to confirm, you mean to remove the directory here?

[superadmin@snomONE hvcoc.company.com]$ pwd
/usr/local/snomONE/generated/hvcoc.company.com
[superadmin@snomONE hvcoc.company.com]$ ls
21  22  23  28  30  31  32  33  34  35  36  38  39  40
[superadmin@snomONE hvcoc.company.com]$

And to confirm the update url, is under "Advanced" --> "Update" tab?

Posted

Should I delete the extension in the snomOne Interface?

 

Here is the generated xml file:

[superadmin@snomONE hvcoc.company.com]$ cat 30/snom_720_phone-0004137036C0.xml
<?xml version="1.0" encoding="utf-8"?>
<phone-settings>
  <user_active idx="1" perm="RW">on</user_active>
  <using_server_managed_dnd idx="1" perm="RW">on</using_server_managed_dnd>
  <user_realname idx="1" perm="RW">Jennifer Monpetit</user_realname>
  <user_idle_text idx="1" perm="RW">30: Jennifer Monpetit</user_idle_text>
  <user_name idx="1" perm="RW">30</user_name>
  <user_pname idx="1" perm="RW">30</user_pname>
  <user_host idx="1" perm="RW">hvcoc.company.com</user_host>
  <user_pass idx="1" perm="RW">123456</user_pass>
  <user_mailbox idx="1" perm="RW">30</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_proxy_require idx="1" perm="RW">buttons-snom720</user_proxy_require>
  <user_outbound idx="1" perm="RW">sip:172.16.1.5:5061;transport=tls</user_outbound>
  <user_dp_str idx="1" perm="RW"></user_dp_str>
  <codec1_name idx="1" perm="RW">9</codec1_name>
  <codec2_name idx="1" perm="RW">0</codec2_name>
  <codec3_name idx="1" perm="RW">8</codec3_name>
  <codec4_name idx="1" perm="RW">2</codec4_name>
  <codec5_name idx="1" perm="RW">3</codec5_name>
  <codec6_name idx="1" perm="RW">18</codec6_name>
  <codec7_name idx="1" perm="RW">4</codec7_name>
  <codec_size idx="1" perm="RW">20</codec_size>
  <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>
  <record_missed_calls idx="1" perm="RW">on</record_missed_calls>
  <timezone perm="RW">USA</timezone>
  <dnd_on_code perm="RW">*78</dnd_on_code>
  <dnd_off_code perm="RW">*79</dnd_off_code>
  <utc_offset perm="RW">-18000</utc_offset>
  <dst perm="RW">3600 3.2.7 2:0:0 11.1.7 2:0:0</dst>
  <http_user perm="RW">admin</http_user>
  <http_pass perm="RW">KdRI8no%)fuTCcqM</http_pass>
  <http_client_user perm="RW">30@hvcoc.company.com</http_client_user>
  <http_client_pass perm="RW">1234</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">off</time_24_format>
  <date_us_format perm="RW">on</date_us_format>
  <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">184</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">172.16.1.5</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>7870650279</admin_mode_password>
  <admin_mode_password_confirm>7870650279</admin_mode_password_confirm>
  <cancel_desktop>on</cancel_desktop>
  <dfks>on</dfks>
  <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>172.16.1.5</ldap_server>
  <ldap_port>389</ldap_port>
  <ldap_base>ou=people</ldap_base>
  <ldap_username>hvcoc.company.com\30</ldap_username>
  <ldap_password>1234</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>30@hvcoc.company.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://172.16.1.5:/snom/menu.xml?auth=basic</dkey_menu>
  <gui_fkey4>keyevent F_SETTINGS</gui_fkey4>
  <cw_dialtone perm="RW">off</cw_dialtone>
Posted

Also... I can't remove the folder under "/usr/local/snomONE/generated/hvcoc.company.com" for the extension because it's owned by root:

[superadmin@snomONE hvcoc.company.com]$ ls -la
total 64
drwxr-xr-t 16 root root 4096 Jun 10 22:06 .
drwxrwxrwx  3 root root 4096 Apr 16  2013 ..
drwxr-xr-t  2 root root 4096 Mar 23 06:36 21
drwxr-xr-t  2 root root 4096 Mar 22 19:02 22
drwxr-xr-t  2 root root 4096 Jan  6 17:19 23
drwxr-xr-t  2 root root 4096 Nov 18  2013 28
drwxr-xr-t  2 root root 4096 Jun 11  2014 30
drwxr-xr-t  2 root root 4096 Jun 11  2014 31
drwxr-xr-t  2 root root 4096 Mar 23 02:40 32
drwxr-xr-t  2 root root 4096 Feb 21 18:54 33
drwxr-xr-t  2 root root 4096 Feb 21 18:55 34
drwxr-xr-t  2 root root 4096 Feb 21 19:26 35
drwxr-xr-t  2 root root 4096 Apr 14 19:31 36
drwxr-xr-t  2 root root 4096 Jun 10 22:43 38
drwxr-xr-t  2 root root 4096 Jun 10 22:06 39
drwxr-xr-t  2 root root 4096 Apr 16  2013 40

Since the root password is secret, sudoers isn't setup to allow "rm", how else would I remove it?

Posted

Deleting the re-adding the phone within the snomONE Plus administration interface resolved the issue. But unfortunately, I believe this also erase the existing messages for the extension. How would we do this without losing an extensions messages? One of our client has 50+ messages (thankfully this didn't happen to hers), and I would hate to have this done with hers.

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