Closed rubenskuhl closed 1 year ago
If WHMCS installation is using full phone numbers in client records, WHMCS adds yet another country dial code to it.
Possible workaround is to test whether "phonenumber" is already an E.164 valid phone number and use it instead of using "fullphonenumber".
For the time being, workaround is to change registrobr.php line that says
$voice = substr($params["original"]["fullphonenumber"],1);
to
$voice = substr($params["original"]["phonenumber"],1);
This seems to have been fixed by WHMCS.
If WHMCS installation is using full phone numbers in client records, WHMCS adds yet another country dial code to it.
Possible workaround is to test whether "phonenumber" is already an E.164 valid phone number and use it instead of using "fullphonenumber".
For the time being, workaround is to change registrobr.php line that says
$voice = substr($params["original"]["fullphonenumber"],1);
to
$voice = substr($params["original"]["phonenumber"],1);