This document was generated from CDN thread
Created by: Arnulf Blattl on 22-04-2010 04:15:21 PM
Hello,
I tryed the example.
The program hangs a while with
>>>>>Sample code: ++++++++++++++ connecting to CME ++++++++++++++
>>>>>Sample code: ++++++ getFileName is : /Logs/CMESDK-%t.log ++++++
[Caffeine 3.1.2.152] [] INFO - com.cisco.cme.cti.siputil.SipManager@104198:
Cisco Caffeine SIP Stack version 3.1.2.152 (rel) built on Apr 19, 2008 4:34 AM ... on thread main
>>>>>Sample code: ++++++ provider started successfully ++++++
>>>>>Sample code: ++++++ listener is added successfully ++++++
>>>>>Sample code: =============== Provider out of service now ===============
at the log file i see:
[2010-04-22 18:11:41,890] DEBUG com.cisco.cme.cti.CMEProvider CMEProvider:onRegistrationFailure: Registration failed
[2010-04-22 18:11:41,892] DEBUG com.cisco.cme.cti.CMEProvider CME_Provider-Provider try to dispatch event CME_Provider-Provider-OUT_OF_SERVICE-Event, cause=UNKNOWN to [-Terminal-, Mac=null)]
[2010-04-22 18:11:41,892] INFO com.cisco.cme.cti.CMEAbstractTerminal Provider is out of service, Cleaning up
[2010-04-22 18:11:41,892] DEBUG com.cisco.cme.cti.CMEProvider CME_Provider-Provider try to dispatch event CME_Provider-Provider-OUT_OF_SERVICE-Event, cause=UNKNOWN to FirstCallProviderListenerImpl@844674
im not sure what the problem might be?
thank
Subject: RE: provider out of service
Replied by: Yawming Chen on 22-04-2010 05:10:28 PM
Log said Registration failed
So you might want to checkthe configuration
1. if you got right CME IP in your configuration file
2. xml usr name and password OK
3. session server name is matching the one on CME
Thanks
Subject: RE: provider out of service
Replied by: Arnulf Blattl on 23-04-2010 12:54:39 PM
Hello,
Nope everything is setup ok.
I have attached a sip debug.
So after reading the phone information the program tryes so connect via sip with siputils
anyway i have no idea how to debug this session server.
From conf file:
session server:
sessionServer=OCT_CME
xml user:
user=arnulf
password=1111
cme:
voice register session-server 1
keepalive 60
register-id OCT_CME
telephony-service
xml user arnulf password 1111 15
any ideas
Subject: RE: provider out of service
Replied by: Yawming Chen on 23-04-2010 07:26:04 PM
Please add registrar server expires max xxx min yyy
Under voice service voip
SIP
voice service voip
no cti shutdown
....
....
sip
....
registrar server expires max 120 min 60
!
Thanks !
Subject: RE: provider out of service
Replied by: Arnulf Blattl on 30-04-2010 07:31:32 AM
It now worked.
only thing i changed was:
registrar server expires max 120 min 60
it was
registrar server expires max 1200 min 60
before.
dont know why this changed it but it works now.....
thanks
Arnulf