Kaynağa Gözat

template config

Hal De 3 yıl önce
ebeveyn
işleme
90c91200fb
1 değiştirilmiş dosya ile 35 ekleme ve 13 silme
  1. 35 13
      configs/sep-cisco.cnf.xml.tpl

+ 35 - 13
configs/sep-cisco.cnf.xml.tpl

@@ -1,5 +1,7 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <device>
+  <sshUserId>cisco</sshUserId>
+  <sshPassword>{{.PhonePassword}}</sshPassword>
   <devicePool>
     <dateTimeSetting>
       <dateTemplate>D.M.Y</dateTemplate>
@@ -17,6 +19,7 @@
           <callManager>
             <ports>
               <ethernetPhonePort>2000</ethernetPhonePort>
+              <sipPort>5060</sipPort>
             </ports>
             <processNodeName>10.0.0.250</processNodeName>
           </callManager>
@@ -24,6 +27,14 @@
       </members>
     </callManagerGroup>
   </devicePool>
+  <vendorConfig>
+    <disableSpeaker>false</disableSpeaker>
+    <disableSpeakerAndHeadset>false</disableSpeakerAndHeadset>
+    <webAccess>0</webAccess>
+    <sshAccess>0</sshAccess>
+    <sshPort>22</sshPort>
+    <g722CodecSupport>2</g722CodecSupport>
+  </vendorConfig>
   <commonProfile>
     <callLogBlfEnabled>3</callLogBlfEnabled>
   </commonProfile>
@@ -56,20 +67,29 @@
   </capfList>
   <deviceSecurityMode>1</deviceSecurityMode>
   <sipProfile>
+    <sipProxies>
+       <backupProxy>USECALLMANAGER</backupProxy>
+       <backupProxyPort>5160</backupProxyPort>
+       <emergencyProxy>USECALLMANAGER</emergencyProxy>
+       <emergencyProxyPort>5160</emergencyProxyPort>
+       <outboundProxy></outboundProxy>
+       <outboundProxyPort></outboundProxyPort>
+       <registerWithProxy>true</registerWithProxy>
+    </sipProxies>
     <sipCallFeatures>
       <cnfJoinEnabled>true</cnfJoinEnabled>
-      <callForwardURI>x--serviceuri-cfwdall</callForwardURI>
+      <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>true</rfc2543Hold>
+      <rfc2543Hold>false</rfc2543Hold>
       <callHoldRingback>2</callHoldRingback>
       <localCfwdEnable>true</localCfwdEnable>
       <semiAttendedTransfer>true</semiAttendedTransfer>
       <anonymousCallBlock>2</anonymousCallBlock>
-      <callerIdBlocking>0</callerIdBlocking>
+      <callerIdBlocking>2</callerIdBlocking>
       <dndControl>0</dndControl>
       <remoteCcEnable>true</remoteCcEnable>
     </sipCallFeatures>
@@ -91,22 +111,24 @@
     <autoAnswerTimer>1</autoAnswerTimer>
     <autoAnswerAltBehavior>false</autoAnswerAltBehavior>
     <autoAnswerOverride>true</autoAnswerOverride>
-    <transferOnhookEnabled>true</transferOnhookEnabled>
+    <transferOnhookEnabled>false</transferOnhookEnabled>
     <enableVad>false</enableVad>
-    <preferredCodec>g729</preferredCodec>
+    <preferredCodec>none</preferredCodec>
     <dtmfAvtPayload>101</dtmfAvtPayload>
     <dtmfDbLevel>3</dtmfDbLevel>
     <dtmfOutofBand>avt</dtmfOutofBand>
-    <alwaysUsePrimeLine>false</alwaysUsePrimeLine>
-    <alwaysUsePrimeLineVoiceMail>false</alwaysUsePrimeLineVoiceMail>
+    <alwaysUsePrimeLine>true</alwaysUsePrimeLine>
+    <alwaysUsePrimeLineVoiceMail>true</alwaysUsePrimeLineVoiceMail>
     <kpml>3</kpml>
-    <stutterMsgWaiting>1</stutterMsgWaiting>
+    <natEnabled>false</natEnabled>
+    <natAddress></natAddress>
+    <stutterMsgWaiting>2</stutterMsgWaiting>
     <callStats>false</callStats>
     <silentPeriodBetweenCallWaitingBursts>10</silentPeriodBetweenCallWaitingBursts>
     <disableLocalSpeedDialConfig>false</disableLocalSpeedDialConfig>
-    <startMediaPort>16384</startMediaPort>
-    <stopMediaPort>16399</stopMediaPort>
-    <voipControlPort>5069</voipControlPort>
+    <startMediaPort>10000</startMediaPort>
+    <stopMediaPort>20000</stopMediaPort>
+    <voipControlPort>5060</voipControlPort>
     <dscpForAudio>184</dscpForAudio>
     <ringSettingBusyStationPolicy>0</ringSettingBusyStationPolicy>
     <dialTemplate>dialplan.xml</dialTemplate>
@@ -118,7 +140,7 @@
         <name>{{.PhoneNumber}}</name>
         <displayName>{{.DisplayName}}</displayName>
         <contact>{{.PhoneNumber}}</contact>
-        <proxy>10.0.0.250</proxy>
+        <proxy>USECALLMANAGER</proxy>
         <port>5160</port>
         <autoAnswer>
           <autoAnswerEnabled>2</autoAnswerEnabled>
@@ -127,7 +149,7 @@
         <authName>{{.PhoneNumber}}</authName>
         <authPassword>{{.PhonePassword}}</authPassword>
         <sharedLine>false</sharedLine>
-        <messageWaitingLampPolicy>1</messageWaitingLampPolicy>
+        <messageWaitingLampPolicy>3</messageWaitingLampPolicy>
         <messagesNumber>*98</messagesNumber>
         <ringSettingIdle>4</ringSettingIdle>
         <ringSettingActive>5</ringSettingActive>