Phone Portal

1. Access

To access the Phone Console:

Call or SMS to mobile phone number +61499331111

For those who wants an easy to remember phone number, the short Australia phone number 138813 can also be used.

2. Logic

Overseas Mobiles

Call from phone number not starting with 614 (Non-Australian mobile)
Play "Only Australian mobile phones can use this service", then hangup.

Australian Mobiles

Call from phone number starting with 614 (Australian mobile)

Step 1

Wait 1 second for lanaguage selection, 1 for Mandarin, 2 for Cantonese, otherwise set default language to be English

1.1 For English, goto step 2
1.2 For Mandarin and Cantonese, goto step 6

Step 2

Check whether the number has been registered before

curl -d "action=isExistedCustomer&mobile=$mobile" https://iapi.contacttrace.com.au

2.1 If not registered, goto step 3
2.2 If registered, goto step 4

Step 3

Prompt caller name to be recorded

3.1 Play "Please record your name after the beep"
3.2 Encrypt the recording and save to local nexcloud, i.e. file-phone.oztralia.org
3.3 Goto Step 4

Step 4

Prompt caller to say the location digits

4.1 Play "Please say the location digits after the beep"
4.2 Save recording to local nexcloud, i.e. file-phone.oztralia.org
4.3 Pass the recorded voice to rhasspy to recognize the digits
4.4 Check whether the recognized voice are valid location digits

curl -d "action=customerLog&type=phone&mobile=$1&locNumber=$2" https://iapi.contacttrace.com.au

4.5 If recognized voice are not valid location digits, play "Location digits cannot be detected from your voice", then go to step 54.6 If valid location digits accepted, play "Data recorded. Thank You."

Step 5

If location digits cannot be detected by ASR, prompt caller to enter location digits via DTMF
5.1 Play "Please enter the location digits by pressing the phone keys after the beep instead"
5.2 Check whether the entered digits are valid location digits

curl -d "action=customerLog&type=phone&mobile=$1&locNumber=$2" https://iapi.contacttrace.com.au

5.3 If valid digits, play "Data recorded. Thank You."
5.4 If invalid digits detected for 3 times, hang up the call.

Step 6

Prompt caller to enter location digits by DTMF directly, for Mandarin and Cantonese speakers*
6.1 Play "Please enter location digits by pressing the phone keys after the beep"
6.2 Check whether the entered digits are valid location digits

curl -d "action=customerLog&type=phone&mobile=$1&locNumber=$2" https://iapi.contacttrace.com.au

6.3 If valid digits, play "Data recorded. Thank You."
6.4 If invalid digits detected for 3 times, hang up the call.

SMS Text

Covid location registration via SMS to 61499331111

Customer send a text to the number 61499331111 with location digits. If the customer has never sent a text to or call to 61499331111
previously, the text should contain location digits, a space, then the name of the customer. i.e.

100100 John Doe

SMS processed by https://modules.oztralia.org/ozaction/smsin.php

curl -d "action=customerLog&type=sms&mobile=$1&locNumber=$2&username=$3" https://iapi.contacttrace.com.au