diff options
author | Ivan Kohler <ivan@freeside.biz> | 2017-08-23 11:57:28 -0700 |
---|---|---|
committer | Ivan Kohler <ivan@freeside.biz> | 2017-08-23 11:57:28 -0700 |
commit | f9ecf57e5bba89dbbc6f39b9b336a8a5549e1352 (patch) | |
tree | 4da64010d638ff697f35d2b9ced25d51f26087d6 | |
parent | 3a5a4f402f8a51fc5c3da7017150491a9a0afeb0 (diff) |
correctly parse error response from e911 provisioning, RT#76262
-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 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 ''; } |