[freeside-commits] branch master updated. dcf60589abb9f6c0b1b1c53e57a6afe8a64aee80
Jeremy Davis
jeremyd at 420.am
Wed Aug 20 08:09:20 PDT 2014
The branch, master has been updated
via dcf60589abb9f6c0b1b1c53e57a6afe8a64aee80 (commit)
from 2f55a20e4ca789d73cda7463f5edfce0049ee18d (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 dcf60589abb9f6c0b1b1c53e57a6afe8a64aee80
Author: Jeremy Davis <jeremyd at freeside.biz>
Date: Fri Jul 25 06:41:30 2014 -0400
#30518 Add 011 to international calls
diff --git a/bin/cdr-ivr.import b/bin/cdr-ivr.import
index 4af5da0..9285b3b 100755
--- a/bin/cdr-ivr.import
+++ b/bin/cdr-ivr.import
@@ -45,8 +45,8 @@ FS::cdr::Import->dbi_import(
#'' => 'CONVERSION_RATE', #
'lastapp' => 'MODULE_NAME', #
'src' => 'ANI', # 'clid' => 'ANI', #
- 'dst' => sub { $_[0]->{'DNIS'} =~ /^011/
- ? $_[0]->{'DNIS'}
+ 'dst' => sub { $_[0]->{'COUNTRY_CODE'} !~ /^1/
+ ? "011". $_[0]->{'DETAIL'}
: $_[0]->{'DETAIL'};
},
#'' => 'SALES_GROUP', #
-----------------------------------------------------------------------
Summary of changes:
bin/cdr-ivr.import | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
More information about the freeside-commits
mailing list