diff options
author | Ivan Kohler <ivan@freeside.biz> | 2017-08-23 11:57:36 -0700 |
---|---|---|
committer | Ivan Kohler <ivan@freeside.biz> | 2017-08-23 11:57:36 -0700 |
commit | 3510dde42ea17b789758981118e50dd0fb8b37ce (patch) | |
tree | 4ace48c028fc0f92056757c218d84743ab39a3a8 /FS | |
parent | 4badfc838e1c211bc02be232ff526e141f266156 (diff) |
correctly parse error response from e911 provisioning, RT#76262
Diffstat (limited to 'FS')
-rw-r--r-- | FS/FS/part_export/vitelity.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/FS/FS/part_export/vitelity.pm b/FS/FS/part_export/vitelity.pm index 332e457..51bb0aa 100644 --- a/FS/FS/part_export/vitelity.pm +++ b/FS/FS/part_export/vitelity.pm @@ -425,7 +425,7 @@ sub e911_send { my $e911_result = $self->vitelity_command('e911send', %e911send); - unless ( $e911_result =~ /^(missingdata|invalid)/i ) { + unless ( $e911_result =~ /status=(missingdata|invalid)/i ) { warn "Vitelity response: $e911_result" if $self->option('debug'); return ''; } |