diff options
| author | Mark Wells <mark@freeside.biz> | 2012-03-08 13:37:53 -0800 |
|---|---|---|
| committer | Mark Wells <mark@freeside.biz> | 2012-03-08 13:38:33 -0800 |
| commit | a5fba19707ec1a01db18fa55862e742170feccdf (patch) | |
| tree | 66eb6e525959474e3392c12924ba95bad98b6a6e /httemplate/search/cdr.html | |
| parent | 2e7f1e27ead9a8837b5516e2cd2e1795d51e5ee1 (diff) | |
match CDRs to services by IP address, #16723
Diffstat (limited to 'httemplate/search/cdr.html')
| -rw-r--r-- | httemplate/search/cdr.html | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/httemplate/search/cdr.html b/httemplate/search/cdr.html index 5e917db2e..d0d7292d1 100644 --- a/httemplate/search/cdr.html +++ b/httemplate/search/cdr.html @@ -223,6 +223,17 @@ if ( $cgi->param('svcnum') =~ /^([\d, ]+)$/ ) { } ### +# src/dst_ip_addr +### +foreach my $field ('src_ip_addr','dst_ip_addr') { + if ( $cgi->param($field) ) { + my $search = FS::cdr->ip_addr_sql($field, $cgi->param($field)); + push @search, $search; + push @qsearch, $search; + } +} + +### # cdrbatchnum (or legacy cdrbatch) ### |
