ymlam
b94206d547
Clock resumes PAUSED state whose reason starts with restartable names, instead of equal.
преди 1 година
ymlam
5dc6202b1c
Added Broadcast.getChannelName method
преди 1 година
ymlam
1b0dc1c6bd
Change visibility of class attribute
преди 1 година
ymlam
917298913e
Change 'daily_stop' to 'broadcast_daily_stop'
преди 1 година
ymlam
18204d017f
channel properties in <channel> tag in request xml
преди 1 година
ymlam
5577211a22
report remaining job count, instead of 0, as ready when posting canceled broadcast status
преди 2 години
ymlam
fc6784f93a
No longer reqires data returned from posting to portal.
преди 2 години
ymlam
2b3295588b
Count active jobs only over dispatched jobs whose status is not final.
преди 2 години
ymlam
1952dce39c
Allow derived class to add resume conditions.
преди 2 години
ymlam
30e69b4aba
Fix bug of not terminating broadcast -- affects EmailEngine only
преди 2 години
ymlam
efc7f23d2b
Resume by clock only resumes if pause is by clock
преди 2 години
ymlam
940e276ab2
Updates to support Live Call 2, i.e. agent first
преди 2 години
ymlam
244f78b435
Fix bug of generating bad XML when launch_record_id is not supplied in request.
преди 2 години
ymlam
952d8acb7e
Relax requirement of launch_record_id in broaddast request.
There is no meaningful processing of launch_record_id, which
is really just a pass through back to portal.
преди 2 години
ymlam
fba1269d2d
Fix bug of missing trailing VoiceCall status updates to portal.
Reason is due to premature terminating postback threads because
the serviceActivityCount is decremented erreously when updating
intermediate job statuses with portal.
Fix is in classifying job status as final or non-final.
As it is, all JobStatus in CommEngine are final; however,
derived classes may have non-final JobStatus.
преди 2 години
ymlam
4ab8cd54d1
Fix bug of not terminating all service and postback threads at end of broadcast.
преди 2 години
ymlam
9055d74fc3
Fix bug of not updating activity count on exception
преди 2 години
ymlam
be2dea5835
Remove broadcast expire feature.
преди 2 години
ymlam
e5c0187f3c
Transmit ABORT reason when setting BroadcastState to ABORT
преди 2 години
ymlam
e4da5bf0c7
Fix bug of not posting the correct debit for voice calls.
Fixed by decrementing serviceActivityCount only by postJobStatus method.
Also jobs being scheduled are taken into considering when deciding
to advance broadcast state COMPLETED to ALLDONE.
преди 2 години
ymlam
f285c75523
Added CSV logging function to Broadcast.
CSV logger name as it appears in log4j.properties is "csv".
преди 2 години
ymlam
44e771a8f6
Allow a job to cause broadcast to abort at time posting
Achieved by adding the isBroadcastFatal method to Job class.
преди 2 години
ymlam
0364609e68
Re-declare enum JobStatus as an interface so it can be virtually extended by derived Engines
Thie allows for removal of entries from the original enum JobStatus that more
appropriately belong to derivation of CommEngine. Such data complicates
the management of the original JobStateus when adding new CommEngines.
These entries can be declared in a new enums implementing
the JobStatus interface, for each derived CommEngine.
преди 2 години
ymlam
f8ee1ad599
Complete backward compatibility which has a bug in commit 6bd4ca1af3
преди 2 години
ymlam
6bd4ca1af3
Backward compatible with portal not having daily_start/daily_stop times
преди 2 години
ymlam
2a802c659e
Fix bug of at times getting stuck at PAUSING state on reaching daily limit
преди 3 години
ymlam
2555d5e4e0
Sleep between postback IO exceptions
преди 3 години
ymlam
d2f9b87a34
Improved interaction between pause by operator and by clock
преди 3 години
ymlam
b26988bc59
Replace daily pause/resume with daily operating hours
преди 3 години
ymlam
128aba88ba
Allow BroadcastState transition from PAUSING to CANCELED
преди 3 години
ymlam
53bc932e97
Added ability for derived Broadcast class to add to configuration output.
преди 3 години
ymlam
f85acef9b3
Separated reschedule function out of postJobStatus() into its own rescheduleJob()
преди 3 години
ymlam
c29495bf26
Receive daily_pause and daily_resume in broadcast request
преди 3 години
ymlam
abf7b6700e
Better use of 'new JSONObject()'
преди 3 години
ymlam
9c8d6cab4d
API to configure daily clock
преди 3 години
ymlam
7c5e990de6
Fix bug of not sleeping according to calcaulated sleep time.
преди 3 години
ymlam
b4ed4d2f80
Add MSG_TOO_LONG JobStatus
преди 3 години
ymlam
1234de3189
Time of day clock based pause and resume.
Use reason field in Broadcast to record reason for pause, cancel etc.
преди 3 години
ymlam
b8d29b99d3
Added daily pause and resume feature.
Improved reponse text to pause and resume commands.
преди 3 години
ymlam
2b6ef161c1
User friendly response to PAUSE command.
преди 3 години
ymlam
053483a919
Fix bug of not stopping immediately on CANCEL while PAUSED.
The service threads do not terminate immediately, but, instead
each service thread picks up one more job before terminating,
causing servicing more jobs which are not reported back to portal.
преди 3 години
ymlam
7b4d88b9f8
Fix bug of sometimes not terminating broadcast when paused with large number of service threads.
This happens when all remaining jobs are being serviced by
service threads when PAUSE is initiated. Similarly fixed
for CANCEL.
преди 3 години
ymlam
81940e001e
Added more JObStatus to support SMS provider Bandwidth
преди 3 години
ymlam
4d95efe3e9
Add Auto Pause feature
преди 3 години
Yuk-Ming Lam
f8beed06e9
Convert successCount from int to AtomicInteger
преди 3 години
ymlam
28756a94d6
Better exception handling
преди 4 години
ymlam
580bed601f
Place readyQueue, scheduledJobs, serviceActivityCount under one single semaphore readyQueue.
преди 4 години
ymlam
253c78ab71
Add stateSemaphore to ensure modifications to state value is synchronized.
преди 4 години
ymlam
8fd8813afa
Add BroadcastState.ABORTING to fix bug of losing postbacks on abort.
преди 4 години
ymlam
89c0ab716e
Fix bug of not timing viewing period of dead broadcasts from time of final BroadcastStatus.
преди 4 години