X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fview%2Fsvc_phone.cgi;h=f604daa479390fc7f816a242cb1b11ec2183d163;hb=7bc780834a604a2e678d028f875fd4b546412cfb;hp=12b246297a49c3f344489b50f2cb64ae851c5b04;hpb=5a218e8d28a8fd7c486ca84413b13bae5a987f76;p=freeside.git
diff --git a/httemplate/view/svc_phone.cgi b/httemplate/view/svc_phone.cgi
index 12b246297..f604daa47 100644
--- a/httemplate/view/svc_phone.cgi
+++ b/httemplate/view/svc_phone.cgi
@@ -31,13 +31,15 @@ my $html_foot = sub {
#XXX handle toll free too
my $number = $svc_phone->phonenum;
+ $number = $svc_phone->countrycode. $number
+ unless $svc_phone->countrycode eq '1';
#my @links = map {
# qq().
# "View $_ CDRs";
#} keys(%what);
my @links = map {
- qq().
+ qq().
"View $_ CDRs";
} keys(%what);