X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=FS%2FFS%2Fpart_export%2Fhuawei_hlr.pm;h=aa09a1c64db9644a6445ef7bf057eb6211427187;hb=e0d4d66f670371a0c8a40dc471352634f9fd6017;hp=00798188053736805a23353528ddbf3d4df1814b;hpb=54a357b171aa44f9399b4c146acd2afd3b686075;p=freeside.git diff --git a/FS/FS/part_export/huawei_hlr.pm b/FS/FS/part_export/huawei_hlr.pm index 007981880..aa09a1c64 100644 --- a/FS/FS/part_export/huawei_hlr.pm +++ b/FS/FS/part_export/huawei_hlr.pm @@ -18,16 +18,16 @@ $DEBUG = 0; @ISA = qw(FS::part_export); tie my %options, 'Tie::IxHash', - 'opname' => { label=>'Operator login' }, - 'pwd' => { label=>'Operator password' }, + 'opname' => { label=>'Operator login (required)' }, + 'pwd' => { label=>'Operator password (required)' }, 'tplid' => { label=>'Template number' }, 'hlrsn' => { label=>'HLR serial number' }, 'k4sno' => { label=>'K4 serial number' }, - 'cardtype' => { label => 'Card type', + 'cardtype' => { label => 'Card type (required)', type => 'select', options=> ['SIM', 'USIM'] }, - 'alg' => { label => 'Authentication algorithm', + 'alg' => { label => 'Authentication algorithm (required)', type => 'select', options=> ['COMP128_1', 'COMP128_2', @@ -314,8 +314,8 @@ sub import_sim { # push IMSI/KI to the HLR my $return = $self->command($socket, @command, - 'IMSI', $imsi, - 'KIVALUE', $ki, + 'IMSI', qq{"$imsi"}, + 'KIVALUE', qq{"$ki"}, @args ); if ( $return->{success} ) {