diff options
author | Ivan Kohler <ivan@freeside.biz> | 2017-06-27 17:57:01 -0700 |
---|---|---|
committer | Ivan Kohler <ivan@freeside.biz> | 2017-06-27 17:57:01 -0700 |
commit | 9fa1bf13b76c0177a3aa12d70aabe5358a9fa3e5 (patch) | |
tree | df10977f250b60ff30d28a03c078261e9b5bd72b /FS/FS/part_export | |
parent | 575dbfc4c5acb1dd2c04e17fd045351b240db218 (diff) |
correctly parse CNAM response, RT#76262, RT#73618
Diffstat (limited to 'FS/FS/part_export')
-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 4dd9caa..f80ef6d 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') ) { |