09-21-2007 06:55 AM - edited 03-13-2019 04:27 PM
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.
10-02-2007 10:43 AM
You don't even need to make a phone call. You can play audio using RTPRx URI and HTTP POST of CiscoIPPhoneExecute.
10-02-2007 12:58 PM
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.
10-03-2007 02:34 PM
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 ...
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: