「Cisco/SEP.cnf.xml(SIP)」の版間の差分

提供: VoIP-Info.jp
移動先: 案内検索
(設定(いじくり中))
(サンプル)
69行目: 69行目:
  
 
=サンプル=
 
=サンプル=
[CP-7911G]の設定
+
[[CP-7911G]]での実稼動設定
 
  <device>
 
  <device>
 
  <deviceProtocol>SIP</deviceProtocol>
 
  <deviceProtocol>SIP</deviceProtocol>

2009年8月30日 (日) 07:38時点における版

SIPファームウェア用の設定(つくりかけ)
設定入れても動かないので注意

SIPファームウェア

SEP<MACアドレス>.cnf.xmlはCisco IP Phoneが使用する設定ファイルであり、
SCCP(Skinny)ファームウェアとSIPファームウェアでは設定内容が大きく異なる。
ファームウェアのバージョンによっては、設定できる項目が違うので注意が必要

SEP<MACアドレス>.cnf.xml

ファイル名はSEP[IP PhoneのMACアドレス].cnf.xmlの形式になる。
MACアドレスが"001BD40000FF"なら"SEP001BD40000FF.cnf.xml"となる。
この部分はSCCP(Skinny)ファームウェアと共通。

SSH

SSHでログインできるらしいが、authorized_keys(SSH公開鍵)が必要になるかもしれない。 下記のようなLOGが表示される。

NOT 15:37:44.946601 tftpClient: Non secure file approved  -- authorized_keys

NTPの設定

NTPサーバーのアドレス(ホスト名も可能)を入れる。
パケット見る限りでは、正しく通信できているように見えるが、表示時刻がずれたままの状態。

<devicePool>
 <dateTimeSetting>
  <dateTemplate>Y/M/D</dateTemplate>
  <timeZone>Tokyo Standard Time</timeZone>
   <ntps>
    <ntp priority="0">
     <name>192.168.0.2</name>
     <ntpMode>Unicast</ntpMode>
    </ntp>
    <ntp priority="1">
     <name>192.168.0.5</name>
     <ntpMode>Unicast</ntpMode>
    </ntp>
   </ntps>
 </dateTimeSetting>

SIPサーバー接続設定

キープアライブ、レジストの設定もろもろ

    <sipStack>
       <sipInviteRetx>6</sipInviteRetx>
       <sipRetx>10</sipRetx>
       <timerInviteExpires>180</timerInviteExpires>
       <timerRegisterExpires>300</timerRegisterExpires>
       <timerRegisterDelta>5</timerRegisterDelta>
       <timerKeepAliveExpires>120</timerKeepAliveExpires>
       <timerSubscribeExpires>120</timerSubscribeExpires>
       <timerSubscribeDelta>5</timerSubscribeDelta>
       <timerT1>500</timerT1>
       <timerT2>4000</timerT2>
       <maxRedirects>70</maxRedirects>
       <remotePartyID>false</remotePartyID>
       <userInfo>None</userInfo>
    </sipStack> 

ラインキー設定

<phoneLabel>

ラインキーとあまり関係無い。
電話機の名前

<featureLabel>Phone 505</featureLabel>

<line button="1">

ラインキーの場所。上から数える。
機種によって異なる。(CP-7970Gなら8まである)

 <line button="6">  ←ラインキー6の設定(上から6つ目のボタン)

短縮ダイヤル

英語でいう「スピードダイヤル」

<line button="6">
 <featureID>21</featureID>
 <featureLabel>Forneus Musio on Hold</featureLabel>
 <speedDialNumber>20073604</speedDialNumber>
</line>

サンプル

CP-7911Gでの実稼動設定

<device>
<deviceProtocol>SIP</deviceProtocol>
<devicePool>
 <dateTimeSetting>
  <dateTemplate>Y/M/D</dateTemplate>
  <timeZone>Tokyo Standard Time</timeZone>
   <ntps>
    <ntp priority="0">
     <name>192.168.0.5</name>
     <ntpMode>Unicast</ntpMode>
    </ntp>
  </ntps>
 </dateTimeSetting>

 <callManagerGroup>
  <members>
   <member priority="0">
    <callManager>
     <ports>
      <sipPort>5060</sipPort>
     </ports>
     <processNodeName>192.168.0.4</processNodeName>
    </callManager>
   </member>
  </members>
 </callManagerGroup>
</devicePool>

<sipProfile>
 <sipProxies>
  <registerWithProxy>true</registerWithProxy>
 </sipProxies>
 <sipCallFeatures>
  <cnfJoinEnabled>true</cnfJoinEnabled>
  <localCfwdEnable>true</localCfwdEnable>
  <callForwardURI>service-uri-cfwdall</callForwardURI>
  <callPickupURI>service-uri-pickup</callPickupURI>
  <callPickupGroupURI>service-uri-gpickup</callPickupGroupURI>
  <callHoldRingback>2</callHoldRingback>
  <semiAttendedTransfer>true</semiAttendedTransfer>
  <anonymousCallBlock>2</anonymousCallBlock>
  <callerIdBlocking>2</callerIdBlocking>
  <dndControl>2</dndControl>
  <remoteCcEnable>true</remoteCcEnable>
 </sipCallFeatures>

 <sipStack>
  <remotePartyID>true</remotePartyID>
 </sipStack>

 <sipLines>
  <line button="1">
   <featureID>9</featureID>
   <featureLabel>Naisen2001</featureLabel>
   <proxy>USECALLMANAGER</proxy>
   <port>5060</port>
   <name>2001</name>
   <displayName>Home Telephone</displayName>
   <autoAnswer>
    <autoAnswerEnabled>2</autoAnswerEnabled>
   </autoAnswer>
   <callWaiting>1</callWaiting>
   <authName>2001</authName>
   <authPassword>CiscoPhonePass12345</authPassword>
   <sharedLine>false</sharedLine>
   <messagesNumber></messagesNumber>
   <ringSettingActive>5</ringSettingActive>
   <forwardCallInfoDisplay>
    <callerName>true</callerName>
    <callerNumber>true</callerNumber>
    <redirectedNumber>true</redirectedNumber>
    <dialedNumber>true</dialedNumber>
   </forwardCallInfoDisplay>
  </line>
 </sipLines>
 <enableVad>false</enableVad>
 <preferredCodec>g711ulaw</preferredCodec>
 <softKeyFile>softkeyDefault.xml</softKeyFile>
 <dialTemplate>dialplan.xml</dialTemplate>
 <kpml>1</kpml>
 <phoneLabel></phoneLabel>
 <stutterMsgWaiting>2</stutterMsgWaiting>
 <disableLocalSpeedDialConfig>true</disableLocalSpeedDialConfig>
 <dscpForAudio>184</dscpForAudio>
 <dscpVideo>136</dscpVideo>
</sipProfile>

<commonProfile>
 <phonePassword>Cisco</phonePassword>
 <callLogBlfEnabled>2</callLogBlfEnabled>
</commonProfile>

<loadInformation>SIP11.8-5-2S</loadInformation>
<versionStamp>100411740605851</versionStamp>

<userLocale>
 <name>Japanese_Japan</name>
 <uid>13</uid>
 <langCode>ja</langCode>
 <version>3.3(2)JPN</version>
 <winCharSet>utf-8</winCharSet>
</userLocale>

<networkLocale>Japanese_Japan</networkLocale>
<networkLocaleInfo>
 <name>Japanese_Japan</name>
</networkLocaleInfo>
<authenticationURL></authenticationURL>
<directoryURL></directoryURL>
<servicesURL></servicesURL>
<dscpForSCCPPhoneServices>0</dscpForSCCPPhoneServices>
<dscpForCm2Dvce>96</dscpForCm2Dvce>
<transportLayerProtocol>2</transportLayerProtocol>
</device>

外部リンク

voip-info.org Cisco電話機全般の記事
voip-info.org 手元にPBXを置かずに7941/7961を使う試み
79x1 XML設定ファイル(SIP)