Add cisco-69xx confs

This commit is contained in:
AlexK 2022-11-20 13:06:33 +05:00
parent e8d9ae3c1a
commit 2717ba47a7
6 changed files with 444 additions and 15 deletions

View File

@ -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

View File

@ -2,11 +2,6 @@
<deviceProtocol>SIP</deviceProtocol>
<devicePool>
<dateTimeSetting>
<!--настройки даты времени и синхронизации с ntp-->
<tzdata>
<tzolsonversion>2017o</tzolsonversion>
<tzupdater>tzdatacsv.csv</tzupdater>
</tzdata>
<dateTemplate>D.M.Y</dateTemplate>
<timeTemplate>HH:MM</timeTemplate>
<olsonTimeZone>Etc/GMT+5</olsonTimeZone>
@ -22,14 +17,14 @@
<callManagerGroup>
<members>
<member priority="0">
<callManager>
<ports>
<sipPort>${SERVER_PORT}</sipPort>
<securedSipPort>5061</securedSipPort>
</ports>
<processNodeName>${SERVER}</processNodeName>
</callManager>
</member>
<callManager>
<ports>
<sipPort>${SERVER_PORT}</sipPort>
<securedSipPort>5061</securedSipPort>
</ports>
<processNodeName>${SERVER}</processNodeName>
</callManager>
</member>
</members>
</callManagerGroup>
<!--SIP-Profile-Settings-->

View File

@ -0,0 +1,2 @@
mime_type => text/xml, text/plain
SEP${TOLOWER(${MAC})}.cnf.xml => cisco-69xx-tmpl.cfg

View File

@ -0,0 +1,2 @@
mime_type => text/xml, text/plain
static_file => SEP${TOLOWER(${MAC})}.cnf.xml

View File

@ -0,0 +1,58 @@
<device>
<deviceProtocol>SIP</deviceProtocol>
<devicePool>
<dateTimeSetting>
<dateTemplate>D.M.Y</dateTemplate>
<timeTemplate>HH:MM</timeTemplate>
<olsonTimeZone>Etc/GMT+05</olsonTimeZone>
<ntps>
<ntp>
<name>${SERVER}</name>
<ntpMode>Unicast</ntpMode>
</ntp>
</ntps>
</dateTimeSetting>
</devicePool>
<!--Set-Asterisk-User-Call-Manager->
<callManagerGroup>
<members>
<member priority="0">
<callManager>
<ports>
<sipPort>${SERVER_PORT}</sipPort>
<securedSipPort>5061</securedSipPort>
</ports>
<processNodeName>${SERVER}</processNodeName>
</callManager>
</member>
</members>
</callManagerGroup>
<!--SIP-Profile-Settings-->
<sipProfile>
<preferredCodec>G711a</preferredCodec>
<dtmfAvtPayload>101</dtmfAvtPayload>
<dtmfDbLevel>3</dtmfDbLevel>
<dtmfOutofBand>avt</dtmfOutofBand>
<startMediaPort>10000</startMediaPort>
<stopMediaPort>20000</stopMediaPort>
<sipStack>
<sipInviteRetx>6</sipInviteRetx>
<sipRetx>10</sipRetx>
<timerInviteExpires>180</timerInviteExpires>
<timerRegisterExpires>600</timerRegisterExpires>
<timerRegisterDelta>5</timerRegisterDelta>
<timerKeepAliveExpires>120</timerKeepAliveExpires>
<timerSubscribeExpires>120</timerSubscribeExpires>
<timerSubscribeDelta>5</timerSubscribeDelta>
</sipStack>
<sipLines>
<line button="1">
<name>${USERNAME}</name>
<displayName>${USERNAME}</displayName>
<authName>${USERNAME}</authName>
<authPassword>${SECRET}</authPassword>
<contact>${USERNAME}</contact>
</line>
</sipLines>
</sipProfile>
</device>

View File

@ -0,0 +1,373 @@
<device>
<deviceProtocol>SIP</deviceProtocol>
<devicePool>
<dateTimeSetting>
<tzdata>
<tzolsonversion>2010o</tzolsonversion>
<tzupdater>tzdatacsv.csv</tzupdater>
</tzdata>
<dateTemplate>D.M.Y</dateTemplate>
<timeTemplate>HH:MM</timeTemplate>
<olsonTimeZone>Etc/GMT+05</olsonTimeZone>
<ntps>
<ntp>
<name>адрес_NTP_сервера</name>
<ntpMode>Unicast</ntpMode>
</ntp>
</ntps>
</dateTimeSetting>
</devicePool>
<userLocale>
<name>Russian_Russian_Federation</name>
<uid></uid>
<langCode>ru_RU</langCode>
<version></version>
<winCharSet>utf-8</winCharSet>
</userLocale>
<networkLocale>Russian_Federation</networkLocale>
<networkLocaleInfo>
<name>Russian_Federation</name>
<uid></uid>
<version></version>
</networkLocaleInfo>
<callManagerGroup>
<members>
<member priority=»0″>
<callManager>
<ports>
<sipPort>5060</sipPort>
<securedSipPort>5061</securedSipPort>
</ports>
<processNodeName>адрес_сервера_Asterisk</processNodeName>
</callManager>
</member>
</members>
</callManagerGroup>
<sipProfile>
<sipProxies>
<backupProxy></backupProxy>
<backupProxyPort></backupProxyPort>
<emergencyProxy></emergencyProxy>
<emergencyProxyPort></emergencyProxyPort>
<outboundProxy></outboundProxy>
<outboundProxyPort></outboundProxyPort>
<registerWithProxy>true</registerWithProxy>
</sipProxies>
<sipCallFeatures>
<cnfJoinEnabled>true</cnfJoinEnabled>
<callForwardURI>x-serviceuri-cfwdall</callForwardURI>
<callPickupURI>x-cisco-serviceuri-pickup</callPickupURI>
<callPickupListURI>x-cisco-serviceuri-opickup</callPickupListURI>
<callPickupGroupURI>x-cisco-serviceuri-gpickup</callPickupGroupURI>
<meetMeServiceURI>x-cisco-serviceuri-meetme</meetMeServiceURI>
<abbreviatedDialURI>x-cisco-serviceuri-abbrdial</abbreviatedDialURI>
<rfc2543Hold>false</rfc2543Hold>
<callHoldRingback>2</callHoldRingback>
<localCfwdEnable>true</localCfwdEnable>
<semiAttendedTransfer>true</semiAttendedTransfer>
<anonymousCallBlock>2</anonymousCallBlock>
<callerIdBlocking>2</callerIdBlocking>
<dndControl>0</dndControl>
<remoteCcEnable>true</remoteCcEnable>
</sipCallFeatures>
<sipStack>
<sipInviteRetx>6</sipInviteRetx>
<sipRetx>10</sipRetx>
<timerInviteExpires>180</timerInviteExpires>
<timerRegisterExpires>3600</timerRegisterExpires>
<timerRegisterDelta>5</timerRegisterDelta>
<timerKeepAliveExpires>120</timerKeepAliveExpires>
<timerSubscribeExpires>120</timerSubscribeExpires>
<timerSubscribeDelta>5</timerSubscribeDelta>
<timerT1>500</timerT1>
<timerT2>4000</timerT2>
<maxRedirects>70</maxRedirects>
<remotePartyID>true</remotePartyID>
<userInfo>None</userInfo>
</sipStack>
<autoAnswerTimer>1</autoAnswerTimer>
<autoAnswerAltBehavior>false</autoAnswerAltBehavior>
<autoAnswerOverride>true</autoAnswerOverride>
<transferOnhookEnabled>false</transferOnhookEnabled>
<enableVad>false</enableVad>
<preferredCodec>none</preferredCodec>
<dtmfAvtPayload>101</dtmfAvtPayload>
<dtmfDbLevel>3</dtmfDbLevel>
<dtmfOutofBand>avt</dtmfOutofBand>
<alwaysUsePrimeLine>false</alwaysUsePrimeLine>
<alwaysUsePrimeLineVoiceMail>false</alwaysUsePrimeLineVoiceMail>
<kpml>3</kpml>
<natEnabled>false</natEnabled>
<natAddress></natAddress>
<phoneLabel>SIP_ID</phoneLabel>
<stutterMsgWaiting>0</stutterMsgWaiting>
<callStats>false</callStats>
<silentPeriodBetweenCallWaitingBursts>10</silentPeriodBetweenCallWaitingBursts>
<disableLocalSpeedDialConfig>false</disableLocalSpeedDialConfig>
<startMediaPort>36600</startMediaPort>
<stopMediaPort>39989</stopMediaPort>
<sipLines>
<line button=»1″>
<featureID>9</featureID>
<featureLabel>SIP_ID</featureLabel>
<proxy>адрес_сервера_Asterisk</proxy>
<port>5060</port>
<name>SIP_ID</name>
<displayName>SIP_ID</displayName>
<autoAnswer>
<autoAnswerEnabled>2</autoAnswerEnabled>
</autoAnswer>
<callWaiting>3</callWaiting>
<authName>SIP_ID</authName>
<authPassword>пароль</authPassword>
<sharedLine>false</sharedLine>
<messageWaitingLampPolicy>1</messageWaitingLampPolicy>
<messagesNumber>80</messagesNumber>
<ringSettingIdle>4</ringSettingIdle>
<ringSettingActive>5</ringSettingActive>
<contact>SIP_ID</contact>
<forwardCallInfoDisplay>
<callerName>true</callerName>
<callerNumber>true</callerNumber>
<redirectedNumber>false</redirectedNumber>
<dialedNumber>true</dialedNumber>
</forwardCallInfoDisplay>
</line>
</sipLines>
<voipControlPort>5060</voipControlPort>
<dscpForAudio>184</dscpForAudio>
<ringSettingBusyStationPolicy>0</ringSettingBusyStationPolicy>
<dialTemplate>dialplan.xml</dialTemplate>
</sipProfile>
<commonProfile>
<phonePassword></phonePassword>
<backgroundImageAccess>true</backgroundImageAccess>
<callLogBlfEnabled>1</callLogBlfEnabled>
</commonProfile>
<loadInformation>SIP69xx.9-4-1-3</loadInformation>
<vendorConfig>
<disableSpeaker>false</disableSpeaker>
<disableSpeakerAndHeadset>false</disableSpeakerAndHeadset>
<pcPort>0</pcPort>
<settingsAccess>1</settingsAccess>
<garp>0</garp>
<voiceVlanAccess>0</voiceVlanAccess>
<videoCapability>0</videoCapability>
<autoSelectLineEnable>0</autoSelectLineEnable>
<webAccess>1</webAccess>
<spanToPCPort>1</spanToPCPort>
<loggingDisplay>1</loggingDisplay>
<loadServer></loadServer>
</vendorConfig>
<networkLocale></networkLocale>
<networkLocaleInfo>
<name></name>
<version></version>
</networkLocaleInfo>
<deviceSecurityMode>1</deviceSecurityMode>
<authenticationURL></authenticationURL>
<directoryURL></directoryURL>
<idleURL></idleURL>
<informationURL></informationURL>
<messagesURL></messagesURL>
<proxyServerURL></proxyServerURL>
<servicesURL></servicesURL>
<dscpForSCCPPhoneConfig>96</dscpForSCCPPhoneConfig>
<dscpForSCCPPhoneServices>0</dscpForSCCPPhoneServices>
<dscpForCm2Dvce>96</dscpForCm2Dvce>
<transportLayerProtocol>2</transportLayerProtocol>
<capfAuthMode>0</capfAuthMode>
<capfList>
<capf>
<phonePort>3804</phonePort>
</capf>
</capfList>
<certHash></certHash>
<encrConfig>false</encrConfig>
</device>