don't send zip+4 to vitelity e911, RT#76262
authorIvan Kohler <ivan@freeside.biz>
Tue, 19 Sep 2017 19:44:40 +0000 (12:44 -0700)
committerIvan Kohler <ivan@freeside.biz>
Tue, 19 Sep 2017 19:44:40 +0000 (12:44 -0700)
FS/FS/part_export/vitelity.pm

index 51bb0aa..574592f 100644 (file)
@@ -410,6 +410,7 @@ sub e911_send {
   return '' if $self->option('disable_e911');
 
   my %location = $svc_phone->location_hash;
+  $location{'zip'} =~ s/\-\d{4}$//;
   my %e911send = (
     'did'     => $svc_phone->phonenum,
     'name'    => $svc_phone->phone_name_or_cust,