From 2717ba47a7494e49a5aa59c3c0191918e75dbf29 Mon Sep 17 00:00:00 2001 From: AlexK Date: Sun, 20 Nov 2022 13:06:33 +0500 Subject: [PATCH] Add cisco-69xx confs --- .../profiles/cisco-3905-profile-static.cfg | 3 +- .../asterprov/templates/cisco-3905-tmpl.cfg | 21 +- .../profiles/cisco-69xx-profile-dynamic.cfg | 2 + .../profiles/cisco-69xx-profile-static.cfg | 2 + .../asterprov/templates/cisco-69xx-tmpl.cfg | 58 +++ phones/cisco/cisco-69xx/orig/SEP_MAC.cnf.xml | 373 ++++++++++++++++++ 6 files changed, 444 insertions(+), 15 deletions(-) create mode 100644 phones/cisco/cisco-69xx/asterprov/profiles/cisco-69xx-profile-dynamic.cfg create mode 100644 phones/cisco/cisco-69xx/asterprov/profiles/cisco-69xx-profile-static.cfg create mode 100644 phones/cisco/cisco-69xx/asterprov/templates/cisco-69xx-tmpl.cfg create mode 100644 phones/cisco/cisco-69xx/orig/SEP_MAC.cnf.xml diff --git a/phones/cisco/cisco-3905/asterprov/profiles/cisco-3905-profile-static.cfg b/phones/cisco/cisco-3905/asterprov/profiles/cisco-3905-profile-static.cfg index be2f818..5b86222 100644 --- a/phones/cisco/cisco-3905/asterprov/profiles/cisco-3905-profile-static.cfg +++ b/phones/cisco/cisco-3905/asterprov/profiles/cisco-3905-profile-static.cfg @@ -1,3 +1,2 @@ mime_type => text/xml, text/plain -static_file => MAC_ADDR_1.cnf.xml -static_file => MAC_ADDR_2.cnf.xml +static_file => SEP${TOLOWER(${MAC})}.cnf.xml diff --git a/phones/cisco/cisco-3905/asterprov/templates/cisco-3905-tmpl.cfg b/phones/cisco/cisco-3905/asterprov/templates/cisco-3905-tmpl.cfg index d943452..cc01927 100644 --- a/phones/cisco/cisco-3905/asterprov/templates/cisco-3905-tmpl.cfg +++ b/phones/cisco/cisco-3905/asterprov/templates/cisco-3905-tmpl.cfg @@ -2,11 +2,6 @@ SIP - - - 2017o - tzdatacsv.csv - D.M.Y HH:MM Etc/GMT+5 @@ -22,14 +17,14 @@ - - - ${SERVER_PORT} - 5061 - - ${SERVER} - - + + + ${SERVER_PORT} + 5061 + + ${SERVER} + + diff --git a/phones/cisco/cisco-69xx/asterprov/profiles/cisco-69xx-profile-dynamic.cfg b/phones/cisco/cisco-69xx/asterprov/profiles/cisco-69xx-profile-dynamic.cfg new file mode 100644 index 0000000..c13c4e7 --- /dev/null +++ b/phones/cisco/cisco-69xx/asterprov/profiles/cisco-69xx-profile-dynamic.cfg @@ -0,0 +1,2 @@ +mime_type => text/xml, text/plain +SEP${TOLOWER(${MAC})}.cnf.xml => cisco-69xx-tmpl.cfg diff --git a/phones/cisco/cisco-69xx/asterprov/profiles/cisco-69xx-profile-static.cfg b/phones/cisco/cisco-69xx/asterprov/profiles/cisco-69xx-profile-static.cfg new file mode 100644 index 0000000..5b86222 --- /dev/null +++ b/phones/cisco/cisco-69xx/asterprov/profiles/cisco-69xx-profile-static.cfg @@ -0,0 +1,2 @@ +mime_type => text/xml, text/plain +static_file => SEP${TOLOWER(${MAC})}.cnf.xml diff --git a/phones/cisco/cisco-69xx/asterprov/templates/cisco-69xx-tmpl.cfg b/phones/cisco/cisco-69xx/asterprov/templates/cisco-69xx-tmpl.cfg new file mode 100644 index 0000000..6e11660 --- /dev/null +++ b/phones/cisco/cisco-69xx/asterprov/templates/cisco-69xx-tmpl.cfg @@ -0,0 +1,58 @@ + + SIP + + + D.M.Y + HH:MM + Etc/GMT+05 + + + ${SERVER} + Unicast + + + + + + + G711a + 101 + 3 + avt + 10000 + 20000 + + 6 + 10 + 180 + 600 + 5 + 120 + 120 + 5 + + + + ${USERNAME} + ${USERNAME} + ${USERNAME} + ${SECRET} + ${USERNAME} + + + + \ No newline at end of file diff --git a/phones/cisco/cisco-69xx/orig/SEP_MAC.cnf.xml b/phones/cisco/cisco-69xx/orig/SEP_MAC.cnf.xml new file mode 100644 index 0000000..25ff66f --- /dev/null +++ b/phones/cisco/cisco-69xx/orig/SEP_MAC.cnf.xml @@ -0,0 +1,373 @@ + + +SIP + + + + + + + +2010o + +tzdatacsv.csv + + + +D.M.Y + +HH:MM + +Etc/GMT+05 + + + + + +адрес_NTP_сервера + +Unicast + + + + + + + + + + + +Russian_Russian_Federation + + + +ru_RU + + + +utf-8 + + + +Russian_Federation + + + +Russian_Federation + + + + + + + + + + + + + + + + + +5060 + +5061 + + + +адрес_сервера_Asterisk + + + + + + + + + + + + + + + + + + + + + + + + + +true + + + + + +true + +x-serviceuri-cfwdall + +x-cisco-serviceuri-pickup + +x-cisco-serviceuri-opickup + +x-cisco-serviceuri-gpickup + +x-cisco-serviceuri-meetme + +x-cisco-serviceuri-abbrdial + +false + +2 + +true + +true + +2 + +2 + +0 + +true + + + + + +6 + +10 + +180 + +3600 + +5 + +120 + +120 + +5 + +500 + +4000 + +70 + +true + +None + + + +1 + +false + +true + +false + +false + +none + +101 + +3 + +avt + +false + +false + +3 + +false + + + +SIP_ID + +0 + +false + +10 + +false + +36600 + +39989 + + + + + +9 + +SIP_ID + +адрес_сервера_Asterisk + +5060 + +SIP_ID + +SIP_ID + + + +2 + + + +3 + +SIP_ID + +пароль + +false + +1 + +80 + +4 + +5 + +SIP_ID + + + +true + +true + +false + +true + + + + + + + +5060 + +184 + +0 + +dialplan.xml + + + + + + + +true + +1 + + + +SIP69xx.9-4-1-3 + + + +false + +false + +0 + +1 + +0 + +0 + +0 + +0 + +1 + +1 + +1 + + + + + + + + + + + + + + + +1 + + + + + + + + + + + + + + + +96 + +0 + +96 + +2 + +0 + + + + + +3804 + + + + + + + +false + + \ No newline at end of file