summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIvan Kohler <ivan@freeside.biz>2017-12-04 13:30:02 -0800
committerIvan Kohler <ivan@freeside.biz>2017-12-04 13:30:02 -0800
commitd78d7c561f354e6926123bcabc8ea1d94b50fbcf (patch)
tree49555226f57eb9a6d13634f07b01754f4f7abab6
parent72e4046329988c9a99b4aefc4e69b678f1e29fcb (diff)
add "trunkdst" to pbxware export, RT#78550
-rw-r--r--FS/FS/part_export/pbxware.pm11
1 files changed, 6 insertions, 5 deletions
diff --git a/FS/FS/part_export/pbxware.pm b/FS/FS/part_export/pbxware.pm
index 9458fca..e535e6e 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.