[freeside-commits] branch FREESIDE_4_BRANCH updated. 89cf3b9abc76f4c78df3d4445575f0c2d08c4e0a

Ivan ivan at 420.am
Tue Jun 27 17:57:04 PDT 2017


The branch, FREESIDE_4_BRANCH has been updated
       via  89cf3b9abc76f4c78df3d4445575f0c2d08c4e0a (commit)
      from  d6c11c4fb5d085b819776507e2f00a6e297d8b5e (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 89cf3b9abc76f4c78df3d4445575f0c2d08c4e0a
Author: Ivan Kohler <ivan at freeside.biz>
Date:   Tue Jun 27 17:57:03 2017 -0700

    correctly parse CNAM response, RT#76262, RT#73618

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') ) {

-----------------------------------------------------------------------

Summary of changes:
 FS/FS/part_export/vitelity.pm |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)




More information about the freeside-commits mailing list