LINUX.ORG.RU
ФорумAdmin

Не подключается cisco 7906 к SIP провайдеру

 ,


0

1

Пытаюсь настроить циску для работы с провайдером celecom (их сапорт ничем кроме предложения поменять аппарат не помог). Висит постоянная регистрация на экране. Что я делаю не так? SEP<MAC>.cnf.xml:

<device xsi:type="axl:XIPPhone" ctiid="1566023366">
<deviceProtocol>SIP</deviceProtocol>
<sshUserId>cisco</sshUserId>
<sshPassword>cisco</sshPassword>
<devicePool>
    <dateTimeSetting>
       <dateTemplate>D-M-Y</dateTemplate>
       <timeZone>Russian Standard/Daylight Time</timeZone>
       <ntps>
          <ntp>
            <name>88.147.254.232</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>ip-sip-servera.celecom.ru</processNodeName>
             </callManager>
          </member>
       </members>
    </callManagerGroup>
 </devicePool>
<sipProfile>
    <sipProxies>
       <backupProxy>ip-sip-servera.celecom.ru</backupProxy>
       <backupProxyPort>5060</backupProxyPort>
       <emergencyProxy>ip-sip-servera.celecom.ru</emergencyProxy>
       <emergencyProxyPort>5060</emergencyProxyPort>
       <outboundProxy>ip-sip-servera.celecom.ru</outboundProxy>
       <outboundProxyPort>5060</outboundProxyPort>
       <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>
   <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>false</remotePartyID>
       <userInfo>None</userInfo>
   </sipStack>
   <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>false</natEnabled>
    <phoneLabel>blabla</phoneLabel>
    <stutterMsgWaiting>1</stutterMsgWaiting>
    <callStats>false</callStats>
    <silentPeriodBetweenCallWaitingBursts>10</silentPeriodBetweenCallWaitingBursts>
    <disableLocalSpeedDialConfig>false</disableLocalSpeedDialConfig>
    <startMediaPort>16384</startMediaPort>
    <stopMediaPort>32766</stopMediaPort>
    <sipLines>
       <line
        button="1">
          <featureID>9</featureID>
          <featureLabel>Hello world</featureLabel>
          <proxy>ip-sip-servera.celecom.ru</proxy>
          <port>5060</port>
          <name>102</name>

          <displayName>102</displayName>
          <autoAnswer>
             <autoAnswerEnabled>2</autoAnswerEnabled>
         </autoAnswer>
         <callWaiting>3</callWaiting>
         <authName>102</authName>
          <authPassword>PASSWORD</authPassword>

          <sharedLine>false</sharedLine>
          <messageWaitingLampPolicy>1</messageWaitingLampPolicy>
          <messagesNumber>102</messagesNumber>
          <ringSettingIdle>4</ringSettingIdle>
          <ringSettingActive>5</ringSettingActive>
          <contact>102</contact>
          <forwardCallInfoDisplay>
             <callerName>true</callerName>
             <callerNumber>false</callerNumber>
             <redirectedNumber>false</redirectedNumber>
             <dialedNumber>true</dialedNumber>
          </forwardCallInfoDisplay>
      </line>
   </sipLines>
   <voipControlPort>5060</voipControlPort>
    <dscpForAudio>184</dscpForAudio>
    <ringSettingBusyStationPolicy>0</ringSettingBusyStationPolicy>
    <dialTemplate>dialplan.xml</dialTemplate>
</sipProfile>
<commonProfile>
    <phonePassword></phonePassword>
    <backgroundImageAccess>true</backgroundImageAccess>
    <callLogBlfEnabled>2</callLogBlfEnabled>
</commonProfile>
<loadInformation>SIP11.9-4-2SR2-2S</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>
    <webAccess>0</webAccess>
    <daysDisplayNotActive>1,2,3,4,5,6,7</daysDisplayNotActive>
    <displayOnTime>00:00</displayOnTime>
    <displayOnDuration>00:00</displayOnDuration>
    <displayIdleTimeout>00:00</displayIdleTimeout>
    <spanToPCPort>1</spanToPCPort>
    <loggingDisplay>1</loggingDisplay>
    <loadServer></loadServer>
</vendorConfig>
<versionStamp>1143565489-a3cbf294-7526-4c29-8791-c4fce4ce4c37</versionStamp>
<networkLocale>Russian_Federation</networkLocale>

 <networkLocaleInfo>
    <name>Russian_Federation</name>
    <version>5.0(2)</version>
 </networkLocaleInfo>

 <deviceSecurityMode>0</deviceSecurityMode>
 <authenticationURL>http://www/ipphone/authenticate.php</authenticationURL>
 <directoryURL>http://www/ipphone/directory.xml</directoryURL>
 <idleURL></idleURL>
 <informationURL>http://www/ipphone/GetTelecasterHelpText.jsp</informationURL>
 <messagesURL></messagesURL>
 <servicesURL>http://www/ipphone/services.xml</servicesURL>
 <dscpForSCCPPhoneConfig>96</dscpForSCCPPhoneConfig>
 <dscpForSCCPPhoneServices>0</dscpForSCCPPhoneServices>
 <dscpForCm2Dvce>96</dscpForCm2Dvce>
 <transportLayerProtocol>4</transportLayerProtocol>
 <capfAuthMode>0</capfAuthMode>
 <capfList>
    <capf>
       <phonePort>3804</phonePort>
    </capf>
 </capfList>

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

</device>

dialplan.xml:

<?xml version="1.0" encoding="utf-8" ?>
<dialplan>
   <template match="*" timeout="0"/>
</dialplan>

log180.log:

|== Syslogd TNP== Wed Dec 21 13:30:54 2016
====================================================
2533: DBG 13:30:54.002283 JVM: 50        1        1        0        0        0        0        0        0        0        0
2534: DBG 13:30:54.002987 JVM: 60        0        0        0        0        0 d4a11b23 44166ab9 39e81766 c8232ea3 253cc6dd
2535: DBG 13:30:54.003680 JVM: 70 9797aed9 b095b51c        0        0        0        0        0        0        0        0
2536: DBG 13:30:54.117284 JVM: HTTP JNI| starting updateServletRequest()
2537: DBG 13:30:54.117951 JVM: HTTP JNI| UIUpdatePush: 0 3 0
2538: DBG 13:30:54.119258 JVM: HTTP JNI| starting updateServletRequest()
2539: xxx 13:30:54.120175 JVM: HTTP JNI| *** *** *** PUSH_DONE: res file:/usr/cache/PUSH_RESP_0_3.x
2540: xxx 13:30:54.121959 JVM: HTTP JNI| Rsp file</usr/cache/PUSH_RESP_0_3.x> has size:6467 max buff size is:1024
2541: DBG 13:30:54.125734 JVM: HTTP JNI| UIUpdatePush: 0 3 0
2542: NOT 13:30:58.901941 JVM: sip_platform_udp_channel_destroy:closed UDP socket successfully
2543: ERR 13:31:02.542002 JVM: Calling enable listening for incoming http connections
2544: INF 13:31:04.120701 JVM: StcpConnectionStatus local port 80, remote port 55298
2545: DBG 13:31:04.140787 JVM: HTTP JNI| RpExternalCgi() 1st call for fConnectionId=0
2546: DBG 13:31:04.141508 JVM: HTTP JNI| bypassing authentication for Serviceability
2547: DBG 13:31:04.142060 JVM: HTTP JNI| *** HTTP_CGI_AUTHENTICATION_COMPLETE ***
2548: DBG 13:31:04.142662 JVM: HTTP JNI| create_http_rsp_file() 0 [/usr/cache/PUSH_RESP_0_4.x] [/usr/cache/PUSH_RESP_0_3.x]
2549: DBG 13:31:04.143996 JVM: HTTP JNI| *** process /CGI/Java ***
2550: DBG 13:31:04.144581 JVM: HTTP JNI| process_servlet()
2551: DBG 13:31:04.145572 JVM: HTTP JNI| calling ServletContainerClass_requestServlet()
2552: INF 13:31:04.147900 JVM: HTTP JNI| call to ServletContainerClass_requestServlet successful
2553: DBG 13:31:04.193035 JVM: HTTP JNI| starting updateServletRequest()
2554: DBG 13:31:04.193715 JVM: HTTP JNI| UIUpdatePush: 0 3 0
2555: DBG 13:31:04.194755 JVM: HTTP JNI| starting updateServletRequest()
2556: DBG 13:31:04.195387 JVM: HTTP JNI| UIUpdatePush: 0 3 0
2557: DBG 13:31:04.200214 JVM: HTTP JNI| *** *** *** PUSH_DONE: res file:/usr/cache/PUSH_RESP_0_4.x
2558: DBG 13:31:04.201189 JVM: HTTP JNI| Rsp file</usr/cache/PUSH_RESP_0_4.x> has size:2805 max buff size is:1024
2559: DBG 13:31:05.441298 JVM: HTTP JNI| RpExternalCgi() 1st call for fConnectionId=0
2560: DBG 13:31:05.441978 JVM: HTTP JNI| bypassing authentication for Serviceability
2561: DBG 13:31:05.442533 JVM: HTTP JNI| *** HTTP_CGI_AUTHENTICATION_COMPLETE ***
2562: DBG 13:31:05.443139 JVM: HTTP JNI| create_http_rsp_file() 0 [/usr/cache/PUSH_RESP_0_5.x] [/usr/cache/PUSH_RESP_0_4.x]
2563: DBG 13:31:05.444467 JVM: HTTP JNI| *** process /CGI/Java ***
2564: DBG 13:31:05.445084 JVM: HTTP JNI| process_servlet()
2565: DBG 13:31:05.445818 JVM: HTTP JNI| calling ServletContainerClass_requestServlet()
2566: INF 13:31:05.448153 JVM: HTTP JNI| call to ServletContainerClass_requestServlet successful
2567: DBG 13:31:05.502811 JVM: HTTP JNI| starting updateServletRequest()
2568: DBG 13:31:05.503476 JVM: HTTP JNI| UIUpdatePush: 0 3 0
2569: DBG 13:31:05.504492 JVM: HTTP JNI| starting updateServletRequest()
2570: DBG 13:31:05.505124 JVM: HTTP JNI| UIUpdatePush: 0 3 0
2571: DBG 13:31:05.523187 JVM: HTTP JNI| *** *** *** PUSH_DONE: res file:/usr/cache/PUSH_RESP_0_5.x
2572: DBG 13:31:05.524209 JVM: HTTP JNI| Rsp file</usr/cache/PUSH_RESP_0_5.x> has size:3597 max buff size is:1024
2573: ERR 13:31:12.560577 JVM: Calling enable listening for incoming http connections
2574: INF 13:31:23.540518 JVM: StcpConnectionStatus local port 80, remote port 55300
2575: DBG 13:31:23.560787 JVM: HTTP JNI| RpExternalCgi() 1st call for fConnectionId=0
2576: DBG 13:31:23.561446 JVM: HTTP JNI| bypassing authentication for Serviceability
2577: DBG 13:31:23.562047 JVM: HTTP JNI| *** HTTP_CGI_AUTHENTICATION_COMPLETE ***
2578: DBG 13:31:23.562661 JVM: HTTP JNI| create_http_rsp_file() 0 [/usr/cache/PUSH_RESP_0_6.x] [/usr/cache/PUSH_RESP_0_5.x]
2579: DBG 13:31:23.563983 JVM: HTTP JNI| *** process /CGI/Java ***
2580: DBG 13:31:23.564557 JVM: HTTP JNI| process_servlet()
2581: DBG 13:31:23.565292 JVM: HTTP JNI| calling ServletContainerClass_requestServlet()
2582: INF 13:31:23.568329 JVM: HTTP JNI| call to ServletContainerClass_requestServlet successful
2583: DBG 13:31:23.683360 JVM: sending command:5
2584: ERR 13:31:23.684324 JVM: cvmDebug: executing - 5. Dump total obj counts in java heap
2585: ERR 13:31:23.698441 JVM: Counted 29246 objects
2586: ERR 13:31:23.699171 JVM: Total Heap Size:2000384
2587: ERR 13:31:23.699810 JVM:  Free Heap Size:1005868
2588: DBG 13:31:24.680755 JVM: sending command:7
2589: ERR 13:31:24.681700 JVM: cvmDebug: executing - 7. Dump string value of [C instances in java heap
2590: DBG 13:31:25.681133 JVM: COULD NOT OPEN /usr/tmp/cvmheapdump 
2591: DBG 13:31:25.712513 JVM: HTTP JNI| starting updateServletRequest()
2592: DBG 13:31:25.713182 JVM: HTTP JNI| UIUpdatePush: 0 3 0
2593: DBG 13:31:25.714246 JVM: HTTP JNI| starting updateServletRequest()
2594: DBG 13:31:25.714872 JVM: HTTP JNI| UIUpdatePush: 0 3 0
2595: DBG 13:31:25.721412 JVM: HTTP JNI| *** *** *** PUSH_DONE: res file:/usr/cache/PUSH_RESP_0_6.x
2596: DBG 13:31:25.722419 JVM: HTTP JNI| Rsp file</usr/cache/PUSH_RESP_0_6.x> has size:2872 max buff size is:1024
2597: DBG 13:31:27.260926 JVM: HTTP JNI| RpExternalCgi() 1st call for fConnectionId=0
2598: DBG 13:31:27.261605 JVM: HTTP JNI| bypassing authentication for Serviceability
2599: DBG 13:31:27.262150 JVM: HTTP JNI| *** HTTP_CGI_AUTHENTICATION_COMPLETE ***
2600: DBG 13:31:27.262747 JVM: HTTP JNI| create_http_rsp_file() 0 [/usr/cache/PUSH_RESP_0_7.x] [/usr/cache/PUSH_RESP_0_6.x]
2601: DBG 13:31:27.264084 JVM: HTTP JNI| *** process /CGI/Java ***
2602: DBG 13:31:27.264657 JVM: HTTP JNI| process_servlet()
2603: DBG 13:31:27.265419 JVM: HTTP JNI| calling ServletContainerClass_requestServlet()
2604: INF 13:31:27.268292 JVM: HTTP JNI| call to ServletContainerClass_requestServlet successful

fsck.fd1a.log:

checking /dev/fd1a
disk geometry
  block size        = 512 (0x200)
  sector size       = 131072 (0x20000)
  number of sectors = 1 (0x1)
  blocks/sector     = 256 (0x100)
  total blocks      = 256 (0x100)
disk contains 1 valid blockmaps
disk contains 21 valid inodes
block usage
  used blocks  = 41
  free blocks  = 201
  dirty blocks = 14
complete


чудовищно давно не работал с цисками, но первые вещи что приходят на ум - у тебя nat = false. это точно так? плюс заполнены sipProxies, хотя ман на voip-info говорит что там кроме registerWithProxy остальное обычно нафиг не надо.

далее - transportLayerProtocol = 4, т.е. дефолт. ман говорит что на новых прошивках используется TCP. можно потыкать туда-сюда.

upcFrost ★★★★★
()
Ответ на: комментарий от kote

Ок. Можешь трафик снять? Ну, миррор или Wireshark или tcpdump или как там у тебя сеть включна

Кстати, прошивка-то с SIP? Там раньше раздельные были для сип и sccp

upcFrost ★★★★★
()
Последнее исправление: upcFrost (всего исправлений: 1)

Может в fido7.ru.cisco хотябы ? Оно ещё шевелится... Вот только большие конфиги там могут не оценить. Нужна выжимка небольшого неработающего куска.

AS ★★★★★
()
Последнее исправление: AS (всего исправлений: 1)
Вы не можете добавлять комментарии в эту тему. Тема перемещена в архив.