Clean up phone number before dial
Posted: Wed Sep 22, 2021 11:24 am
Hi Guys,
When a Agent use manual dial and insert non digits characters into "Phone Number" field, it might break some codes down the system.
We've got an example: agent copy and past number: "11)28808-9756" into Phone Number and hit FAST DIAL.
So, this action broken AST_update_AMI2.pl causing TimeSync issue on server. Makes recording filename breaks and so on...
Running AST_update_AMI2.pl from terminal, I got this:
So, Phone Number field should be filtered for only digits before any further action on agent screen.
When a Agent use manual dial and insert non digits characters into "Phone Number" field, it might break some codes down the system.
We've got an example: agent copy and past number: "11)28808-9756" into Phone Number and hit FAST DIAL.
So, this action broken AST_update_AMI2.pl causing TimeSync issue on server. Makes recording filename breaks and so on...
Running AST_update_AMI2.pl from terminal, I got this:
- Code: Select all
Unmatched ) in regex; marked by <-- HERE in m/LIGUEMOT_20210922-124519_11) <-- HERE 98/ at /usr/share/astguiclient/AST_update_AMI2.pl line 781.
So, Phone Number field should be filtered for only digits before any further action on agent screen.