Hello,
i tried to run the sample code for UCX-si_sdk-1.0.1 but i received this message:
"########## Unexpected notification: ADDRESS_ACTIVATION_FAILED #######"
The connection with the provider is established correctly.
CME with the flag "debug cti all" enabled reports this information:
Router#
*Oct 18 16:20:28.523: //CTI/SM:sm_process_sys_event event 8
*Oct 18 16:20:28.523: //CTI/SM:cti_teardown_sessions_by_tag mode 0 tag 1
*Oct 18 16:20:29.303: //CTI/PI:cti_frontend_proc [4]: received CC Event [26]: CC_EV_CALL_SETUP_IND
*Oct 18 16:20:29.303: //CTI/PI:pi_process_service_event event 26
*Oct 18 16:20:29.303: //CTI/PI: got CC_EV_CALL_SETUP_IND callID 4
*Oct 18 16:20:29.303: //CTI/PI:pi_parse_service event 0
*Oct 18 16:20:29.303: CTI_PARSER: Processing XML message
<?xml version="1.0"?>
<RequestSystemStatus xmlns="
http://www.ecma-international.org/standards/ecma-323/csta/ed3">
<extensions>
<privateData>
<private>
<lcs:line xmlns:lcs="
http://schemas.microsoft.com/Lcs/2005/04/RCCExtension">
tel:3004;device=001aa1c9e9e0
</lcs:line>
</private>
</privateData>
</extensions>
</RequestSystemStatus>
*Oct 18 16:20:29.303: //CTI/XI:csta_RequestSystemStatus_cb: Function Called
*Oct 18 16:20:29.303: //CTI/XI:csta_extensions_cb: Function Called
*Oct 18 16:20:29.303: //CTI/XI:csta_privateData_cb: Function Called
*Oct 18 16:20:29.303: //CTI/XI:csta_private_cb: Function Called
*Oct 18 16:20:29.303: //CTI/XI:lcs_line_cb: Function Called
*Oct 18 16:20:29.307: //CTI/XI:csta2cti:786 csta_service_type_t(19)
*Oct 18 16:20:29.307: //CTI/XML:ERROR: csta2cti_DeviceID: device size(13) is bigger than buffer size(13)*Oct 18 16:20:29.307: //CTI/XI:csta2cti_DeviceID: csta(
tel:3004;device=001aa1c9e9e0
) attr(2,
tel: ) number(3004) phone-context=(0,) device=(001aa1c9e9e0)
*Oct 18 16:20:29.307: //CTI/XI:csta2cti:1024 cti_ev_type_t(1)
*Oct 18 16:20:29.307: //CTI/SM:sm_handle_sys_service event 3
*Oct 18 16:20:29.307: //CTI/SM:sm_find_scb_node_by_context context_id 4
*Oct 18 16:20:29.307: //CTI/SM: to return 0
*Oct 18 16:20:29.307: //CTI/SM:sm_handle_sys_open_session
*Oct 18 16:20:29.307: //CTI/SM:created scb node 65F8E0E8 context_id 4
*Oct 18 16:20:29.307: //CTI/SM:sm_grant_session: num=3004
*Oct 18 16:20:29.307: //CTI/SM: input mac present, value=001AA1C9E9E0
*Oct 18 16:20:29.307: //CTI/SM: Target mac address resolved: 001AA1C9E9E0, num_expanded 0
*Oct 18 16:20:29.307: //CTI/PI:pi_send_sys_event event 16 context_id 4
*Oct 18 16:20:29.307: //CTI/PI:pi_build_event event 15
*Oct 18 16:20:29.307: //CTI/XI:cti2csta:1038 cti_ev_type_t(15)
*Oct 18 16:20:29.307: //CTI/XI:cti2csta_error: cti_error = 13*Oct 18 16:20:29.307: //CTI/XI:cti2csta:2028 csta_EventType_t(1)
*Oct 18 16:20:29.307: //CTI/XML:csta_xml_builder: XML message evt->protocol(1) buffer size(2000), return length(179), message(179)
<?xml version="1.0" encoding="UTF-8"?>
<CSTAErrorCode xmlns="
http://www.ecma-international.org/standards/ecma-323/csta/ed3">
<operation>invalidDeviceID</operation>
</CSTAErrorCode>
*Oct 18 16:20:29.327: //CTI/PI:cti_frontend_proc [4]: received CC Event [13]: CC_EV_CALL_DISCONNECT_DONE
*Oct 18 16:20:29.327: //CTI/PI:pi_process_service_event event 13
*Oct 18 16:21:16.823: %DHCPD-4-PING_CONFLICT: DHCP address conflict: server pinged 10.0.0.3.
*Oct 18 16:21:16.827: %DHCPD-4-PING_CONFLICT: DHCP address conflict: server pinged 10.0.0.4.
*Oct 18 16:21:22.803: %IPPHONE-6-REG_ALARM: 14: Name=SEP002155040A5D Load= SCCP70.8-5-3S Last=UCM-closed-TCP
*Oct 18 16:21:22.883: //CTI/LM:cti_update_cme_line_status mac addr 002155040A5D number 3003 line status 0 normal 0 line removed 0 line shared 0 cti notify 0
*Oct 18 16:21:22.883: //CTI/SM:sm_find_context_ids_by_line num 3003, tag 0, mac 002155040A5D, prev 0, expanded 0
*Oct 18 16:21:22.883: %IPPHONE-6-UNREGISTER_ABNORMAL: ephone-5:SEP002155040A5D IP:10.0.0.4 Socket:2 DeviceType: Phone has unregistered abnormally.
*Oct 18 16:21:22.883: %IPPHONE-6-REGISTER: ephone-5:SEP002155040A5D IP:10.0.0.5 Socket:5 DeviceType: Phone has registered.
*Oct 18 16:21:23.347: //CTI/LM:cti_update_cme_line_status mac addr 002155040A5D number 3003 line status 1 normal 1 line removed 0 line shared 0 cti notify 0
*Oct 18 16:21:23.347: //CTI/SM:sm_find_context_ids_by_line num 3003, tag 0, mac 002155040A5D, prev 0, expanded 0
*Oct 18 16:21:23.347: //CTI/SM:sm_find_scb_node_by_line num 3003, tag 0, mac , prev 0, expanded 0, mac_existed 0
*Oct 18 16:21:23.347: //CTI/SM: to return node 0
*Oct 18 16:21:28.523: //CTI/SM:sm_process_sys_event event 8
*Oct 18 16:21:28.523: //CTI/SM:cti_teardown_sessions_by_tag mode 0 tag 1
This is my CME configuration:
Router#show running-config
Building configuration...
Current configuration : 5897 bytes
!
version 15.0
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname Router
!
boot-start-marker
boot-end-marker
!
!
no aaa new-model
clock timezone IT 1
clock summer-time IT recurring last Sun Mar 2:00 last Sun Oct 2:00
dot11 syslog
ip source-route
!
!
ip dhcp excluded-address 10.0.0.1
ip dhcp excluded-address 10.0.10.1
!
ip dhcp pool DATA_SCOPE
network 10.0.10.0 255.255.255.0
default-router 10.0.10.1
dns-server 8.8.8.8
!
ip dhcp pool VOICE_SCOPE
network 10.0.0.0 255.255.255.0
default-router 10.0.0.1
option 150 ip 10.0.0.1
dns-server 8.8.8.8
!
!
ip cef
ip dhcp-server 10.0.0.1
no ipv6 cef
multilink bundle-name authenticated
!
!
!
!ff
!
!
voice service voip
cti csta mode basic
no cti shutdown
allow-connections h323 to sip
allow-connections sip to h323
allow-connections sip to sip
no supplementary-service sip moved-temporarily
no supplementary-service sip refer
sip
registrar server expires max 120 min 60
!
!
voice register global
mode cme
max-dn 144
max-pool 24
!
voice register session-server 1
keepalive 60
register-id ctimonitor
cti-aware
!
voice register dn 1
session-server 1
allow watch
!
voice register dn 2
session-server 1
allow watch
!
voice register dn 3
session-server 1
allow watch
!
voice register dn 4
session-server 1
allow watch
!
!
!
!
voice-card 0
!
!
!
interface FastEthernet0/0
no ip address
duplex auto
speed auto
!
interface FastEthernet0/0.10
encapsulation dot1Q 4
ip address 10.0.0.1 255.255.255.0
ip helper-address 10.0.0.5
!
interface FastEthernet0/0.50
encapsulation dot1Q 48
ip address 10.0.10.1 255.255.255.0
!
interface FastEthernet0/1
no ip address
shutdown
duplex auto
speed auto
!
ip forward-protocol nd
!
!
ip http server
ip http secure-server
ip http path flash:
!
!
ixi transport http
response size 64
no shutdown
request outstanding 1
request timeout 60
!
ixi application cme
no shutdown
!
!
tftp-server flash:apps45.8-5-3TH1-6.sbn
tftp-server flash:cnu45.8-5-3TH1-6.sbn
tftp-server flash:cvm45sccp.8-5-3TH1-6.sbn
tftp-server flash:dsp45.8-5-3TH1-6.sbn
tftp-server flash:jar45sccp.8-5-3TH1-6.sbn
tftp-server flash:SCCP45.8-5-3S.loads
tftp-server flash:term45.default.loads
tftp-server flash:term65.default.loads
tftp-server flash:apps70.8-5-3TH1-6.sbn
tftp-server flash:cnu70.8-5-3TH1-6.sbn
tftp-server flash:cvm70sccp.8-5-3TH1-6.sbn
tftp-server flash:dsp70.8-5-3TH1-6.sbn
tftp-server flash:dsp70.8-5-3TH1-6.sb
tftp-server flash:jar70sccp.8-5-3TH1-6.sbn
tftp-server flash:SCCP70.8-5-3S.loads
tftp-server flash:term70.default.loads
tftp-server flash:term71.default.loads
tftp-server flash:apps11.8-5-3TH1-6.sbn
tftp-server flash:cnu11.8-5-3TH1-6.sbn
tftp-server flash:cvm11sccp.8-5-3TH1-6.sbn
tftp-server flash:dsp11.8-5-3TH1-6.sbn
tftp-server flash:jar11sccp.8-5-3TH1-6.sbn
tftp-server flash:SCCP11.8-5-3S.loads
tftp-server flash:term11.default.loads
!
control-plane
!
!
!
mgcp fax t38 ecm
mgcp behavior g729-variants static-pt
!
!
!
!
telephony-service
xml user cisco password cisco 15
max-ephones 24
max-dn 50
ip source-address 10.0.0.1 port 2000
load 7911 SCCP11.8-5-3S
load 7912 SCCP11.8-5-3S
load 7945 SCCP45.8-5-3S
load 7971 SCCP70.8-5-3S
max-conferences 4 gain -6
web admin system name cisco password cisco
dn-webedit
transfer-system full-consult
log table retain-timer 30
log table max-size 100
log password cisco
create cnf-files version-stamp Jan 01 2002 00:00:00
!
!
ephone-dn 1 dual-line
number 3001
cti watch
!
!
ephone-dn 2 dual-line
number 3002
cti watch
!
!
ephone-dn 3 dual-line
number 3003
cti watch
!
!
ephone-dn 4 dual-line
number 3004
cti watch
!
!
ephone-dn 5
!
!
ephone 1
codec g729r8
!
!
!
ephone 2
mac-address XXXX.XXXX.XXXX
codec g729r8
type 7945
button 1:2
!
!
!
ephone 3
mac-address XXXX.XXXX.XXXX
codec g729r8
type 7912
button 1:4
!
!
!
ephone 4
mac-address XXXX.XXXX.XXXX
codec g729r8
type 7912
button 1:1
!
!
!
ephone 5
mac-address XXXX.XXXX.XXXX
codec g729r8
type 7971
button 1:3
!
!
!
line con 0
line aux 0
line vty 0 4
login
!
scheduler allocate 20000 1000
end
someone can help me?
Thanks