Question
Reply
 
Student
imranabdul
Posts: 1
Member Since: ‎02-20-2012
Message 1 of 1 (52 Views)

Outbound calling

Hi,

My requirment is to notify the customer about the installs success/failure we will call back to the customer at the number given by him. If customer doesnt pick the call first time then we will attempt to call again and even second time he fails to pick the call then in thired attempt if the customer picks the call then we can inform the install status or we have to to drop a voice mail.

 

In my below code, am using the "ScheduleType" interface to attempt the call 3 times. But if i want to trigger the second call after 10 seconds and 3rd call after the same 10 seconds. Please any help how to do this.

 

 

 

ScheduleType type = ScheduleType.Factory.newInstance();
        type.setPostponeOnNoanswer(new GDuration( GDurationSpecification("10")));
        type.setRetires(new BigInteger("3"));
        Field field3 = fields.addNewField();
        field3.setName("schedule");
        field3.setValue(type.toString());

 

 

 

 

Thanks,
Imran

 

 

† The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation