This discussion is archived
1 Reply Latest reply: Jul 5, 2009 8:47 PM by 445913 RSS

Problem with multiple invocations of thirdPartyCall.getCallInformation()

678356 Newbie
Currently Being Moderated
Hi,

I'm playing with simple "makeCall" application that is handled by {color:#000000}*Plugin_call_notification_sip*{color} (px21).
Application just makes call and then monitors for its status:
{color:#000080}*...*
callID = thirdPartyCall.makeCall(callingParty, calledParty, null);
System.out.println("CallID: " + callID);

CallInformation callInformation = null;
CallStatus callStatus = null;
do
{
Thread.sleep(500);
callInformation = thirdPartyCall.getCallInformation(callID);
callStatus = callInformation.getCallStatus();
System.out.println("CallStatus: " + callStatus);
} while(callStatus != CallStatus.CALL_TERMINATED);
*...*
{color}
First invocation of getCallInformation/getCallStatus methods returns correct "CALL_INITIAL" result (SIP phone of callingParty is ringing).
Second invocation of getCallInformation() method results in a very strange behaviour:
Exception is:
{color:#000000}{color:#000080}...<v2:ServiceException xmlns:v2="http://www.csapi.org/schema/parlayx/common/v2_1"><messageId xmlns="">SVC0002</messageId><text xmlns="">Invalid input value for message part %1</text><variables xmlns="">CallIdentifier</variables></v2:ServiceException>...{color}{color}

Trace of INAP "Plugin_third_party_call_inap" shows that getCallInformation was called!
{color:#000080}07 Jan 2009 10:11:55,003 [ ERROR com.bea.wlcp.wlng.plugin.tpc.inap.north.ThirdPartyCallPluginImpl - exception-thrown GetCallInformationResponse com.bea.wlcp.wlng.plugin.tpc.inap.north.ThirdPartyCallPluginImpl.getCallInformation(GetCallInformation)( org.csapi.schema.parlayx.third_party_call.v2_3.local.GetCallInformation@ba25e3 )
org.csapi.schema.parlayx.common.v2_1.ServiceException
at com.bea.wlcp.wlng.plugin.tpc.inap.north.ThirdPartyCallPluginImpl.getCallInformation(ThirdPartyCallPluginImpl.java:182){color}

Can anyone explain why second invocation of getCallInformation() is handled by INAP plugin??

Regards,
Grzegorz

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points