Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
New Member

Music on hold - CTI Route point

Hi,

I am trying to put call on hold while in route point. I follow Cisco documentaion to register CiscoRouteTerminal to terminate RTP

1.CiscoRouteTerminal.register()

2.CiscoRouteTerminal.addObserver()

3.CiscoRouteTerminal.addCallObserver()

When I call route point I do not get call events (and can not answer call).

If I make call from route point to extension events are coming. If I answer call at extension, after 5 sec call is disconnected (As expected because application does not handle CiscoRTPOutputStartedEvImpl).

Why application does not get events when route point is called but get it when route point calls?

CM version is 4.0

Zdenko

PS

Attched test java program. Start it wih 2 params: "name of Route point" "number to be called"

ex: java test.MainFrame TestCTI1 1001

RTP media

CiscoRouteTerminal

3 REPLIES

Re: Music on hold - CTI Route point

Before you can do anything useful with a Routepoint (and CTI Port for that matter), it helps if you turn on autoaccept so your virtual device acts like a physical one. If not, you have to manually accept each incoming call (so that means you get a single event telling you there's a new call (don't recall the name.. but the jtapi docu mentions it)) or you'll be unable to do any call tracking whatsoever. It works for outgoing calls because you don't have to accept them.

New Member

Re: Music on hold - CTI Route point

I am waiting for event from CCM but there is NO SINGLE event when I call CTI Route point.

There are 2 events at application startup and nothing more.

(Complete log of test application

P1-test) ProvOutOfServiceEv [#0]

(P1-test) ProvInServiceEv [#1]

CiscoTerminalObserver.terminalChangedEvent

--- TerminalEvent type=class com.cisco.jtapi.CiscoTermOutOfServiceEvImpl

CiscoTerminalObserver.terminalChangedEvent

--- TerminalEvent type=class com.cisco.jtapi.CiscoTermInServiceEvImpl

Opened TestCTI1)

Please run test application and observe behaviour.

Zdenko

New Member

Re: Music on hold - CTI Route point

Hi,

I have found that when working with CTI Route Points, to receive to call control events you need add an observer to the address(s) assigned to the Route Point. I have modified your sample code and attached it. this is the output i get with the modified code.

java MainFrame ipcc 2239

(P1-sdkapps) ProvOutOfServiceEv [#0]

(P1-sdkapps) ProvInServiceEv [#1]

CiscoTerminalObserver.terminalChangedEvent

--- TerminalEvent type=class com.cisco.jtapi.CiscoTermOutOfServiceEvImpl

Opened IPCC

CiscoTerminalObserver.terminalChangedEvent

--- TerminalEvent type=class com.cisco.jtapi.CiscoTermInServiceEvImpl

CallObserver.callChangedEvent

*** CallEvent type=com.cisco.jtapi.CallActiveEvImpl

*** CallEvent type=com.cisco.jtapi.ConnCreatedEvImpl

*** CallEvent type=com.cisco.jtapi.ConnInProgressEvImpl

*** CallEvent type=com.cisco.jtapi.ConnCreatedEvImpl

CallObserver.callChangedEvent

*** CallEvent type=com.cisco.jtapi.ConnConnectedEvImpl

CallObserver.callChangedEvent

*** CallEvent type=com.cisco.jtapi.ConnDisconnectedEvImpl

CallObserver.callChangedEvent

*** CallEvent type=com.cisco.jtapi.ConnDisconnectedEvImpl

*** CallEvent type=com.cisco.jtapi.CallInvalidEvImpl

CallObserver.callChangedEvent

*** CallEvent type=com.cisco.jtapi.CallObservationEndedEvImpl

Hope this helps.

John

404
Views
0
Helpful
3
Replies
CreatePlease to create content