the problem about the ResponseEvent and RequestEvent in the jain-sip

hi!!

when i implement the jain-sip'interface of SipListener,i meeting a strange problem.

in my program,i send a "invite" sip packet to the callee,then i received the response sip packet of "180"and "200ok" from the callee,but in my method of

processResponse(ResponseEvent responseReceivedEvent)

{Response response = (Response) responseReceivedEvent.getResponse();

Transaction tid = responseReceivedEvent.getClientTransaction();

if (tid =null)

{

System.out.println("transaction is null")

return

}.......

the ClientTransaction included in the responseReveivedEvent are always null, : (, why? now i dont know how to resolve this problem,

pleasure give me your hands!!!

thanks!!!!!

[765 byte] By [lanhuia] at [2007-10-2 8:00:10]
# 1
could you help me?thanks in advance~~
lanhuia at 2007-7-16 21:51:51 > top of Java-index,Other Topics,Java Community Process (JCP) Program...
# 2

today, when i sent the "register" to the undo sip proxy, the proxy send back me a "200ok" packet,the clientTransaction included in the receivedEvent is the right one whicn sent the "register" sip packet.

but after i get the 200ok response of the regiser process,then i sent the invite packet to the undo proxy,then i received 180 and 200ok,but the transactions inclued in the both receivedEvenst werenull,

could you tell me why?thank u so much: (

lanhuia at 2007-7-16 21:51:51 > top of Java-index,Other Topics,Java Community Process (JCP) Program...