registrobr / whmcs-registrobr-epp

WHMCS Registrar Module for interfacing to Registro.br EPP
GNU General Public License v3.0
41 stars 21 forks source link

International phone number #61

Closed rubenskuhl closed 1 year ago

rubenskuhl commented 9 years 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);

rubenskuhl commented 1 year ago

This seems to have been fixed by WHMCS.