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: https://origsvn.digium.com/svn/asterisk/trunk@305988 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
parent
f71322f239
commit
652fb64a01
|
@ -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
|
||||
|
||||
|
|
|
@ -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>
|
Loading…
Reference in New Issue