Given some of the feedback, I thought perhaps that we were out to lunch
and there was something wrong in our tests, but it does not look like it.
The test fails consistently, and I do not see anything wrong with the data 
we are sending in the test.  'course that doesn't mean I'm not blinded by 
a blatent error...

A reply and the corresponding request are included below.

The important details:
o The tech phone number we sent is '+1.2505987708'
o This bugs me: we did not specify a tech fax number.  (We sent '')

$REPLY = {
  'is_success' => '0',
  'protocol' => 'XCP',
  'object' => 'DOMAIN',
  'response_text' => 'Invalid data',
  'attributes' => {
    'registration_text' => 'Invalid data',
    'error' => 'tech phone is incorrect.<br>
tech fax is incorrect.<br>
',
    'registration_code' => '465',
    'id' => '471494',
    'admin_email' => '[EMAIL PROTECTED]'
  },
  'response_code' => '465',
  'transaction_id' => 'Tue Dec 10 22:44:51 2002_Child#82700_Request#1',
  'action' => 'REPLY'
};

$REQUEST = {
  'object' => 'domain',
  'attributes' => {
    'period' => 2,
    'reg_username' => 'billybob',
    'reg_type' => 'new',
    'contact_set' => {
      'tech' => {
        'state' => 'BC',
        'first_name' => 'Tech',
        'country' => 'CA',
        'language' => 'EN',
        'address1' => '100 Christmas Ave.',
        'address2' => '',
        'last_name' => 'Support',
        'address3' => '',
        'fax' => '',
        'postal_code' => 'v8v 9v9',
        'city' => 'Victoria',
        'email' => '[EMAIL PROTECTED]',
        'phone' => '+1.2505987708',
        'org_name' => 'BareMetal.com Inc'
      },
      'admin' => {
        'state' => 'BC',
        'first_name' => 'Philip',
        'country' => 'CA',
        'address1' => '123 Granville St',
        'address2' => 'P.O. 555',
        'last_name' => 'Smith',
        'address3' => '',
        'fax' => '',
        'postal_code' => 'V4T JFK',
        'city' => 'Vancouver',
        'email' => '[EMAIL PROTECTED]',
        'phone' => '+1.4165551122',
        'org_name' => 'Ceasars Beer Land'
      },
      'billing' => {
        'state' => 'BC',
        'first_name' => 'Philip',
        'country' => 'CA',
        'address1' => '123 Granville St',
        'address2' => 'P.O. 555',
        'last_name' => 'Smith',
        'address3' => '',
        'fax' => '',
        'postal_code' => 'V4T JFK',
        'city' => 'Vancouver',
        'same_as' => 'admin',
        'email' => '[EMAIL PROTECTED]',
        'phone' => '+1.4165551122',
        'org_name' => 'Ceasars Beer Land'
      },
      'owner' => {
        'state' => 'BC',
        'first_name' => 'Philip',
        'country' => 'CA',
        'address1' => '123 Granville St',
        'address2' => 'P.O. 555',
        'last_name' => 'Smith',
        'address3' => '',
        'fax' => '',
        'postal_code' => 'V4T JFK',
        'city' => 'Vancouver',
        'same_as' => 'admin',
        'email' => '[EMAIL PROTECTED]',
        'phone' => '+1.4165551122',
        'org_name' => 'Ceasars Beer Land'
      }
    },
    'handle' => 'process',
    'nameserver_list' => [
      {
        'sortorder' => 1,
        'name' => 'ns1.domaindirect.com'
      },
      {
        'sortorder' => 2,
        'name' => 'ns2.domaindirect.com'
      }
    ],
    'tld_data' => {},
    'reg_password' => 'cletus',
    'domain' => 'bmd-zxbxwmyf.info',
    'custom_nameservers' => 1
  },
  'registrant_ip' => undef,
  'protocol' => 'XCP',
  'action' => 'sw_register'
};

---------------------------------------------------------------------
 Tim Woodcock                                [EMAIL PROTECTED]
 BareMetal.com Inc.                            http://baremetal.com/
 Software Development Team                 
---------------------------------------------------------------------

Message received 2002-12-10 from 'klaus rubba':

> Hi there,
> 
> Looks like we're having a similar problem. Looking at my XML request I see 
> I'm sending the phone number as:
> 
>   1.780-467-1234
> 
> This worked fine, a month ago, but like you, we haven't tested it since and 
> until only recently. Looking at the latest documentation, they are asking 
> for following format for .info domains:
> 
> >>>>
> +CCC.ZZZZZZZZZZxYYYY, where 'C' is the numeric country phone code (up to 
> three digits), 'Z' is the phone number up to 12 digits and 'Y' is the 
> extension up to 4 digits; overall length max is 20 characters, including the 
> '+', '.', and 'x' (if extension is present).
> 
> NPA-NXX-XXXXxYYYY -- the "standard" phone format for North America -- This 
> format is converted into the previous one by OpenSRS
> <<<<
> 
> Maybe they stopped accepting dashes in the phone number? Got more strict 
> about requiring the '+' at the beginning? Who know's...
> 
> Klaus
> 
> 
> 
> >From: Ewan Edwards <[EMAIL PROTECTED]>
> >Reply-To: [EMAIL PROTECTED]
> >To: [EMAIL PROTECTED]
> >Subject: .info phone/fax validation changed?
> >Date: Tue, 10 Dec 2002 16:43:30 -0800
> >
> >Hi list,
> >
> >In addition to my previous query, regarding the change in messages from
> >check_transfer, I'm also getting unexpected errors while testing .info
> >registrations on the horizon interface:
> >
> >tech phone is incorrect.
> >tech fax is incorrect.
> >
> >The phone number provided by our tests is in international format, and
> >has been used for quite some time.
> >
> >We haven't run tests against the horizon interface for about a month,
> >since we haven't made relavent changes at our end in that time, so I
> >don't know when these tests would have started failing.
> >
> >Has anyone else encountered this?
> >
> >--
> >  // 2   _____________________________________________________________
> >//     /                                                             \
> >\\/ /  | Can of worms? The can is open... the worms are everywhere.  |
> >  \\/   \_________________________________  __________________________/
> >         Ewan Edwards {e^2}, [EMAIL PROTECTED] |/
> 
> 
> _________________________________________________________________
> Tired of spam? Get advanced junk mail protection with MSN 8. 
> http://join.msn.com/?page=features/junkmail
> 



Reply via email to