Then you're looking at the wrong example. To create an RTP stream between a phone and another phone, send a CiscoIPPhoneExecute containing an RTPTx command to the phone that's supposed to send out traffic, and an RTPRx command to the phone that's supposed to receive the stream.
I used CiscoIPPhoneExecute but i had problems with different firmware versions and so i'd like use jtapi: the final application is more complicate (i want that a cti port calls a Phone .. ringing... an when the destination phone/connection is active the user listens audio file "Good morning!". AlarmClock).
Well.. you have to take it from avtransmit2.java that I posted here several times. It only does G.711 though (see why: http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6278751), it takes a while to initiate a streaming session, and above all, your description is all wrong. You can't run a JMF app on PC1, and to have it trigger an RTP stream between PC2 and a phone.. for that you'd need the RTP streaming app on PC2, and it would have to offer some remote means to start a stream.
If you know JTAPI and understand AVTransmit2 then all that is left to be done is put the two together.
These are the paths to get to each CCX logs through CLI. They may be helpful if you are having issues accessing RTMT or downloading logs through it.
If you want to download them you have to prefix "file get " and you can add one of the options (re...