Convert activation to task
Previously visual voicemail activation is done in a set of fire
and forget manner. After some events happend a request for STATUS
SMS will be sent to the carrier, and it was never checked if it
is actually sent or has any SMS been received. Often, multiple
requests were sent and multiple SMS were received. For each of the
SMS, provisioning is attempted, the source was updated and a sync
is requested.
After the CL, Activation has a explicit flow. Activation request,
which is throttled, will send a STATUS request, which the respond
SMS will be explictly waited upon. After receiving the SMS all former
activation steps will be done in a single threaded manner, and retries
will be requested if anything failed, including SMS failed to send.
Change-Id: Ic1e194d1e7802f2d30077cc256096123ac6dce72
Fixes: 30026407
Fixes: 28730056
Fixes: 29832345
Fixes: 29346494
Bug: 30068100
15 files changed