ВидеоКонф(ВКС)  ::   FAQ  ::   Поиск  ::   Регистрация  ::   Вход

Настройка 7960G+7914 к астериск по SCCP?

Вопросы по использованию и настройке IP телефонов, шлюзов и всего прочего

Модераторы: april22, Zavr2008

Настройка 7960G+7914 к астериск по SCCP?

Сообщение logdog » 01 авг 2018, 21:54

Добрый вечер!
FreePBX Distro
Asterisk 14.7.5

Device Information
Код: выделить все
MAC-адрес       001C58A0306F
Host Name       SEP001C58A0306F
Phone DN       327
Код загруженного приложения       P00308010200
Код загрузки системы       PC0303010200
Version       8.1(2.0)
DSP       4.0(5.0)[A0]
Модуль расширения 1       
Модуль расширения 2       
Hardware Revision       4.5
Серийный номер       FCH1127D4AB
Номер модели       CP-7960G
Codec       ADLCodec
Amps       5V Amp
C3PO Revision       2
Сообщение в сост. ожидания       НЕТ


Купил телефон БУ на наге с панелью. Не могу настроить панель 7914. Вроде, сам телефон по SCCP работает, но кнопки панели почему-то горят красным цветом: http://prntscr.com/kdh613
- нерабочая панель
или
- не настроил панель?
Чувствую, в sccp.conf проблема ... прошу помощи.
Пусть тут будет https://github.com/chan-sccp/chan-sccp/ ... up-FreePBX
Спасибо!

SEP001C58A0306F.cnf.xml
Код: выделить все
<device>
  <deviceProtocol>SIP</deviceProtocol>
  <sshUserId>cisco</sshUserId>
  <sshPassword>cisco</sshPassword>
  <devicePool>
<versionStamp>{Jan 01 2005 00:00:00}</versionStamp>
<loadInformation>P0030801SR02</loadInformation>
<addOnModules>
<addOnModule idx=”1″>
<loadInformation>S00105000400</loadInformation>
</addOnModule>
</addOnModules>
    <dateTimeSetting>
      <dateTemplate>D.M.Y</dateTemplate>
      <timeZone>Russian Standard/Daylight Time</timeZone>
      <ntps>
        <ntp>
          <name>10.0.0.251</name>
          <ntpMode>Unicast</ntpMode>
        </ntp>
      </ntps>
    </dateTimeSetting>
    <callManagerGroup>
      <members>
        <member priority="0">
          <callManager>
            <ports>
              <ethernetPhonePort>2000</ethernetPhonePort>
              <sipPort>5160</sipPort>
              <securedSipPort>5161</securedSipPort>
            </ports>
            <processNodeName>10.0.0.251</processNodeName>
          </callManager>
        </member>
      </members>
    </callManagerGroup>
  </devicePool>
  <sipProfile>
    <sipProxies>
      <backupProxy></backupProxy>
      <backupProxyPort></backupProxyPort>
      <emergencyProxy></emergencyProxy>
      <emergencyProxyPort></emergencyProxyPort>
      <outboundProxy></outboundProxy>
      <outboundProxyPort></outboundProxyPort>
      <registerWithProxy>true</registerWithProxy>
    </sipProxies>
    <sipCallFeatures>
      <cnfJoinEnabled>true</cnfJoinEnabled>
      <callForwardURI>x-cisco-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>g711alaw</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>ECOCOM Ltd.</phoneLabel>
    <stutterMsgWaiting>0</stutterMsgWaiting>
    <callStats>false</callStats>
    <silentPeriodBetweenCallWaitingBursts>10</silentPeriodBetweenCallWaitingBursts>
    <disableLocalSpeedDialConfig>false</disableLocalSpeedDialConfig>
    <startMediaPort>16384</startMediaPort>
    <stopMediaPort>32766</stopMediaPort>
    <sipLines>
      <line button="1">
        <featureID>9</featureID>
        <featureLabel>327</featureLabel>
        <proxy>10.0.0.251</proxy>
        <port>5160</port>
        <name>327</name>
        <displayName>327</displayName>
        <autoAnswer>
          <autoAnswerEnabled>2</autoAnswerEnabled>
        </autoAnswer>
        <callWaiting>3</callWaiting>
        <authName>327</authName>
        <authPassword>sip3270000</authPassword>
        <sharedLine>false</sharedLine>
        <messageWaitingLampPolicy>1</messageWaitingLampPolicy>
        <messagesNumber>*97</messagesNumber>
        <ringSettingIdle>4</ringSettingIdle>
        <ringSettingActive>5</ringSettingActive>
        <contact>327</contact>
        <forwardCallInfoDisplay>
          <callerName>true</callerName>
          <callerNumber>true</callerNumber>
          <redirectedNumber>true</redirectedNumber>
          <dialedNumber>true</dialedNumber>
        </forwardCallInfoDisplay>
      </line>
    </sipLines>
    <voipControlPort>5160</voipControlPort>
    <dscpForAudio>184</dscpForAudio>
    <ringSettingBusyStationPolicy>0</ringSettingBusyStationPolicy>
    <dialTemplate>dialplan.xml</dialTemplate>
  </sipProfile>
  <commonProfile>
    <phonePassword>1234</phonePassword>
    <backgroundImageAccess>true</backgroundImageAccess>
    <callLogBlfEnabled>2</callLogBlfEnabled>
  </commonProfile>
  <loadInformation>P0030801SR02</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>
    <sshAccess>0</sshAccess>
    <sshPort>22</sshPort>
    <webAccess>0</webAccess>
    <spanToPCPort>1</spanToPCPort>
    <loggingDisplay>1</loggingDisplay>
    <loadServer></loadServer>
  </vendorConfig>
  <versionStamp></versionStamp>
  <userLocale>
    <name>Russian_Russian_Federation</name>
    <langCode>ru_RU</langCode>
  </userLocale>
  <networkLocale>Russian_Federation</networkLocale>
  <networkLocaleInfo>
    <name>Russian_Federation</name>
  </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>


XMLDefault.cnf.xml
Код: выделить все
<Default>
    <callManagerGroup>
    <members>
    <member priority="0">
    <callManager>
    <ports>
    <ethernetPhonePort>2000</ethernetPhonePort>
    <mgcpPorts>
    <listen>2427</listen>
    <keepAlive>2428</keepAlive>
    </mgcpPorts>
    </ports>
    <processNodeName>10.0.0.251</processNodeName>
    </callManager>
    </member>
    </members>
    <loadInformation430 model="Addon 7914">S00105000400</loadInformation430>
    <loadInformation434 model="Cisco 7942">SIP42.8-4-2S</loadInformation434>
    <loadInformation435 model="Cisco 7960">P0030801SR02</loadInformation435>
    <authenticationURL></authenticationURL>
    <directoryURL></directoryURL>
    <idleURL></idleURL>
    <informationURL></informationURL>
    <messagesURL></messagesURL>
    <servicesURL></servicesURL>
    </callManagerGroup>
</Default>



sccp.conf
Код: выделить все
;=========================================================================================
;
; general definitions
;
;=========================================================================================
[general]
servername = Asterisk
keepalive = 60
debug = 1
context = default
dateformat = D.M.Y
bindaddr = 0.0.0.0
port = 2000
disallow=all
allow=alaw
allow=ulaw
allow=g729
firstdigittimeout = 16
digittimeout = 8
autoanswer_ring_time = 1
autoanswer_tone = 0x32
remotehangup_tone = 0x32
transfer_tone = 0
transfer_on_hangup = off
dnd_tone = 0x0
callwaiting_tone = 0x2d
musicclass=default
language=ru
dndFeature = on
sccp_tos = 0x68
sccp_cos = 4
audio_tos = 0xB8
audio_cos = 6
video_tos = 0x88
video_cos = 5
echocancel = on
silencesuppression = off
private = on
callanswerorder=oldestfirst
directed_pickup_modeanswer = on
;directrtp=off
hotline_enabled=yes               ;can devices without configuration register
hotline_context=default               ; context for hotline
hotline_extension=111               ; extension will be dialed on offHook

;=========================================================================================
;
; actual definitions
;
;=========================================================================================
[SEP001C58A0306F]
description = Secretary
addon = 7914
devicetype = 7960
park = off
button = speeddial,Helpdesk, 302     ; Add SpeedDial to Helpdesk speeddial,Helpdesk, 302, 302@hints
button = line, 327 ,default            ; Assign Line 98011 to Device and use this as default line
cfwdall = off
type = device
keepalive = 60
;tzoffset = +2
transfer = on
park = on
cfwdall = off
cfwdbusy = off
cfwdnoanswer = off
directed_pickup = on
directed_pickup_context = default
directed_pickup_modeanswer = on
dndFeature = on
dnd = off
directrtp=off
earlyrtp = progress
private = on
mwilamp = on
mwioncall = off
setvar=testvar=value
cfwdall = on

[327]
id = 327
type = line
;pin = 1234
label = 327 ;Phone 1 Line 1
description = Line 327
mailbox = 327
cid_name = Secretary
cid_num = 327
accountcode=327
callgroup=2
pickupgroup=2
amaflags =
context = ECOCOM
incominglimit = 2
transfer = on
vmnum = 600
meetme = on
meetmeopts = qxd
meetmenum = 700
trnsfvm = 1000
secondary_dialtone_digits = 9
secondary_dialtone_tone = 0x22
musicclass=default
language=ru
echocancel = on
silencesuppression = off
setvar=testvar2=my value
dnd = reject
parkinglot = myparkspace
logdog
 
Сообщений: 81
Зарегистрирован: 30 июл 2013, 14:03

Re: Настройка 7960G+7914 к астериск по SCCP?

Сообщение ded » 02 авг 2018, 01:36

logdog писал(а):или
- не настроил панель?
не настроил панель.
Настраиваете телефон по SCCP, а в конфиге
<sipProfile>
<sipProxies><sipCallFeatures>
<sipStack>
<sipLines>
<line button="1">
<featureID>9</featureID>
<featureLabel>327</featureLabel>
<proxy>10.0.0.251</proxy>
<port>5160</port>
<name>327</name>

Не смущает?

https://www.voip-info.org/cisco-7914-howto/
https://sourceforge.net/p/chan-sccp-b/m ... /29208584/

Когда кнопки панели почему-то горят красным цветом - не загрузилась прошивка для панели S00105000200 или S00105000300, какая там есть, должна лежать в директории /tftpboot также где *.cnf.xml:
ded
 
Сообщений: 15803
Зарегистрирован: 26 авг 2010, 19:00

Re: Настройка 7960G+7914 к астериск по SCCP?

Сообщение logdog » 02 авг 2018, 18:02

ded писал(а):
logdog писал(а):или
- не настроил панель?
не настроил панель.
Настраиваете телефон по SCCP, а в конфиге

Не смущает?


Да, смущает... я сегодня еще почитаю ... просто я правлю конфиг, и у меня даже по ip не конфигурируется, т.е. я не могу через вебинтерфейс зайти, посмотреть где ошибка в конфиге.

ded писал(а):
logdog писал(а):Когда кнопки панели почему-то горят красным цветом - не загрузилась прошивка для панели S00105000200 или S00105000300, какая там есть, должна лежать в директории /tftpboot также где *.cnf.xml:

У меня там лежит S00105000400 и я боюсь, в конфиге ошибка, раз не подгружается. (либо поищу прошивку ниже версии)
logdog
 
Сообщений: 81
Зарегистрирован: 30 июл 2013, 14:03

Re: Настройка 7960G+7914 к астериск по SCCP?

Сообщение ded » 02 авг 2018, 18:59

Ссылки (вверху) открывали?
ded
 
Сообщений: 15803
Зарегистрирован: 26 авг 2010, 19:00


Вернуться в VoIP оборудование

Кто сейчас на форуме

Сейчас этот форум просматривают: Google [Bot] и гости: 10

© 2008 — 2024 Asterisk.ru
Digium, Asterisk and AsteriskNOW are registered trademarks of Digium, Inc.
Design and development by PostMet-Netzwerk GmbH