Установил последний Schan-SCCP отсюда
https://sourceforge.net/projects/chan-sccp-b/files/
в tftp(отдельно от asteris) добавил файл SEP0004f2e389df.cnf.xml
c содержимым
PRIME_BBCODE_SPOILER_SHOW PRIME_BBCODE_SPOILER:
Код: Выделить всё
<device>
<fullConfig>true</fullConfig>
<deviceProtocol>SCCP</deviceProtocol>
<sshUserId/>
<sshPassword/>
<ipAddressMode>2</ipAddressMode>
<allowAutoConfig>true</allowAutoConfig>
<ipPreferenceModeControl>1</ipPreferenceModeControl>
<tzdata>
<tzolsonversion>2012c</tzolsonversion>
<tzupdater>tzupdater.jar</tzupdater>
</tzdata>
<mlppDomainId>000000</mlppDomainId>
<mlppIndicationStatus>Off</mlppIndicationStatus>
<preemption>Disabled</preemption>
<executiveOverridePreemptable>false</executiveOverridePreemptable>
<devicePool>
<revertPriority>0</revertPriority>
<name>Default</name>
<dateTimeSetting>
<name>CMLocal</name>
<dateTemplate>M/D/Y</dateTemplate>
<timeZone>Greenwich Standard Time</timeZone>
<olsonTimeZone>Etc/GMT</olsonTimeZone>
</dateTimeSetting>
<callManagerGroup>
<name>Default</name>
<tftpDefault>true</tftpDefault>
<members>
<member priority="0">
<callManager>
<name>10.38.0.3</name>
<ipv6Addr/>
<description>10.38.0.3</description>
<ports>
<ethernetPhonePort>2000</ethernetPhonePort>
<sipPort>5060</sipPort>
<securedSipPort>5061</securedSipPort>
<mgcpPorts>
<listen>2427</listen>
<keepAlive>2428</keepAlive>
</mgcpPorts>
</ports>
<processNodeName>10.38.0.3</processNodeName>
</callManager>
</member>
</members>
</callManagerGroup>
<srstInfo uuid="{cd241e11-4a58-4d3d-9661-f06c912a18a3}">
<name>Disable</name>
<srstOption>Disable</srstOption>
<userModifiable>false</userModifiable>
<ipAddr1/>
<port1>2000</port1>
<ipAddr2/>
<port2>2000</port2>
<ipAddr3/>
<port3>2000</port3>
<sipIpAddr1/>
<sipPort1>5060</sipPort1>
<sipIpAddr2/>
<sipPort2>5060</sipPort2>
<sipIpAddr3/>
<sipPort3>5060</sipPort3>
<isSecure>false</isSecure>
</srstInfo>
<connectionMonitorDuration>120</connectionMonitorDuration>
</devicePool>
<commonProfile>
<phonePassword/>
<backgroundImageAccess>true</backgroundImageAccess>
<callLogBlfEnabled>3</callLogBlfEnabled>
</commonProfile>
<loadInformation>cmterm_7936.3-3-21-0</loadInformation>
<vendorConfig>
<garp>0</garp>
<voiceVlanAccess>0</voiceVlanAccess>
<sshAccess>1</sshAccess>
<lldpAssetId/>
<voiceQualityControl>0</voiceQualityControl>
</vendorConfig>
<versionStamp>1396020461-83a09e65-e62e-4db3-9e03-e3d0cdfd7093</versionStamp>
<userLocale>
<name>English_United_States</name>
<uid>1</uid>
<langCode>en_US</langCode>
<version>9.0.0.0(1)</version>
<winCharSet>iso-8859-1</winCharSet>
</userLocale>
<networkLocale>United_States</networkLocale>
<networkLocaleInfo>
<name>United_States</name>
<uid>64</uid>
<version>9.0.0.0(1)</version>
</networkLocaleInfo>
<idleTimeout>0</idleTimeout>
<authenticationURL>http://asterisk:8080/ccmcip/authenticate.jsp</authenticationURL>
<directoryURL>http://asterisk:8080/ccmcip/xmldirectory.jsp</directoryURL>
<idleURL/>
<informationURL>http://asterisk:8080/ccmcip/GetTelecasterHelpText.jsp</informationURL>
<messagesURL/>
<proxyServerURL/>
<servicesURL>http://asterisk:8080/ccmcip/getservicesmenu.jsp</servicesURL>
<dscpForSCCPPhoneConfig>96</dscpForSCCPPhoneConfig>
<dscpForSCCPPhoneServices>0</dscpForSCCPPhoneServices>
<dscpForCm2Dvce>96</dscpForCm2Dvce>
<transportLayerProtocol>1</transportLayerProtocol>
<dndCallAlert>5</dndCallAlert>
<phonePersonalization>1</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>10.38.0.3</processNodeName>
<ipv6Addr/>
</capf>
</capfList>
<certHash/>
<encrConfig>false</encrConfig>
<advertiseG722Codec>1</advertiseG722Codec>
<mobility>
<handoffdn/>
<dtmfdn/>
<ivrdn/>
<dtmfHoldCode>*81</dtmfHoldCode>
<dtmfExclusiveHoldCode>*82</dtmfExclusiveHoldCode>
<dtmfResumeCode>*83</dtmfResumeCode>
<dtmfTxfCode>*84</dtmfTxfCode>
<dtmfCnfCode>*85</dtmfCnfCode>
</mobility>
<userId/>
<phoneServices>
<provisioning>2</provisioning>
<phoneService type="1" category="0">
<name>Missed Calls</name>
<url>Application:Cisco/MissedCalls</url>
<vendor/>
<version/>
</phoneService>
<phoneService type="2" category="0">
<name>Voicemail</name>
<url>Application:Cisco/Voicemail</url>
<vendor/>
<version/>
</phoneService>
<phoneService type="1" category="0">
<name>Received Calls</name>
<url>Application:Cisco/ReceivedCalls</url>
<vendor/>
<version/>
</phoneService>
<phoneService type="1" category="0">
<name>Placed Calls</name>
<url>Application:Cisco/PlacedCalls</url>
<vendor/>
<version/>
</phoneService>
<phoneService type="1" category="0">
<name>Personal Directory</name>
<url>Application:Cisco/PersonalDirectory</url>
<vendor/>
<version/>
</phoneService>
<phoneService type="1" category="0">
<name>Corporate Directory</name>
<url>Application:Cisco/CorporateDirectory</url>
<vendor/>
<version/>
</phoneService>
</phoneServices>
</device>
добавил прошивку на tftp, телефон прошился
на asterisk в sccp.conf прописал
PRIME_BBCODE_SPOILER_SHOW PRIME_BBCODE_SPOILER:
Код: Выделить всё
[general]
servername = 10.38.0.3
keepalive = 60
debug = 0
context = countrycalls
dateformat = D.M.Y
bindaddr = 10.38.0.3
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
callwaiting_tone = 0x2d
musicclass=default
language=en
deny=0.0.0.0/0.0.0.0
permit=0.0.0.0/0.0.0.0
dnd = on
sccp_tos = 0x68
sccp_cos = 4
audio_tos = 0xB8
audio_cos = 6
video_tos = 0x88
video_cos = 5
echocancel = on
silencesuppression = off
trustphoneip = no
private = on
callanswerorder=oldestfirst
protocolversion=17
hotline_enabled=yes ;can devices without configuration register
hotline_context=from-internal-xfer ; context for hotline
hotline_extension=11111 ; extension will be dialed on offHook
;=========================================================================================
;
; actual definitions
;
[16:26:08] Роман Голубенко: [SEP0004f2e389df] ; MAC of 7936
description = Conference Room
devicetype = 7936
type = device
button = line, 200
deny=0.0.0.0/0.0.0.0 ; Same as general
permit=0.0.0.0/0.0.0.0 ; Same as general
imageversion = cmterm_7936.3-3-21-0
pickupcontext = countrycalls
tzoffset = +0
transfer = on
trustphoneip = no
directrtp=off
earlyrtp = progress
private = on
mwilamp = on
mwioncall = off
setvar=testvar=value
cfwdall = on
imageversion = cmterm_7936.3-3-21-0
[1240]
id =
type = line
label = Phone 1240
description = Line 1240
cid_name = CONFROOM
cid_num = 1240
echocancel = off
context = countrycalls
transfer = on
vmnum = 600
trnsfvm = 1000
secondary_dialtone_digits = 9
secondary_dialtone_tone = 0x22
musicclass=default
language=en
echocancel = on
silencesuppression = off
включил телефон
на астериске проверил
PRIME_BBCODE_SPOILER_SHOW PRIME_BBCODE_SPOILER:
Код: Выделить всё
sccp show devices
+--- Devices --------------------------------------------------------------------------------------------------------------------------------------------+
| Descr Address Mac RegState Token RegTime Act Lines Nat |
+ ========================= ============================================ ================ ========== ===== ========================= === ===== ========= +
| Conference Room -- SEP0004f2e389df None No To Fri Sep 2 16:17:44 2016 No 0 Auto |
+--------------------------------------------------------------------------------------------------------------------------------------------------------+
show device SEP0004f2e389df
--- SCCP channel driver device settings ----------------------------------------------------------------------------------
MAC-Address : SEP0004f2e389df
Protocol Version : Supported '0', In Use '0'
Protocol In Use : NONE Version 0
Device Features : 0,00000000000000000000000000000000
Tokenstate : No Token
Keepalive : 60
Registration state : None(2)
State : On Hook(0)
MWI light : On(2)
MWI handset light : 0000000000000000000000000000000 (0)
MWI During call : turn off
Description : Conference Room
Config Phone Type : 7936
Skinny Phone Type : Undefined: Maybe you forgot the devicetype in your config(0)
Softkey support : no
Softkeyset : default => default (0x7fcbfc008f70)
BTemplate support : no
linesRegistered : no
Image Version :
Timezone Offset : 0
Capabilities : (nothing)
Codecs preference : (alaw/64k (2), alaw/56k (3), ulaw/64k (4), ulaw/56k (5), g729 (11), g729a (12), g729b (15), g729ab (16), g729/annex/b (85))
Audio TOS : 184
Audio COS : 6
Video TOS : 136
Video COS : 5
DND Feature enabled : yes
DND Status : Disabled
DND Action : Reject
Can Transfer : on
Can Park : on
Can CFWDALL : on
Can CFWBUSY : on
Can CFWNOANSWER : on
Allow ringin notification : no
Private softkey : on
Dtmf mode : SKINNY
Nat : Auto
Videosupport? : no
Direct RTP : off
Trust phone ip (deprecated) : off
Bind Address : ???.???.???.???
Server Address : ???.???.???.???
Deny/Permit : deny:0.0.0.0/0.0.0.0,permit:0.0.0.0/0.0.0.0,
PermitHosts :
Early RTP : Progress
Device State (Acc.) : None
Last Used Accessory : None
Last dialed number : (0)
Default line instance : 0
Custom Background Image : ---
Custom Ring Tone : ---
PendingUpdate : off
PendingDelete : off
Directed Pickup : on
Pickup Context : countrycalls (exists)
Pickup Mode Answer : on
+--- Buttons -----------------------------------------------------------------------------------+
| Id Inst TypeStr Type pendUpdt pendDel Default |
+ ==== ==== ============================== ======================== ======== ======== ========= +
| 1 0 Line 0 No No No |
+-----------------------------------------------------------------------------------------------+
+--- LineButtons -------------------------------------------------------------------------------+
| Id Name Suffix Label CfwdType CfwdNumber |
+ ==== ======================= ====== ============================= ========== ================ +
+-----------------------------------------------------------------------------------------------+
+--- SpeeddialButtons --------------------------------------------------------------------------+
| Id Name Number Hint |
+ ==== ======================= ==================================== =========================== +
+-----------------------------------------------------------------------------------------------+
+--- FeatureButtons ----------------------------------------------------------------------------+
| Id Name Options Status |
+ ==== ======================= ==================================== =========================== +
+-----------------------------------------------------------------------------------------------+
+--- ServiceURLButtons -------------------------------------------------------------------------+
| Id Name URL |
+ ==== ======================= ================================================================ +
+-----------------------------------------------------------------------------------------------+
+--- Variables ---------------------------------------------------------------------------------+
| Name Value |
+ ============================ ================================================================ +
| testvar value |
+-----------------------------------------------------------------------------------------------+
+--- CallStatistics ---------------------------------------------------------------------------------------------------+
| Type Calls PcktSnt PcktRcvd Lost Jitter Latency Quality avgQual meanQual maxQual rConceal sConceal |
+ ======== ======== ======== ======== ======== ======== ======== ======== ======== ======== ======== ======== ======== +
| LAST 0 0 0 0 0 0 0.000000 0.000000 0.000000 0.000000 0.000000 0 |
| AVG 0 0 0 0 0 0 0.000000 0.000000 0.000000 0.000000 0.000000 0 |
+----------------------------------------------------------------------------------------------------------------------+