=over 4
-=item svcnum - primary key
+=item svcnum
-=item countrycode -
+primary key
-=item phonenum -
+=item countrycode
-=item pin -
+=item phonenum
+
+=item sip_password
+
+=item pin
+
+Voicemail PIN
=back
'display_weight' => 60,
'cancel_weight' => 80,
'fields' => {
- 'countrycode' => { label => 'Country code',
- type => 'text',
- disable_inventory => 1,
- disable_select => 1,
- },
- 'phonenum' => 'Phone number',
- 'pin' => { label => 'Personal Identification Number',
- type => 'text',
- disable_inventory => 1,
- disable_select => 1,
- },
+ 'countrycode' => { label => 'Country code',
+ type => 'text',
+ disable_inventory => 1,
+ disable_select => 1,
+ },
+ 'phonenum' => 'Phone number',
+ 'pin' => { label => 'Personal Identification Number',
+ type => 'text',
+ disable_inventory => 1,
+ disable_select => 1,
+ },
+ 'sip_password' => 'SIP password',
},
};
}
$self->ut_numbern('svcnum')
|| $self->ut_numbern('countrycode')
|| $self->ut_number('phonenum')
+ || $self->ut_anything('sip_password')
|| $self->ut_numbern('pin')
;
return $error if $error;