Помощь в настройке IP телефонов Cisco CP-7945G
Добавлено: 21 май 2023, 01:08
Ребят, всем привет. Нужна помощь.
Клиент приобрёл целую пачку IP-телефонов Cisco CP-7945G, , CP-9971, CP-8945, CP-8961 в хорошем состоянии за недорого, планируется переход на IP-телефонию (Мегафон) по SIP. Подключили виртуальную АТС от Мегафона, все круто.
В данный момент разбираюсь с настройкой CP-7945G, он подключен через PoE коммутатор, на них стоит прошивка SCCP, залил через TFTP достаточно свежую SIP прошивку, а именно: jar45sip.9-3-1ES26.sbn, она "подхватывается" самим аппаратом, он загружается, все ОК, но дальше - тупик, через "веб-морду" нельзя ничего из настроек изменить, только просмотр, каких-то файлов конфиг. не хватает, TFTP пишет об этом. SIP-регистрация не поднимается, вот мои конф файлы:
В общем, нужны полностью рабочие файлы конфигурации под SIP для Cisco CP-7945G, может кто поделится?
Содержимое моих конф.файлов
SEP{MAC}_.cnf.xml
XMLDefault.cnf.xml
А вот что в логах консоли с веб самого IP-телефона пишется:
Клиент приобрёл целую пачку IP-телефонов Cisco CP-7945G, , CP-9971, CP-8945, CP-8961 в хорошем состоянии за недорого, планируется переход на IP-телефонию (Мегафон) по SIP. Подключили виртуальную АТС от Мегафона, все круто.
В данный момент разбираюсь с настройкой CP-7945G, он подключен через PoE коммутатор, на них стоит прошивка SCCP, залил через TFTP достаточно свежую SIP прошивку, а именно: jar45sip.9-3-1ES26.sbn, она "подхватывается" самим аппаратом, он загружается, все ОК, но дальше - тупик, через "веб-морду" нельзя ничего из настроек изменить, только просмотр, каких-то файлов конфиг. не хватает, TFTP пишет об этом. SIP-регистрация не поднимается, вот мои конф файлы:
В общем, нужны полностью рабочие файлы конфигурации под SIP для Cisco CP-7945G, может кто поделится?
Содержимое моих конф.файлов
SEP{MAC}_.cnf.xml
Код: Выделить всё
<?xml version="1.0" encoding="utf-8"?>
<device>
<deviceProtocol>SIP</deviceProtocol>
<sshUserId>abc</sshUserId>
<sshPassword>123</sshPassword>
<transportLayerProtocol>1</transportLayerProtocol>
<transferonhookenabled>true</transferonhookenabled>
<stopmediaport>16399</stopmediaport>
<voipcontrolport>5061</voipcontrolport>
<rfc2543hold>true</rfc2543hold>
<calleridblocking>0</calleridblocking>
<remotepartyid>false</remotepartyid>
<devicePool>
<dateTimeSetting>
<dateTemplate>D/M/YA</dateTemplate>
<timeZone>GMT Standard/Daylight Time</timeZone>
<ntps>
<ntp>
<name>time.aa.net.uk</name>
<ntpMode>Unicast</ntpMode>
</ntp>
</ntps>
</dateTimeSetting>
<callManagerGroup>
<members>
<member>
<callManager>
<processNodeName>vats305552.megapbx.ru</processNodeName>
<ports>
<sipPort>5060</sipPort>
</ports>
</callManager>
</member>
</members>
</callManagerGroup>
</devicePool>
<sipProfile>
<dialTemplate>dialplan.xml</dialTemplate>
<autoAnswerTimer>1</autoAnswerTimer>
<autoAnswerAltBehavior>false</autoAnswerAltBehavior>
<autoAnswerOverride>true</autoAnswerOverride>
<transferOnhookEnabled>false</transferOnhookEnabled>
<enableVad>false</enableVad>
<dtmfAvtPayload>101</dtmfAvtPayload>
<dtmfDbLevel>3</dtmfDbLevel>
<dtmfOutofBand>avt</dtmfOutofBand>
<alwaysUsePrimeLine>false</alwaysUsePrimeLine>
<alwaysUsePrimeLineVoiceMail>false</alwaysUsePrimeLineVoiceMail>
<kpml>3</kpml>
<natEnabled>true</natEnabled>
<natAddress>123.123.123.123</natAddress>
<phoneLabel>222</phoneLabel>
<stutterMsgWaiting>1</stutterMsgWaiting>
<callStats>false</callStats>
<offhookToFirstDigitTimer>15000</offhookToFirstDigitTimer>
<silentPeriodBetweenCallWaitingBursts>10</silentPeriodBetweenCallWaitingBursts>
<disableLocalSpeedDialConfig>false</disableLocalSpeedDialConfig>
<startMediaPort>16384</startMediaPort>
<stopMediaPort>32766</stopMediaPort>
<voipControlPort>5060</voipControlPort>
<dscpForAudio>184</dscpForAudio>
<ringSettingBusyStationPolicy>0</ringSettingBusyStationPolicy>
<softKeyFile></softKeyFile>
<sipProxies>
<backupProxy>
</backupProxy>
<backupProxyPort>5060</backupProxyPort>
<emergencyProxy>vats305552.megapbx.ru</emergencyProxy>
<emergencyProxyPort>5060</emergencyProxyPort>
<outboundProxy></outboundProxy>
<outboundProxyPort>5060</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>60</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>
<sipLines>
<line button="1">
<featureID>9</featureID>
<featureLabel>200</featureLabel>
<proxy>USECALLMANAGER</proxy>
<port>5060</port>
<name>200</name>
<displayName>200</displayName>
<callWaiting>3</callWaiting>
<authName>v.lesnikov@vats305552.megapbx.ru</authName>
<authPassword>MYP@SSWORD</authPassword>
<sharedLine>false</sharedLine>
<messageWaitingLampPolicy>3</messageWaitingLampPolicy>
<messagesNumber>*55</messagesNumber>
<ringSettingIdle>4</ringSettingIdle>
<ringSettingActive>5</ringSettingActive>
<contact>200</contact>
<speedDialNumber></speedDialNumber>
<serviceURI></serviceURI>
<featureOptionMask></featureOptionMask>
<autoAnswer>
<autoAnswerEnabled>2</autoAnswerEnabled>
</autoAnswer>
<forwardCallInfoDisplay>
</forwardCallInfoDisplay>
</line>
</sipLines>
</sipProfile>
<commonProfile>
<phonePassword></phonePassword>
<backgroundImageAccess>true</backgroundImageAccess>
<callLogBlfEnabled>2</callLogBlfEnabled>
</commonProfile>
<vendorConfig>
<disableSpeaker>false</disableSpeaker>
<disableSpeakerAndHeadset>false</disableSpeakerAndHeadset>
<pcPort>0</pcPort>
<settingsAccess>1</settingsAccess>
<garp>0</garp>
<voiceVlanAccess>0</voiceVlanAccess>
<videoCapability>1</videoCapability>
<autoSelectLineEnable>0</autoSelectLineEnable>
<webAccess>0</webAccess>
<daysDisplayNotActive></daysDisplayNotActive>
<displayOnTime>00:00</displayOnTime>
<displayOnDuration>23:59</displayOnDuration>
<displayIdleTimeout>00:10</displayIdleTimeout>
<spanToPCPort>1</spanToPCPort>
</vendorConfig>
<userLocale>
<name>English_United_Kingdom</name>
<uid></uid>
<langCode>en_US</langCode>
<version>1.0.0.0-1</version>
<winCharSet>iso-8859-1</winCharSet>
</userLocale>
<networkLocaleInfo>
<name></name>
<uid></uid>
<version>1.0.0.0-1</version>
</networkLocaleInfo>
<capfList>
<capf>
<phonePort>3804</phonePort>
</capf>
</capfList>
</device>
Код: Выделить всё
[xml]
<Default>
<callManagerGroup>
<members>
<member priority="0">
<callManager>
<ports>
<ethernetPhonePort>2000</ethernetPhonePort>
<mgcpPorts>
<listen>2427</listen>
<keepAlive>2428</keepAlive>
</mgcpPorts>
</ports>
<processNodeName>vats305552.megapbx.ru</processNodeName>
</callManager>
</member>
</members>
</callManagerGroup>
<loadInformation8 model="IP Phone 7940">P003-08-4-00</loadInformation8>
<loadInformation7 model="IP Phone 7960">P003-08-4-00</loadInformation7>
<loadInformation435 model="Cisco 7945">SIP45.8-4-2S</loadInformation435>
<loadInformation6 model="IP Phone 7970">SIP70.8-0-3S</loadInformation6> *** identifies the filename to LOAD (SIP70.8-0-3S.loads)
<authenticationURL></authenticationURL>
<directoryURL></directoryURL>
<idleURL></idleURL>
<informationURL></informationURL>
<messagesURL></messagesURL>
<servicesURL></servicesURL>
</Default>
[/xml]
А вот что в логах консоли с веб самого IP-телефона пишется:
Код: Выделить всё
8908: ERR 11:46:40.117938 JVM: ..LOCALCONNECT FAILED
8909: ERR 11:46:40.121703 JVM: ..LOCALCONNECT FAILED
8910: ERR 11:46:40.125383 JVM: ..LOCALCONNECT FAILED
8911: ERR 11:46:40.129064 JVM: ..LOCALCONNECT FAILED
8912: ERR 11:46:40.133549 JVM: ..LOCALCONNECT FAILED
8913: ERR 11:46:40.137265 JVM: ..LOCALCONNECT FAILED
8914: NOT 11:46:40.155856 xxtpClient: auth server - tftpList[0] = ::ffff:192.168.137.240
8915: NOT 11:46:40.156501 xxtpClient: look up server - 0
8916: WRN 11:46:40.158814 SECD: WARN:lookupCTL: ** no CTL, assume TFTP NONSECURE
8917: NOT 11:46:40.162277 xxtpClient: secVal = 0xa
8918: NOT 11:46:40.163267 xxtpClient: ::ffff:192.168.137.240 is a NONsecure server
8919: NOT 11:46:40.163937 xxtpClient: temp retval = SRVR_NONSECURE, keep looking
8920: NOT 11:46:40.164871 xxtpClient: retval = 10
8921: NOT 11:46:40.165692 xxtpClient: Secure file requested
8922: NOT 11:46:40.166296 xxtpClient: Non secure file approved -- /g3-tones.xml
8923: NOT 11:46:40.197764 HTTPCL: downdload will be limited to 537 KB
8924: ERR 11:47:10.701008 HTTPCL: connect() failed
8925: NOT 11:47:10.710731 SYSMSG: pid 4 (/sbin/httpcl) Normal Exit, status = 102
8926: INF 11:47:10.710776 runtime = 30.540 secs
8927: INF 11:47:10.710797 user cpu = 0.001209330 secs
8928: INF 11:47:10.710818 system cpu = 0.018968940 secs
8929: INF 11:47:10.710833 child user cpu = 0.000000000 secs
8930: INF 11:47:10.710848 child sys cpu = 0.000000000 secs
8931: INF 11:47:10.710873 sys interrupts = 0.156817910 secs for 3290 interrupts
8932: INF 11:47:10.710897 total cpu = 0.020178270 secs ( 0% utilization )
8933: WRN 11:47:10.712147 xxtpClient: HTTP failed with code 102
8934: NOT 11:47:10.741183 TFTP: [7]:Requesting /g3-tones.xml from 192.168.137.240 with size limit of 550001
8935: NOT 11:47:10.744732 TFTP: [7]:Finished --> rcvd 156 bytes
8936: NOT 11:47:10.754392 xxtpClient: tftp request rcv'd from /usr/tmp/tftp, emccMode =0, emccLocalOverride=0, tempTftp1= , tempTftp2 = , tempTftp3 = , tempTftp4 =
8937: NOT 11:47:10.755767 JVM: setTempTftpAddress, emcc_mode=0,retEmccMode=0,LocalOverride=0,retLocalOverride=0, status=1
8938: NOT 11:47:11.022342 SECD: loadTvsSrvrCfg: Not in EMCC mode.Loading the flash file :/flash0/sec/misc/tvs.conf
8939: NOT 11:47:11.034749 JVM: emccMode=0,localOverride=0, tftpAddr1=, tftpAddr2=,tftpAddr3=,tftpAddr4=
8940: NOT 11:47:11.037759 xxtpClient: tftp request rcv'd from /usr/tmp/tftp, emccMode =0, emccLocalOverride=0, tempTftp1= , tempTftp2 = , tempTftp3 = , tempTftp4 =
8941: NOT 11:47:11.039140 JVM: setTempTftpAddress, emcc_mode=0,retEmccMode=0,LocalOverride=0,retLocalOverride=0, status=1
8942: WRN 11:47:11.065505 JVM: Startup Module Loader|cip.l10n.UserLocaleProperty:? - Unable to process LocaleProperty 'device.settings.config.localization.userlocale'
8943: NOT 11:47:11.107667 JVM: Startup Module Loader|cip.midp.midletsuite.InstallerModule:? - propertyChanged - device.settings.config.localization.userlocale.charset value=ASCII
8944: NOT 11:47:11.109535 JVM: Startup Module Loader|cip.midp.midletsuite.InstallerModule:? - propertyChanged - device.settings.config.localization.userlocale.charset value=ASCII
8945: NOT 11:47:11.112037 JVM: Startup Module Loader|cip.midp.midletsuite.InstallerModule:? - propertyChanged - device.settings.config.localization.userlocale.languagecode value=en
8946: NOT 11:47:11.113810 JVM: Startup Module Loader|cip.midp.midletsuite.InstallerModule:? - propertyChanged - device.settings.config.localization.userlocale.languagecode value=en
8947: ERR 11:47:11.115734 JVM: Startup Module Loader|cip.xml.au: - XML Parser Exception: attr value delimiter missing! (position:START_TAG <tone c1='null'>@1:9 in java.io.InputStreamReader@ad9912) (line=1)
8948: ERR 11:47:11.124340 JVM: 11:47:11a|java.lang.NullPointerException
at cip.l10n.TonesProperty.a(Ljava/lang/String;)Z(Unknown Source)
at cip.l10n.NetworkLocaleProperty.a(Ljava/lang/String;)Z(Unknown Source)
at cip.l10n.LocaleProperty.a(ZLjava/lang/String;)V(Unknown Source)
at cip.l10n.LocaleProperty.a(Lcip/l10n/LocaleProperty;ZLjava/lang/String;)V(Unknown Source)
at cip.l10n.e.a(Ljava/lang/String;Ljava/lang/String;I)V(Unknown Source)
at cip.tftp.n.a(Lcip/tftp/l;Lcip/sys/x;)V(Unknown Source)
at cip.tftp.n.sinkMessage(Lcip/sys/x;)V(Unknown Source)
at cip.sys.n.sinkMessage(Lcip/sys/x;)V(Unknown Source)
at cip.sys.aa.a(Lcip/sys/ad;)Ljava/lang/Throwable;(Unknown Source)
at cip.sys.aa.e()V(Unknown Source)
at cip.sys.l.run()V(Unknown Source)
at java.lang.Thread.startup(Z)V(Unknown Source)
8949: ERR 11:47:11.126447 JVM: Startup Module Loader|cip.sys.aa:? - error sending message Family: cip.tftp.f@b01 ID: 1 Source: cip.tftp.d@312d2c P1: /g3-tones.xml P2: ram/L10N-75630447 P3: 0 java.lang.NullPointerException
8950: ERR 11:47:11.182855 JVM: 11:47:11a|java.lang.NullPointerException
at cip.l10n.TonesProperty.a(Ljava/lang/String;)Z(Unknown Source)
at cip.l10n.NetworkLocaleProperty.a(Ljava/lang/String;)Z(Unknown Source)
at cip.l10n.LocaleProperty.a(ZLjava/lang/String;)V(Unknown Source)
at cip.l10n.LocaleProperty.a(Lcip/l10n/LocaleProperty;ZLjava/lang/String;)V(Unknown Source)
at cip.l10n.e.a(Ljava/lang/String;Ljava/lang/String;I)V(Unknown Source)
at cip.tftp.n.a(Lcip/tftp/l;Lcip/sys/x;)V(Unknown Source)
at cip.tftp.n.sinkMessage(Lcip/sys/x;)V(Unknown Source)
at cip.sys.n.sinkMessage(Lcip/sys/x;)V(Unknown Source)
at cip.sys.aa.a(Lcip/sys/ad;)Ljava/lang/Throwable;(Unknown Source)
at cip.sys.aa.e()V(Unknown Source)
at cip.sys.l.run()V(Unknown Source)
at java.lang.Thread.startup(Z)V(Unknown Source)
8951: ERR 11:47:16.894560 JVM: ..LOCALCONNECT FAILED
8952: ERR 11:47:17.039901 JVM: Startup Module Loader|cip.sipcc.d: - regAllFailed(): mgmtState=4
8953: WRN 11:47:17.041656 JVM: Startup Module Loader|DisplayTask:? - acceptEWPowerSetting(): level 10
8954: ERR 11:47:17.043337 JVM: Startup Module Loader|cip.props.u:? - device.settings.energywise.phonepowerlevel IO error.
8955: WRN 11:47:17.045185 JVM: Startup Module Loader|cip.sipcc.SipEnhancedAlarmInfo:propertyChanged - name=device.settings.fullyregistered value=false
8956: WRN 11:47:17.046974 JVM: Startup Module Loader|JPlatUi: - platformResetReq: resetRequest type=2
8957: NOT 11:47:17.144710 JVM: SIPCC-SIP_CTRL: sip_shutdown_phase1: In sip_shutdown_phase1 (1)
8958: NOT 11:47:17.145451 JVM: SIPCC-SIP_CTRL: sip_shutdown_phase2: (1)
8959: NOT 11:47:17.146086 JVM: SIPCC-SIP_CTRL: sip_shutdown_phase2: sip.taskInited is set to true
8960: NOT 11:47:17.146720 JVM: SIPCC-SIP_TASK: sip_shutdown: SIP Shutting down...
8961: NOT 11:47:17.147361 JVM: SIPCC-SIP_TASK: sip_shutdown: sip.taskInited is set to false
8962: NOT 11:47:17.155122 JVM: set_active_ccm: ccm=PRIMARY port=-1
8963: NOT 11:47:17.155852 JVM: SIP : sip_platform_timers_shutdown : Destroying sip platform timers...
8964: ERR 11:47:17.213138 JVM: Startup Module Loader|cip.sipcc.d: - ----------readyForSoftReset call size()=0
8965: NOT 11:47:17.214799 JVM: Startup Module Loader|cip.sipcc.d: - readyForSoftReset:mgmt Going out of Service..
8966: NOT 11:47:17.216501 JVM: Startup Module Loader|cip.sipcc.d: - markLinesAsUnreg:conservative mark prior to shutting interface
8967: NOT 11:47:17.218400 JVM: Startup Module Loader|cip.sipcc.d: - readyForSoftReset:calling shutdownCC on call control
8968: WRN 11:47:17.220335 JVM: Startup Module Loader|cip.sipcc.SipEnhancedAlarmInfo:propertyChanged - name=device.settings.fullyregistered value=false
8969: ERR 11:47:17.222030 JVM: Startup Module Loader|JniJSesssionApi:isThisFailureFromNewCause - old unregReason =24 newUnregReason=14 unregReason ignored
8970: WRN 11:47:17.223632 JVM: Startup Module Loader|cip.sipcc.SipEnhancedAlarmInfo:propertyChanged - name=device.status.lastresetcause2 value=465