VIDEOCHAT  ::   FAQ  ::   Поиск  ::   Регистрация  ::   Вход

Asterisk + SCCP + локаль

Проблемы Asterisk без вэб-оболочек и их решения

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

Ответить
humming
Сообщения: 1
Зарегистрирован: 15 янв 2013, 16:58

Asterisk + SCCP + локаль

Сообщение humming »

Впервые столкнулся с телефонами Cisco в связке с астериском. На астериске поднял SCCP, телефоны заработали. Но вот залить туда русскую локаль никак не получается. TFTP поднят, сама прошивка замечательно с него подгружается, а вот локаль никак не загружается и в tcpdump даже не вижу обращений за ней.
Вот пример конфига файла SEPХХХХХХХХ.xml:

<Default>
<callManagerGroup>
<members>
<member priority="0">
<callManager>
<ports>
<ethernetPhonePort>2000</ethernetPhonePort>
</ports>
<processNodeName>192.168.168.1</processNodeName>
</callManager>
</member>
</members>
</callManagerGroup>
<loadInformation>SCCP42.8-4-2S</loadInformation>
<userLocale>
<name>Russian_Russian_Federation</name>
<uid></uid>
<langCode>ru_RU</langCode>
<version>8.4.3.1000-1</version>
<winCharSet>utf-8</winCharSet>
</userLocale>
<networkLocale>Russian_Federation</networkLocale>
<idleTimeout>0</idleTimeout>
<authenticationURL></authenticationURL>
<directoryURL></directoryURL>
<idleURL></idleURL>
<informationURL></informationURL>
<messagesURL></messagesURL>
<proxyServerURL></proxyServerURL>
<servicesURL></servicesURL>


</Default>

Папка с самими файлами локали лежит в корне папки tftp.
Может кто-нибудь подсказать, где ошибка и что я делаю не так?
Vlad1983
Сообщения: 4251
Зарегистрирован: 09 авг 2011, 11:51

Re: Asterisk + SCCP + локаль

Сообщение Vlad1983 »

рабочий конфиг под CCM
PRIME_BBCODE_SPOILER_SHOW PRIME_BBCODE_SPOILER:
<?xml version="1.0" encoding="UTF-8"?>
<device xsi:type="axl:XIPPhone" ctiid="15628" uuid="{304ccc50-4afb-4d94-bfad-d0fb2ba2cacc}">
<fullConfig>true</fullConfig>
<deviceProtocol>SCCP</deviceProtocol>
<sshUserId></sshUserId>
<sshPassword></sshPassword>
<ipAddressMode>0</ipAddressMode>
<allowAutoConfig>true</allowAutoConfig>
<ipPreferenceModeControl>0</ipPreferenceModeControl>
<tzdata>
<tzolsonversion>2012c</tzolsonversion>
<tzupdater>tzupdater.jar</tzupdater>
</tzdata>
<devicePool uuid="{887f5bfe-cc64-7054-70a2-89bb399c4081}">
<revertPriority>0</revertPriority>
<name>Orenburg</name>
<dateTimeSetting uuid="{ca833f52-907a-03fa-67fe-c9a7f7f4e4ce}">
<name>Ural</name>
<dateTemplate>D/M/Y</dateTemplate>
<timeZone>Ekaterinburg Standard Time</timeZone>
<olsonTimeZone>Asia/Yekaterinburg</olsonTimeZone>
</dateTimeSetting>
<callManagerGroup>
<name>Group2</name>
<tftpDefault>false</tftpDefault>
<members>
<member priority="0">
<callManager>
<name>CCM-SUB2-MSK</name>
<description>CCM Subscriber 2</description>
<ports>
<ethernetPhonePort>2000</ethernetPhonePort>
<sipPort>5060</sipPort>
<securedSipPort>5061</securedSipPort>
<mgcpPorts>
<listen>2427</listen>
<keepAlive>2428</keepAlive>
</mgcpPorts>
</ports>
<processNodeName>CCM-SUB2-MSK</processNodeName>
</callManager>
</member>
<member priority="1">
<callManager>
<name>CCM-SUB4-MSK</name>
<description>CCM Subscriber 4, backup for Subscriber 2</description>
<ports>
<ethernetPhonePort>2000</ethernetPhonePort>
<sipPort>5060</sipPort>
<securedSipPort>5061</securedSipPort>
<mgcpPorts>
<listen>2427</listen>
<keepAlive>2428</keepAlive>
</mgcpPorts>
</ports>
<processNodeName>CCM-SUB4-MSK</processNodeName>
</callManager>
</member>
</members>
</callManagerGroup>
<srstInfo uuid="{c41f8859-b1ec-37ca-61d1-1021c72c3cd0}">
<name>_SRST</name>
<srstOption>User Specific</srstOption>
<userModifiable>true</userModifiable>
<ipAddr1>10.10.1.4</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>
<mlppDomainId>-1</mlppDomainId>
<mlppIndicationStatus>Default</mlppIndicationStatus>
<preemption>Default</preemption>
<connectionMonitorDuration>120</connectionMonitorDuration>
</devicePool>
<TVS>
<members>
<member priority="0">
<port>2445</port>
<address>CCM-SUB2-MSK</address>
</member>
<member priority="1">
<port>2445</port>
<address>CCM-SUB4-MSK</address>
</member>
</members>
</TVS>
<MissedCallLoggingOption>10</MissedCallLoggingOption>
<commonProfile>
<phonePassword></phonePassword>
<backgroundImageAccess>true</backgroundImageAccess>
<callLogBlfEnabled>3</callLogBlfEnabled>
</commonProfile>
<loadInformation>SCCP45.9-3-1-1S</loadInformation>
<vendorConfig>
<disableSpeaker>false</disableSpeaker><disableSpeakerAndHeadset>false</disableSpeakerAndHeadset><forwardingDelay>1</forwardingDelay><pcPort>0</pcPort><garp>1</garp><voiceVlanAccess>0</voiceVlanAccess><autoSelectLineEnable>0</autoSelectLineEnable><spanToPCPort>1</spanToPCPort><loggingDisplay>1</loggingDisplay><recordingTone>0</recordingTone><recordingToneLocalVolume>100</recordingToneLocalVolume><recordingToneRemoteVolume>50</recordingToneRemoteVolume><recordingToneDuration></recordingToneDuration><displayOnWhenIncomingCall>0</displayOnWhenIncomingCall><moreKeyReversionTimer>5</moreKeyReversionTimer><autoCallSelect>1</autoCallSelect><logServer></logServer><g722CodecSupport>0</g722CodecSupport><headsetWidebandUIControl>0</headsetWidebandUIControl><headsetWidebandEnable>0</headsetWidebandEnable><lldpAssetId></lldpAssetId><powerPriority>0</powerPriority><ehookEnable>0</ehookEnable><ipv6LogServer></ipv6LogServer><minimumRingVolume>0</minimumRingVolume><sideToneLevel>0</sideToneLevel><handsetHeadsetMonitor>1</handsetHeadsetMonitor><headsetRecording>0</headsetRecording><useEnblocDialing>1</useEnblocDialing></vendorConfig>
<commonConfig>
<ciscoCamera>1</ciscoCamera><webAccess>0</webAccess><sshAccess>1</sshAccess><RingLocale>0</RingLocale></commonConfig>
<enterpriseConfig>
</enterpriseConfig>
<versionStamp>1355394165-d851fdf4-df1a-41ad-ba03-1f19d762404f</versionStamp>
<userLocale>
<name>Russian_Russian_Federation</name>
<uid>5</uid>
<langCode>ru_RU</langCode>
<version>8.6.2.1000-1</version>
<winCharSet>windows-1251</winCharSet>
</userLocale>
<networkLocale>Russian_Federation</networkLocale>
<networkLocaleInfo>
<name>Russian_Federation</name>
<uid>50</uid>
<version>8.6.2.1000-1</version>
</networkLocaleInfo>
<deviceSecurityMode>1</deviceSecurityMode>
<idleTimeout>0</idleTimeout>
<authenticationURL>http://10.0.13.121:8080/ccmcip/authenticate.jsp</authenticationURL>
<directoryURL>http://10.0.13.121:8080/ccmcip/xmldirectory.jsp</directoryURL>
<idleURL></idleURL>
<informationURL>http://10.0.13.121:8080/ccmcip/GetTelecasterHelpText.jsp</informationURL>
<messagesURL></messagesURL>
<proxyServerURL></proxyServerURL>
<servicesURL>http://10.0.13.121:8080/ccmcip/getservicesmenu.jsp</servicesURL>
<secureAuthenticationURL>https://CCM-PUB-MSK:8443/ccmcip/authenticate.jsp</secureAuthenticationURL>
<secureDirectoryURL>https://CCM-PUB-MSK:8443/ccmcip/xmldirectory.jsp</secureDirectoryURL>
<secureIdleURL></secureIdleURL>
<secureInformationURL>https://CCM-PUB-MSK:8443/ccmcip/GetTelecasterHelpText.jsp</secureInformationURL>
<secureMessagesURL></secureMessagesURL>
<secureServicesURL>https://CCM-PUB-MSK:8443/ccmcip/getservicesmenu.jsp</secureServicesURL>
<dscpForSCCPPhoneConfig>96</dscpForSCCPPhoneConfig>
<dscpForSCCPPhoneServices>0</dscpForSCCPPhoneServices>
<dscpForCm2Dvce>96</dscpForCm2Dvce>
<transportLayerProtocol>1</transportLayerProtocol>
<dndCallAlert>5</dndCallAlert>
<phonePersonalization>0</phonePersonalization>
<rollover>0</rollover>
<singleButtonBarge>0</singleButtonBarge>
<joinAcrossLines>0</joinAcrossLines>
<autoCallPickupEnable>false</autoCallPickupEnable>
<blfAudibleAlertSettingOfIdleStation>0</blfAudibleAlertSettingOfIdleStation>
<blfAudibleAlertSettingOfBusyStation>0</blfAudibleAlertSettingOfBusyStation>
<capfAuthMode>0</capfAuthMode>
<capfList>
<capf>
<phonePort>3804</phonePort>
<processNodeName>CCM-PUB-MSK</processNodeName>
</capf>
</capfList>
<certHash></certHash>
<encrConfig>false</encrConfig>
<advertiseG722Codec>1</advertiseG722Codec>
<mobility>
<handoffdn></handoffdn>
<dtmfdn></dtmfdn>
<ivrdn></ivrdn>
<dtmfHoldCode>*81</dtmfHoldCode>
<dtmfExclusiveHoldCode>*82</dtmfExclusiveHoldCode>
<dtmfResumeCode>*83</dtmfResumeCode>
<dtmfTxfCode>*84</dtmfTxfCode>
<dtmfCnfCode>*85</dtmfCnfCode>
</mobility>
<userId></userId>
<phoneServices useHTTPS="true">
<provisioning>0</provisioning>
<phoneService type="1" category="0">
<name>Missed Calls</name>
<url>Application:Cisco/MissedCalls</url>
<vendor></vendor>
<version></version>
</phoneService>
<phoneService type="2" category="0">
<name>Voicemail</name>
<url>Application:Cisco/Voicemail</url>
<vendor></vendor>
<version></version>
</phoneService>
<phoneService type="1" category="0">
<name>Received Calls</name>
<url>Application:Cisco/ReceivedCalls</url>
<vendor></vendor>
<version></version>
</phoneService>
<phoneService type="1" category="0">
<name>Placed Calls</name>
<url>Application:Cisco/PlacedCalls</url>
<vendor></vendor>
<version></version>
</phoneService>
<phoneService type="1" category="0">
<name>Personal Directory</name>
<url>Application:Cisco/PersonalDirectory</url>
<vendor></vendor>
<version></version>
</phoneService>
<phoneService type="1" category="0">
<name>Corporate Directory</name>
<url>Application:Cisco/CorporateDirectory</url>
<vendor></vendor>
<version></version>
</phoneService>
</phoneServices>
</device>
ЛС: @rostel
AM_Diagnost
Сообщения: 15
Зарегистрирован: 26 янв 2013, 19:23

Re: Asterisk + SCCP + локаль

Сообщение AM_Diagnost »

насколько помню, то папка с локалью должна называться так, как указано в конфиг файле....а из него вижу - Russian_Russian_Federation
Ответить
© 2008 — 2025 Asterisk.ru
Digium, Asterisk and AsteriskNOW are registered trademarks of Digium, Inc.
Design and development by PostMet-Netzwerk GmbH