cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
462
Views
3
Helpful
3
Replies

Play audio on CTI Port

jose.padilla
Level 1
Level 1

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

I'm sending the audio to 127.0.0.1 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.

3 Replies 3

msabir
Level 4
Level 4

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

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.

Thanks.

ckatene
Level 3
Level 3

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

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: