From f9ecf57e5bba89dbbc6f39b9b336a8a5549e1352 Mon Sep 17 00:00:00 2001 From: Ivan Kohler Date: Wed, 23 Aug 2017 11:57:28 -0700 Subject: [PATCH] correctly parse error response from e911 provisioning, RT#76262 --- FS/FS/part_export/vitelity.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/FS/FS/part_export/vitelity.pm b/FS/FS/part_export/vitelity.pm index 332e45712..51bb0aab1 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 ''; } -- 2.11.0