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

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. If you'd prefer to explore, try our test area to get started. And see here for current known issues.

New Member

Play audio on CTI Port

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.

  • Other Collaboration Voice and Video Subjects
New Member

Re: Play audio on CTI Port

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

New Member

Re: Play audio on CTI Port

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.


New Member

Re: Play audio on CTI Port

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 ...