Jump to content

Recommended Posts

Posted

Телефон перешил, миллион примеров с конфигами перепробовал - не получается. Может тут кто поделится рабочим xml?

 

Или поменяю его на два любых SNR телефона :)

Posted

вот мой

<device xsi:type="axl:XIPPhone" ctiid="1566023366">
<deviceProtocol>SIP</deviceProtocol>
<sshUserId>root</sshUserId>  
<sshPassword>root</sshPassword>

 <devicePool>
       <dateTimeSetting>
           <dateTemplate>D.M.YA</dateTemplate>
           <timeZone>Ekaterinburg Standard Time</timeZone>
           <ntps>
               <ntp>
                   <name>203.88.112.222</name>
                   <ntpMode>Unicast</ntpMode>
               </ntp>
               <ntp>
                   <name>203.88.112.222</name>
                   <ntpMode>Unicast</ntpMode>

               </ntp>
           </ntps>
       </dateTimeSetting>

    <callManagerGroup>
       <members>
          <member priority="0">
             <callManager>
                <ports>
                   <ethernetPhonePort>2000</ethernetPhonePort>
                   <sipPort>5060</sipPort>
                   <securedSipPort>5061</securedSipPort>
                </ports>
                <processNodeName>172.20.0.2</processNodeName>
             </callManager>
          </member>
       </members>
    </callManagerGroup>
 <srstInfo>
	<srstOption>Disable</srstOption>
	<ipAddr1></ipAddr1> <port1>2000</port1>
	<ipAddr2></ipAddr2> <port2>2000</port2>
	<ipAddr3></ipAddr3> <port3>2000</port3>
	<sipIpAddr1></sipIpAddr1> <sipPort1>5060</sipPort1>
	<sipIpAddr2></sipIpAddr2> <sipPort2>5060</sipPort2>
	<sipIpAddr3></sipIpAddr3> <sipPort3>5060</sipPort3>
	<isSecure>false</isSecure>
</srstInfo>

<connectionMonitorDuration>120</connectionMonitorDuration>
 </devicePool>

<sipProfile>

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

  <natEnabled>false</natEnabled>  
  <natAddress></natAddress>

 <sipLines>
       <line button="1" lineIndex="1">
          <featureID>9</featureID>
          <featureLabel>Line 1</featureLabel>
          <proxy>172.20.0.2</proxy>
          <sipPort>5060</sipPort>
          <name>346</name>
          <displayName>346</displayName>
          <autoAnswer>
             <autoAnswerEnabled>2</autoAnswerEnabled>
          </autoAnswer>
          <callWaiting>1</callWaiting>
          <authName>346</authName>
          <authPassword>643</authPassword>
          <sharedLine>false</sharedLine>
          <contact></contact>
          <forwardCallInfoDisplay>
             <callerName>true</callerName>
             <callerNumber>true</callerNumber>
             <redirectedNumber>true</redirectedNumber>
             <dialedNumber>true</dialedNumber>
          </forwardCallInfoDisplay>

   <ringSettingIdle>4</ringSettingIdle>  
   <ringSettingActive>5</ringSettingActive>


       </line>
</sipLines>

<enableVad>false</enableVad>
<dtmfDbLevel>3</dtmfDbLevel>

<voipControlPort>5060</voipControlPort>
<dscpForAudio>184</dscpForAudio>
<ringSettingBusyStationPolicy>0</ringSettingBusyStationPolicy>
<dialTemplate>dialplan1.xml</dialTemplate>

</sipProfile>

<userLocale>
<name></name>
<langCode>ru_RU</langCode>
<version></version>
<winCharSet>utf-8</winCharSet>
</userLocale>

<commonProfile>
   <phonePassword></phonePassword>
   <backgroundImageAccess>true</backgroundImageAccess>
   <callLogBlfEnabled>2</callLogBlfEnabled>
</commonProfile>
<transportLayerProtocol>4</transportLayerProtocol>



 <capfAuthMode>0</capfAuthMode>
 <capfList>
    <capf>
       <phonePort>3804</phonePort>
	<processNodeName>172.20.0.2</processNodeName>
    </capf>
 </capfList>

 <certHash></certHash>
 <encrConfig>false</encrConfig>

</device> 

 

dialpla1.xml

<DIALTEMPLATE>
<TEMPLATE MATCH="..." Timeout="1"/>
<TEMPLATE MATCH="*" Timeout="5"/>
</DIALTEMPLATE>

  • 2 years later...
Posted

Добрый день

Конфигурацию опубликованную "megahertz" необходимо разместить на tftp сервере, DHCP сервер должен быть запущен с опцией 150 и с указанным адресом на tftp сервер, пример на cisco:

ip dhcp pool test

network 10.10.10.0 255.255.255.0

default-router 10.10.10.1

option 150 ip 10.10.10.101

Posted

C поднятием сервера проблем нет, конфиг даже заливается...

 

Вот поправил для себя, но на телефоне бесконечное Registering. Так же почему-то время с ntp не обновляется.

 

Локальный астерикс по адресу 192.168.122.8, аккаунт - 123 / 321PaS

 

<device xsi:type="axl:XIPPhone" ctiid="1566023366">
       <deviceProtocol>SIP</deviceProtocol>
<sshUserId>root</sshUserId>  
<sshPassword>root</sshPassword>

 <devicePool>
       <dateTimeSetting>
           <dateTemplate>D.M.YA</dateTemplate>
           <timeZone>Ekaterinburg Standard Time</timeZone>
           <ntps>
               <ntp>
                   <name>pool.ntp.org</name>
                   <ntpMode>Unicast</ntpMode>
               </ntp>
               <ntp>
                   <name>time.windows.com</name>
                   <ntpMode>Unicast</ntpMode>

               </ntp>
           </ntps>
       </dateTimeSetting>

    <callManagerGroup>
       <members>
          <member priority="0">
             <callManager>
                <ports>
                   <ethernetPhonePort>2000</ethernetPhonePort>
                   <sipPort>5060</sipPort>
                   <securedSipPort>5061</securedSipPort>
                </ports>
                <processNodeName>172.20.0.2</processNodeName>
             </callManager>
          </member>
       </members>
    </callManagerGroup>
        <srstInfo>
               <srstOption>Disable</srstOption>
               <ipAddr1></ipAddr1> <port1>2000</port1>
               <ipAddr2></ipAddr2> <port2>2000</port2>
               <ipAddr3></ipAddr3> <port3>2000</port3>
               <sipIpAddr1></sipIpAddr1> <sipPort1>5060</sipPort1>
               <sipIpAddr2></sipIpAddr2> <sipPort2>5060</sipPort2>
               <sipIpAddr3></sipIpAddr3> <sipPort3>5060</sipPort3>
               <isSecure>false</isSecure>
       </srstInfo>

       <connectionMonitorDuration>120</connectionMonitorDuration>
 </devicePool>

<sipProfile>

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

  <natEnabled>false</natEnabled>  
  <natAddress></natAddress>

 <sipLines>
       <line button="1" lineIndex="1">
          <featureID>9</featureID>
          <featureLabel>Line 1</featureLabel>
          <proxy>192.168.122.8</proxy>
          <sipPort>5060</sipPort>
          <name>123</name>
          <displayName>123</displayName>
          <autoAnswer>
             <autoAnswerEnabled>2</autoAnswerEnabled>
          </autoAnswer>
          <callWaiting>1</callWaiting>
          <authName>123</authName>
          <authPassword>321PaS</authPassword>
          <sharedLine>false</sharedLine>
          <contact></contact>
          <forwardCallInfoDisplay>
             <callerName>true</callerName>
             <callerNumber>true</callerNumber>
             <redirectedNumber>true</redirectedNumber>
             <dialedNumber>true</dialedNumber>
          </forwardCallInfoDisplay>

   <ringSettingIdle>4</ringSettingIdle>  
   <ringSettingActive>5</ringSettingActive>


       </line>
</sipLines>

       <enableVad>false</enableVad>
       <dtmfDbLevel>3</dtmfDbLevel>

       <voipControlPort>5060</voipControlPort>
       <dscpForAudio>184</dscpForAudio>
       <ringSettingBusyStationPolicy>0</ringSettingBusyStationPolicy>
       <dialTemplate>dialplan1.xml</dialTemplate>

</sipProfile>

<userLocale>
       <name></name>
       <langCode>ru_RU</langCode>
       <version></version>
       <winCharSet>utf-8</winCharSet>
</userLocale>

<commonProfile>
   <phonePassword></phonePassword>
   <backgroundImageAccess>true</backgroundImageAccess>
   <callLogBlfEnabled>2</callLogBlfEnabled>
</commonProfile>
<transportLayerProtocol>4</transportLayerProtocol>



 <capfAuthMode>0</capfAuthMode>
 <capfList>
    <capf>
       <phonePort>3804</phonePort>
               <processNodeName>172.20.0.2</processNodeName>
    </capf>
 </capfList>

 <certHash></certHash>
 <encrConfig>false</encrConfig>

</device> 

Posted (edited)

А на Астере что в логах? tcpdump и настройка экстеншена? И какие файлики телефону скармливаете?

Edited by hRUst
Posted

C поднятием сервера проблем нет, конфиг даже заливается...

 

Вот поправил для себя, но на телефоне бесконечное Registering. Так же почему-то время с ntp не обновляется.

 

Локальный астерикс по адресу 192.168.122.8, аккаунт - 123 / 321PaS

 

 

<device xsi:type="axl:XIPPhone" ctiid="1566023366">       <deviceProtocol>SIP</deviceProtocol><sshUserId>root</sshUserId>  <sshPassword>root</sshPassword> <devicePool>       <dateTimeSetting>           <dateTemplate>D.M.YA</dateTemplate>           <timeZone>Ekaterinburg Standard Time</timeZone>           <ntps>               <ntp>                   <name>pool.ntp.org</name>                   <ntpMode>Unicast</ntpMode>               </ntp>               <ntp>                   <name>time.windows.com</name>                   <ntpMode>Unicast</ntpMode>               </ntp>           </ntps>       </dateTimeSetting>    <callManagerGroup>       <members>          <member priority="0">             <callManager>                <ports>                   <ethernetPhonePort>2000</ethernetPhonePort>                   <sipPort>5060</sipPort>                   <securedSipPort>5061</securedSipPort>                </ports>                <processNodeName>172.20.0.2</processNodeName>             </callManager>          </member>       </members>    </callManagerGroup>        <srstInfo>               <srstOption>Disable</srstOption>               <ipAddr1></ipAddr1> <port1>2000</port1>               <ipAddr2></ipAddr2> <port2>2000</port2>               <ipAddr3></ipAddr3> <port3>2000</port3>               <sipIpAddr1></sipIpAddr1> <sipPort1>5060</sipPort1>               <sipIpAddr2></sipIpAddr2> <sipPort2>5060</sipPort2>               <sipIpAddr3></sipIpAddr3> <sipPort3>5060</sipPort3>               <isSecure>false</isSecure>       </srstInfo>       <connectionMonitorDuration>120</connectionMonitorDuration> </devicePool><sipProfile> <sipProxies>     <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>  <natEnabled>false</natEnabled>    <natAddress></natAddress> <sipLines>       <line button="1" lineIndex="1">          <featureID>9</featureID>          <featureLabel>Line 1</featureLabel>          <proxy>192.168.122.8</proxy>          <sipPort>5060</sipPort>          <name>123</name>          <displayName>123</displayName>          <autoAnswer>             <autoAnswerEnabled>2</autoAnswerEnabled>          </autoAnswer>          <callWaiting>1</callWaiting>          <authName>123</authName>          <authPassword>321PaS</authPassword>          <sharedLine>false</sharedLine>          <contact></contact>          <forwardCallInfoDisplay>             <callerName>true</callerName>             <callerNumber>true</callerNumber>             <redirectedNumber>true</redirectedNumber>             <dialedNumber>true</dialedNumber>          </forwardCallInfoDisplay>   <ringSettingIdle>4</ringSettingIdle>     <ringSettingActive>5</ringSettingActive>       </line></sipLines>       <enableVad>false</enableVad>       <dtmfDbLevel>3</dtmfDbLevel>       <voipControlPort>5060</voipControlPort>       <dscpForAudio>184</dscpForAudio>       <ringSettingBusyStationPolicy>0</ringSettingBusyStationPolicy>       <dialTemplate>dialplan1.xml</dialTemplate></sipProfile><userLocale>       <name></name>       <langCode>ru_RU</langCode>       <version></version>       <winCharSet>utf-8</winCharSet></userLocale><commonProfile>   <phonePassword></phonePassword>   <backgroundImageAccess>true</backgroundImageAccess>   <callLogBlfEnabled>2</callLogBlfEnabled></commonProfile><transportLayerProtocol>4</transportLayerProtocol> <capfAuthMode>0</capfAuthMode> <capfList>    <capf>       <phonePort>3804</phonePort>               <processNodeName>172.20.0.2</processNodeName>    </capf> </capfList> <certHash></certHash> <encrConfig>false</encrConfig></device> 

 

 

 

Напиши в skype: sergey.grigoryev.2010. Помогу. Стоит таких аппаратов херова туча.

Posted

Помогу. Стоит таких аппаратов херова туча.

А здесь никак? В инете все воют о проблемах подключения 8941/8945 к астеру - бесконечное Registering. Вроде бы нашёл решение, но Астера под рукой нет (нет времени на виртуалке развернуть). Но есть связка 8945 и Коммунигейта с аналогичной проблемой.

Posted

Проблема у меня была смешная - в настройках астера не был включен протокол sip.

 

Кроме того, вылезла не совсем проблема, а так, особенность неприятная. Почему-то в отличие от тех же SNR телефонов, если телефон подключен в одной подсети с атс, то нормально работает только при прописанном локальном айпи атс и снятой галке НАТ на атс. Т.е. если телефон из локалки надо перенести, например, в другое место и цепляться к атс через интернет, то настройки и телефона и атс надо менять.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...