Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

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


git-svn-id: http://svn.asterisk.org/svn/asterisk/trunk@305988 f38db490-d61c-443f-a65b-d21fe96a405b
  • Loading branch information...
commit b3116a588897e9ca65d3cdcc8caf6f7d2b64d163 1 parent 721989f
@lathama lathama authored
Showing with 28 additions and 0 deletions.
  1. +4 −0 configs/phoneprov.conf.sample
  2. +24 −0 phoneprov/snom-mac.xml
View
4 configs/phoneprov.conf.sample
@@ -131,3 +131,7 @@ ${MAC}-phone.cfg => 000000000000-phone.cfg ; (relative to AST_DATA_DIR/phonepr
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
+
View
24 phoneprov/snom-mac.xml
@@ -0,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>
Please sign in to comment.
Something went wrong with that request. Please try again.