X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=FS%2FFS%2Fcdr%2Fbroadsoft22.pm;h=92a0b9dbf6d6d4e717b842b9d62339d0bcb7bae3;hp=3334a9e7686255ddb3676753c6f008edaf80865e;hb=d9880fb208858d882d02462bba4c3c57db3b377c;hpb=ccdb2852a82946d7a9dca13345a390c31ea18d27 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',