[freeside-commits] branch FREESIDE_4_BRANCH updated. c71c66a2c7150770a3d3a56f957fccea3abaf490

Ivan Kohler ivan at freeside.biz
Mon Dec 4 13:30:06 PST 2017


The branch, FREESIDE_4_BRANCH has been updated
       via  c71c66a2c7150770a3d3a56f957fccea3abaf490 (commit)
      from  689304b4b6081c87c47a791ea1f64e9b562d9ea5 (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 c71c66a2c7150770a3d3a56f957fccea3abaf490
Author: Ivan Kohler <ivan at freeside.biz>
Date:   Mon Dec 4 13:30:05 2017 -0800

    add "trunkdst" to pbxware export, RT#78550

diff --git a/FS/FS/part_export/pbxware.pm b/FS/FS/part_export/pbxware.pm
index 9458fca0c..e535e6ed0 100644
--- a/FS/FS/part_export/pbxware.pm
+++ b/FS/FS/part_export/pbxware.pm
@@ -17,10 +17,11 @@ our $DEBUG = 0;
 # our $DEBUG = 2; # log requests and content of replies
 
 tie my %options, 'Tie::IxHash',
-  'apikey'  => { label => 'API key' },
-  'debug'   => { label => 'Enable debugging', type => 'checkbox', value => 1 },
-  'ext'     => { label => 'PBXware "ext" field in CDR download request', },
-  'cdrtype' => { label => 'PBXware "cdrtype" field in CDR download request', },
+  'apikey'   => { label => 'API key' },
+  'debug'    => { label => 'Enable debugging', type => 'checkbox', value => 1 },
+  'ext'      => { label => 'PBXware "ext" field in CDR download request', },
+  'cdrtype'  => { label => 'PBXware "cdrtype" field in CDR download request', },
+  'trunkdst' => { label => 'PBXware "trunkdst" field in CDR download request', },
 ;
 
 our %info = (
@@ -100,7 +101,7 @@ sub import_cdrs {
   );
 
   $opt{$_} = $self->option($_)
-    for grep length( $self->option($_) ), qw( ext cdrtype );
+    for grep length( $self->option($_) ), qw( ext cdrtype trunkdst );
 
   # unlike Certain Other VoIP providers, this one does proper pagination if
   # the result set is too big to fit in a single chunk.

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

Summary of changes:
 FS/FS/part_export/pbxware.pm | 11 ++++++-----
 1 file changed, 6 insertions(+), 5 deletions(-)




More information about the freeside-commits mailing list