Koozali.org: home of the SME Server

Snom 360 Auto Provisioning Central Directory

Offline d6hq

  • ***
  • 52
  • +0/-0
Snom 360 Auto Provisioning Central Directory
« on: March 20, 2009, 06:04:45 PM »
http://sarkpbx.com/twiki/bin/view/Main/DocChapterHdrs#Universal_Directories - talks about the central directory being available to Snom & Aastra phones and finishes up by saying

"Once "committed", the central directory and speed dial register are synthesised into the correct format for each supported phone type and loaded to the tftp/http provisioning entries for each phone on the system. The next time a phone is rebooted, the directory and speed dial data will be automatically loaded."

Having made a few tests with a Snom 360 I can't see that there is any change is being written to the provisioning file. Does it actually nned adding manually and if so can you provide guidance on the syntax ?


Not new to SME - we hack IBM Lotus Domino into it on a regular basis - but new to Sail

Offline SARK devs

  • *****
  • 2,806
  • +1/-0
    • http://sarkpbx.com
Re: Snom 360 Auto Provisioning Central Directory
« Reply #1 on: March 20, 2009, 10:00:57 PM »
works just fine here.

Add your entries to seldir.conf and commit them.  Your tftp file entries will be auto updated to include the numbers.  Of course it only works for phones which are being provisioned (i.e. you provided a MAC address when you created the phone).

here is sample seldir...

Code: [Select]
#
# Local Directories
#
Ayliffe Will, xxxx xxx xxx
Bengolea Cora, xxxx xxx xxx
Birchall John, xxxx xxx xxx
Boagey Ray, xxxx xxx xxx
 

Here is the tftp entry for a phone with the MAC address 0004132483CF.  The cirrectly formed tftp file name for tis phone will be snom320-0004132483CF.htm...

Code: [Select]
<html>
<pre>
user_realname1: Snom
user_name1: 4020
user_host1: 192.168.1.210
user_pname1: 4020
user_pass1: ztwpLltu
user_ringer1$: Ringer6
record_missed_calls1$: off
user_outbound1: 192.168.1.210
ntp_server$: pool.ntp.org
utc_offset$: 0
language$: English
tone_scheme$: GBR
dkey_retrieve!: speed *50*
call_waiting$: visual
date_us_format$: off
challenge_response$: off
fkey0$: line
fkey1$: line
fkey2$: dest
fkey3$: dest
fkey4$: dest
fkey5$: speed *8
fkey6$: dest
fkey7$: dest
fkey8$: dest
fkey9$: dest
fkey10$: dest
fkey11$: dest
speed1$: zzzzzzzzzz
tu_0$: xxxxxxxxxx
tn_0$: Ayliffe Will
tc_0$: None
to_0$: Active
tu_1$: xxxxxxxxxx
tn_1$: Bengolea Cora
tc_1$: None
to_1$: Active
tu_2$: xxxxxxxxxx
tn_2$: Birchall John
tc_2$: None
to_2$: Active
tu_3$: xxxxxxxxxx
tn_3$: Boagey Ray
tc_3$: None
to_3$: Active
</pre>
</html>

The SNOM is a complex old beast,  and without getting into the detail of how it provisions its phone directory, you can clearly see the provisioning entries have been added to the Snom provisioning file.

Now you have to reset the phone to force it to re-read the provisioning data and you are all done.  Most of our SNOM customers use these directories to a greater or lesser degree.  Others use Exchange server or SBS directly over LDAP (in which case the phone stores nothing).

Best

S
« Last Edit: April 20, 2009, 02:47:40 PM by chris burnat »

Offline d6hq

  • ***
  • 52
  • +0/-0
Re: Snom 360 Auto Provisioning Central Directory
« Reply #2 on: March 23, 2009, 11:07:42 AM »
Thanks I have now examined the file by hand and yes you are correct the directory is there. What is not clear now is how you access it from the Snom? Presumably you need to programme a button but what is the code behind it? In our Epygi install it is http://ipaddress/xmlservice.cgi?ipphone=snom&extensions=,11
Not new to SME - we hack IBM Lotus Domino into it on a regular basis - but new to Sail

Offline SARK devs

  • *****
  • 2,806
  • +1/-0
    • http://sarkpbx.com
Re: Snom 360 Auto Provisioning Central Directory
« Reply #3 on: March 23, 2009, 11:35:54 AM »
press the directory button.  Then type the first letter of the name on the keypad or use the up/down arrows to browse.

Best

S

Offline d6hq

  • ***
  • 52
  • +0/-0
Re: Snom 360 Auto Provisioning Central Directory
« Reply #4 on: March 23, 2009, 11:42:56 AM »
@Selintra

I am not that stupid that was the first thing I tried. This may be a firmware issue on the Snom - these are running snom360-SIP 7.1.30 - if memory serves it changes what is behind the directory button to F_ADR_BOOK which is the phone's internal address book unless you repoint it to the system directory as done with the Epygi
Not new to SME - we hack IBM Lotus Domino into it on a regular basis - but new to Sail

Offline SARK devs

  • *****
  • 2,806
  • +1/-0
    • http://sarkpbx.com
Re: Snom 360 Auto Provisioning Central Directory
« Reply #5 on: March 23, 2009, 02:29:18 PM »
Not suggestiing you are stupid.  Simply telling you how it works.  F_ADR_BOOK is where the entries are.  All our phones are at R7 (UK Snom distributor is also UK SARK distributor, we use a lot of Snoms) .  The phones load the entire directory each time they boot.   If you want central directory you can use Snom LDAP to MS Exchange, SBS or some other LDAP server.





 

Offline jono

  • *
  • 10
  • +0/-0
Re: Snom 360 Auto Provisioning Central Directory
« Reply #6 on: November 07, 2009, 06:51:59 PM »
Sorry to revive an old topic....

So, I've let the PBX provision the handsets; the PBX is also acting as DHCP server.

I can provision the speed dials for Snom handsets but not the directories.

Any changes to seldir.conf do get reflected as described in the file whose name contains the MAC address of the phone, however, the directory of the handsets stay empty.

Offline SARK devs

  • *****
  • 2,806
  • +1/-0
    • http://sarkpbx.com
Re: Snom 360 Auto Provisioning Central Directory
« Reply #7 on: November 07, 2009, 08:56:35 PM »
Which firmware release is your 360 running?

Offline jono

  • *
  • 10
  • +0/-0
Re: Snom 360 Auto Provisioning Central Directory
« Reply #8 on: November 08, 2009, 02:14:21 PM »
I didn't make that very clear - it's not a Snom 360 I'm trying with, it's a 300. Version 7 something.

Is it necessary to reset the phone for it to pull down the directory, or is a reboot sufficent?

BTW, is there any way to avoid having to enter the CATCHPA info for replies to this forum? It's very annoying, especially as TAB is disabled.

Offline SARK devs

  • *****
  • 2,806
  • +1/-0
    • http://sarkpbx.com
Re: Snom 360 Auto Provisioning Central Directory
« Reply #9 on: November 08, 2009, 04:51:58 PM »
Quote
Version 7 something.

Snom phones (like Cisco and a few others) recognize two provisioning languages; a proprietary one and an XML based one (and shortly a third, which is TR-069 based).  Up until V7, directory entries could be specified using the proprietary language but Snom withdrew this support in 7.

If you look at the provisioning file for your Snom on the TFTP server you will see that the directory entries are there, its just that the phone ignores them.

So, you have a couple of choices; you can wait for a near release of SARK/SAIL, which gives you the option to use XML provisioning for the Snom directory (work done... not sure when we'll release it), or you can use LDAP for your directory functions (you can find details on the Snom Wiki and we will publish an LDAP how-to for Snoms in the near future. 

Kind Regards


     

Offline jono

  • *
  • 10
  • +0/-0
Re: Snom 360 Auto Provisioning Central Directory
« Reply #10 on: November 08, 2009, 05:17:30 PM »
Ah OK., That makes sense.

Plan C it is, then.