junk qwe | This is my code for start a call. I am trying to record the rtp strams in another system.
public synchronized void terminalChangedEvent ( TermEv [] eventList ) { traceGenericEvents ( eventList ); for ( int i = 0; i < eventList.length; i++ ) { if ( eventList instanceof CiscoTermEv ) { try { CiscoMediaTerminal mediaTerm; CiscoTermEv ev = (CiscoTermEv) eventList; switch ( ev.getID () ) { case CiscoRTPInputStartedEv.ID: trace.bufPrint ( "Received CiscoRTPInputStartedEv :: {}\n" ); trace.setRTPactive(true); CiscoRTPInputStartedEv inEv = (CiscoRTPInputStartedEv) ev; trace.setRTPInputProperties(inEv.getRTPInputProperties () ); trySetCallStarted((com.cisco.jtapi.extensions.CiscoEv)ev); break; ..................... ..................... My problem is that i am not getting the right RTP streams (ip and port) from this line: inEv.getRTPInputProperties () The MTP feature is enabled on the call manager Any idea how to get the right streams for that call? |
| Please sign in to flag this as inappropriate. |