[asterisk-commits] lathama: trunk r305988 - in /trunk: configs/ phoneprov/
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Thu Feb 3 10:13:44 CST 2011
Author: lathama
Date: Thu Feb 3 10:13:40 2011
New Revision: 305988
URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=305988
Log:
res_phoneprov add snom 300, 320, 360, 370, 820, 821, 870 support
(issue #18713)
Reported by: lathama
Patches:
snom_dir.diff uploaded by lathama (license 1028)
Tested by: lathama
Added:
trunk/phoneprov/snom-mac.xml (with props)
Modified:
trunk/configs/phoneprov.conf.sample
Modified: trunk/configs/phoneprov.conf.sample
URL: http://svnview.digium.com/svn/asterisk/trunk/configs/phoneprov.conf.sample?view=diff&rev=305988&r1=305987&r2=305988
==============================================================================
--- trunk/configs/phoneprov.conf.sample (original)
+++ trunk/configs/phoneprov.conf.sample Thu Feb 3 10:13:40 2011
@@ -131,3 +131,7 @@
config/${MAC} => polycom.xml ; Dynamic Filename => template file
${MAC}-directory.xml => 000000000000-directory.xml
setvar => CUSTOM_CONFIG=/var/lib/asterisk/phoneprov/configs/custom.cfg ; Custom variable
+
+;snom 300, 320, 360, 370, 820, 821, 870 support
+snom-${MAC}.xml => snom-mac.xml
+
Added: trunk/phoneprov/snom-mac.xml
URL: http://svnview.digium.com/svn/asterisk/trunk/phoneprov/snom-mac.xml?view=auto&rev=305988
==============================================================================
--- trunk/phoneprov/snom-mac.xml (added)
+++ trunk/phoneprov/snom-mac.xml Thu Feb 3 10:13:40 2011
@@ -1,0 +1,24 @@
+<?xml version="1.0" encoding="utf-8"?>
+<settings>
+ <phone-settings>
+ <utc_offset perm="">${TZOFFSET}</utc_offset>
+ <dst perm="">3600 ${DST_START_MONTH}.${DST_START_MDAY}.${DST_START_HOUR} 00:00:00 ${DST_END_MONTH}.${DST_END_MDAY}.${DST_END_HOUR} 00:00:00</dst>
+ <challenge_response perm="">off</challenge_response>
+ <filter_registrar perm="">off</filter_registrar>
+ <publish_presence perm="">on</publish_presence>
+ <user_realname idx="1" perm="">${DISPLAY_NAME}</user_realname>
+ <user_name idx="1" perm="">${USERNAME}</user_name>
+ <user_host idx="1" perm="">${SERVER}</user_host>
+ <user_pname idx="1" perm="">${USERNAME}</user_pname>
+ <user_pass idx="1" perm="">${SECRET}</user_pass>
+ <user_outbound idx="1" perm="">${SERVER}</user_outbound>
+ <user_server_type idx="1" perm="">asterisk</user_server_type>
+ </phone-settings>
+ <functionKeys></functionKeys>
+ <tbook>${PP_EACH_USER(
+ <item context="active" type="none" index="">
+ <name>%{DISPLAY_NAME}</name>
+ <number>%{CALLERID}</number>
+ </item>,${MAC})}
+ </tbook>
+</settings>
Propchange: trunk/phoneprov/snom-mac.xml
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: trunk/phoneprov/snom-mac.xml
------------------------------------------------------------------------------
svn:keywords = lathama 20110203
Propchange: trunk/phoneprov/snom-mac.xml
------------------------------------------------------------------------------
svn:mime-type = text/xml
More information about the asterisk-commits
mailing list