Play audio on CTI Port

Unanswered Question
Sep 21st, 2007
User Badges:

I'm trying to play an audio when I call a CTI Port.

I'm sending the audio to in the port 23456 with AVTransmit (It works well with RTPRX).

I registered my application with terminal.register (InetAddress.getLocalHost(), 22222, caps);

My CTI port answers the call and receive CiscoRTPOutputStartedEv event, but I hear nothing.

Am I missing something? Do I need to do something else in my observers?

Thanks in Advance.

Jose Padilla.

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 3 (1 ratings)
msabir Tue, 10/02/2007 - 10:43
User Badges:
  • Bronze, 100 points or more

You don't even need to make a phone call. You can play audio using RTPRx URI and HTTP POST of CiscoIPPhoneExecute.

jose.padilla Tue, 10/02/2007 - 12:58
User Badges:

Hello Muhammad, thanks for your answer.

I already have AVTransmit working with the RTPRx URI, but I want to play sound in a CTI Port using JTAPI, something like an IVR application.


ckatene Wed, 10/03/2007 - 14:34
User Badges:
  • Bronze, 100 points or more

Wneh you get your CiscoRTPOutputStartedEv, you need to get the CiscoRTPProperties from it. Then call getRemoteAddress() and getRemotePort(). One of them will be the address and port you need to send your RTP to.

I'm surprised that sending your RTP stream to the loopback port actually does anything ...


This Discussion