Freeside:1.7:Documentation:Developer/FS/part export/domreg opensrs

From Freeside
Jump to: navigation, search

NAME

FS::part_export::domreg_opensrs - Register or transfer domains with Tucows OpenSRS

DESCRIPTION

This module handles registering and transferring domains using a registration service provider (RSP) account at Tucows OpenSRS, an ICANN-approved domain registrar.

As a part_export, this module can be designated for use with svc_domain services. When the svc_domain object is inserted into the Freeside database, registration or transferring of the domain may be initiated, depending on the setting of the svc_domain's action field.

N - Register the domain; M - Transfer the domain; I - Ignore the domain for registration purposes

This export uses Net::OpenSRS. Registration and transfer attempts will fail unless Net::OpenSRS is installed and LWP::UserAgent is able to make HTTPS posts. You can turn on debugging messages and use the OpenSRS test gateway when setting up this export.

METHODS

format_tel
Reformats a phone number according to registry rules. Currently Freeside stores phone numbers in NANPA format and the registry prefers "+CCC.NPANPXNNNN"

SEE ALSO

Net::OpenSRS, FS::part_export_option, FS::export_svc, FS::svc_domain, FS::Record, schema.html from the base documentation.