[freeside-commits] branch FREESIDE_4_BRANCH updated. d4a6bb85f5a3037ba9e5299108db683a70f7ad6d
Ivan Kohler
ivan at freeside.biz
Wed May 11 12:02:30 PDT 2022
The branch, FREESIDE_4_BRANCH has been updated
via d4a6bb85f5a3037ba9e5299108db683a70f7ad6d (commit)
from 1b62faeb0aa8734211c16fbac648d37cbda7c434 (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 d4a6bb85f5a3037ba9e5299108db683a70f7ad6d
Author: Ivan Kohler <ivan at freeside.biz>
Date: Wed May 11 12:02:29 2022 -0700
fix disposition, add clid, RT#81941
diff --git a/FS/FS/cdr/broadsoft22.pm b/FS/FS/cdr/broadsoft22.pm
index 3334a9e76..92a0b9dbf 100644
--- a/FS/FS/cdr/broadsoft22.pm
+++ b/FS/FS/cdr/broadsoft22.pm
@@ -62,7 +62,7 @@ use FS::cdr qw( _cdr_date_parser_maker _cdr_min_parser_maker );
# 12: answerIndicator
sub {
my( $cdr, $data ) = @_;
- $cdr->disposition( lc($data) eq 'yes' ? 'ANSWERED' : 'NO ANSWER');
+ $cdr->disposition( $data =~ /^yes/i ? 'ANSWERED' : 'NO ANSWER');
},
# 13: answerTime
@@ -120,7 +120,12 @@ use FS::cdr qw( _cdr_date_parser_maker _cdr_min_parser_maker );
# 47: callingPartyCategory
#
# Also... cols 48 - 448 see Broadsoft documentation
- skip(111), #35-145 inclusive
+ skip(87), #35-121 inclusive
+
+ #122: otherPartyName
+ 'clid',
+
+ skip(23), #123-145 inclusive
# 146: chargedNumber
'charged_party',
-----------------------------------------------------------------------
Summary of changes:
FS/FS/cdr/broadsoft22.pm | 9 +++++++--
1 file changed, 7 insertions(+), 2 deletions(-)
More information about the freeside-commits
mailing list