[freeside-commits] branch FREESIDE_3_BRANCH updated. 932ac52062a1ad66a0ef10bed1c938a6dfbc0978

Jeremy Davis jeremyd at 420.am
Wed Aug 20 08:11:40 PDT 2014


The branch, FREESIDE_3_BRANCH has been updated
       via  932ac52062a1ad66a0ef10bed1c938a6dfbc0978 (commit)
      from  57e01509b9c722840218ac65de62d33ab46ea006 (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 932ac52062a1ad66a0ef10bed1c938a6dfbc0978
Author: Jeremy Davis <jeremyd at freeside.biz>
Date:   Wed Aug 20 11:11:20 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