projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
66173de
)
grr, TRY to support multiple internal_prefixen, RT#3985
author
ivan
<ivan>
Fri, 12 Sep 2008 22:18:08 +0000
(22:18 +0000)
committer
ivan
<ivan>
Fri, 12 Sep 2008 22:18:08 +0000
(22:18 +0000)
FS/FS/part_pkg/voip_cdr.pm
patch
|
blob
|
history
diff --git
a/FS/FS/part_pkg/voip_cdr.pm
b/FS/FS/part_pkg/voip_cdr.pm
index
af09274
..
40998cf
100644
(file)
--- a/
FS/FS/part_pkg/voip_cdr.pm
+++ b/
FS/FS/part_pkg/voip_cdr.pm
@@
-228,7
+228,7
@@
sub calc_recur {
#determine the country code
my $countrycode;
- if (
grep { $number =~ /^$_(((\d)(\d))(\d))(\d+)$/ } @intl
+ if (
( grep { $number =~ /^$_(((\d)(\d))(\d))(\d+)$/ } @intl )
|| $number =~ /^\+(((\d)(\d))(\d))(\d+)$/
)
{