summaryrefslogtreecommitdiff
path: root/httemplate/view
diff options
context:
space:
mode:
authorivan <ivan>2008-10-24 23:21:29 +0000
committerivan <ivan>2008-10-24 23:21:29 +0000
commit668066581971a221b4915a3234ac37964ae43291 (patch)
treeb181bdd98e1eb8a0cbfbaa27b166fe62c570b8a3 /httemplate/view
parent71511219f5ccc68f66cc440aaa4b0826d7312d35 (diff)
correct links to non-US CDRs from svc_phone view
Diffstat (limited to 'httemplate/view')
-rw-r--r--httemplate/view/svc_phone.cgi2
1 files changed, 2 insertions, 0 deletions
diff --git a/httemplate/view/svc_phone.cgi b/httemplate/view/svc_phone.cgi
index 8c0c9e02e..f604daa47 100644
--- a/httemplate/view/svc_phone.cgi
+++ b/httemplate/view/svc_phone.cgi
@@ -31,6 +31,8 @@ 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(<A HREF="${p}search/cdr.html?src=$number;freesidestatus=$what{$_}">).