ContactInactiveException in HTTP trigger application

Unanswered Question
May 2nd, 2007
User Badges:

Hi,


I have an application that is invoked via a http trigger, and that automatically dials a series of outside calls.

The script takes usually several hours to finish.


The script ran fine on a CRS 3.1 server, but after we built a new CRS 4.0 server and set up the applications again, the script fails to end properly, with a ContactInactiveException.


This is the log for that exception:

142562: Apr 24 16:22:52.396 ART %MIVR-SS_TEL-7-UNK:CallID:59517000000015, GenericMsgHandler: exception while read/peek MsgQ.: Exception=com.cisco.contact.ContactInactiveException: Contact id: 595, Channel id: 1, Call dropped

142563: Apr 24 16:22:52.396 ART %MIVR-SS_TEL-7-EXCEPTION:com.cisco.contact.ContactInactiveException: Contact id: 595, Channel id: 1, Call dropped

[...]

142570: Apr 24 16:22:52.411 ART %MIVR-ALARM_MGR-3-UNK:MIVR alarmwriter queue is full some alarms will be dropped

142571: Apr 24 16:22:52.411 ART %MIVR-APP_MGR-3-TASK_ABORTED:Application task aborted: Application=App[name=Llamadas_Salientes_01,type=Cisco Script Application,id=11,desc=Llamadas_Salientes_01,enabled=true,max=10,valid=true,optional=[script=absa_llamador_v3.2.aef,cfgVars=[Lcom.cisco.wfapi.util.WFNameValuePair;@157457b]],Application Trigger=ContactApplicationTrigger[time=1177434388396,contact=HttpContact[id=10,type=Cisco Http Contact,implId=null,active=true,state=CONTACT_RECEIVED,inbound=true,handled=false,locale=es_CO,aborting=false,app=App[name=Llamadas_Salientes_01,type=Cisco Script Application,id=11,desc=Llamadas_Salientes_01,enabled=true,max=10,valid=true,optional=[script=absa_llamador_v3.2.aef,cfgVars=[Lcom.cisco.wfapi.util.WFNameValuePair;@157457b]],task=17000000015,session=null,seqNum=-1,time=1177434388396,[email protected]]],Task id=17000000015,Task Class=class com.cisco.app.impl.WFWorkflowAppDebugTaskWrapper,Exception=com.cisco.app.impl.ContactInactiveException: Contact id: 595, Contact terminated remotely

142572: Apr 24 16:22:52.411 ART %MIVR-APP_MGR-3-EXCEPTION:com.cisco.app.impl.ContactInactiveException: Contact id: 595, Contact terminated remotely

142573: Apr 24 16:22:52.411 ART %MIVR-APP_MGR-3-EXCEPTION: at com.cisco.app.impl.ContactInactiveInterruption.getException(ApplicationManagerImpl.java:7973)

[...]

142597: Apr 24 16:22:52.411 ART %MIVR-APP_MGR-6-ABORTING_CONTACT:Aborting contact: Application=Llamadas_Salientes_01,Task id=17000000015,Contact id=10,Contact implementation id=null,Contact Class=com.cisco.http.HttpContact,Contact Type=Cisco Http Contact,Exception=com.cisco.app.impl.ContactInactiveException: Contact id: 595, Contact terminated remotely

142598: Apr 24 16:22:52.411 ART %MIVR-APP_MGR-6-EXCEPTION:com.cisco.app.impl.ContactInactiveException: Contact id: 595, Contact terminated remotely

142599: Apr 24 16:22:52.411 ART %MIVR-APP_MGR-6-EXCEPTION: at com.cisco.app.impl.ContactInactiveInterruption.getException(ApplicationManagerImpl.java:7973)

[...]

142621: Apr 24 16:22:52.411 ART %MIVR-APP_MGR-6-EXCEPTION: at java.lang.Thread.run(Thread.java:534)


My guess is that the trigger times out before the scr?pt ends...


Should I increase the Idle timeout parameter in the HTTP trigger configuration? Or is there another parameter to consider?


Regards,


Ariel

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
Loading.
gmarogi Tue, 05/08/2007 - 08:35
User Badges:
  • Bronze, 100 points or more

Are you using different codecs?

Hi Ariel,


We have a new script where we are triggering from an HTTP trigger and trying to make outbound calls. We too are using CRS 4.0 ((4)_Build140) and if the person who is called hangs up during most points in the script it will terminate despite us handling the ContactInactiveException. Did you get resolution to your problem?


Thanks

Actions

This Discussion