summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--FS/FS/part_export/vitelity.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/FS/FS/part_export/vitelity.pm b/FS/FS/part_export/vitelity.pm
index 4dd9caa5e..f80ef6d6d 100644
--- a/FS/FS/part_export/vitelity.pm
+++ b/FS/FS/part_export/vitelity.pm
@@ -374,7 +374,7 @@ sub _export_insert {
my $cnam_result = $self->vitelity_command('cnamenable',
'did'=>$svc_phone->phonenum,
);
- if ( $result ne 'ok' ) {
+ if ( $result !~ /^(ok|success)/i ) {
#we already provisioned the DID, so...
warn "Vitelity error enabling CNAM for ". $svc_phone->phonenum. ": $result";
} elsif ( $self->option('debug') ) {