From: Ivan Kohler Date: Wed, 23 Aug 2017 18:57:36 +0000 (-0700) Subject: correctly parse error response from e911 provisioning, RT#76262 X-Git-Url: http://git.freeside.biz/gitweb/?a=commitdiff_plain;h=3510dde42ea17b789758981118e50dd0fb8b37ce;p=freeside.git correctly parse error response from e911 provisioning, RT#76262 --- 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 ''; }