[freeside-commits] branch FREESIDE_3_BRANCH updated. ed11b2721dee39239a82468ff0924943fa577027
Ivan
ivan at 420.am
Sat Jan 18 19:14:31 PST 2014
The branch, FREESIDE_3_BRANCH has been updated
via ed11b2721dee39239a82468ff0924943fa577027 (commit)
via 0b84c6da7b2d0d500a5e856d4beaed4ffe470c0a (commit)
from 96d6a93b8cbc7fbe2eb7a0877c4108111c96d3e3 (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 ed11b2721dee39239a82468ff0924943fa577027
Author: Ivan Kohler <ivan at freeside.biz>
Date: Sat Jan 18 19:14:27 2014 -0800
pbx extensions, RT#26957
diff --git a/FS/FS/svc_pbx.pm b/FS/FS/svc_pbx.pm
index 7899621..f39234d 100644
--- a/FS/FS/svc_pbx.pm
+++ b/FS/FS/svc_pbx.pm
@@ -9,6 +9,7 @@ use FS::Conf;
use FS::cust_svc;
use FS::svc_phone;
use FS::svc_acct;
+use FS::pbx_extension;
=head1 NAME
@@ -378,6 +379,11 @@ sub get_cdrs {
qsearch ( $psearch->{query} )
}
+sub pbx_extension {
+ my $self = shift;
+ qsearch('pbx_extension', { svcnum=>$self->svcnum });
+}
+
=back
=head1 BUGS
commit 0b84c6da7b2d0d500a5e856d4beaed4ffe470c0a
Author: Ivan Kohler <ivan at freeside.biz>
Date: Sat Jan 18 19:13:19 2014 -0800
pbx extensions, RT#26957
diff --git a/FS/FS/Mason.pm b/FS/FS/Mason.pm
index ef4bf6c..1c30901 100644
--- a/FS/FS/Mason.pm
+++ b/FS/FS/Mason.pm
@@ -351,6 +351,7 @@ if ( -e $addl_handler_use_file ) {
use FS::alarm_type;
use FS::alarm_station;
use FS::addr_range;
+ use FS::pbx_extension;
# Sammath Naur
if ( $FS::Mason::addl_handler_use ) {
diff --git a/FS/MANIFEST b/FS/MANIFEST
index 8f4ab74..093edaf 100644
--- a/FS/MANIFEST
+++ b/FS/MANIFEST
@@ -715,3 +715,5 @@ FS/alarm_station.pm
t/alarm_station.t
FS/addr_range.pm
t/addr_range.t
+FS/pbx_extension.pm
+t/pbx_extension.t
-----------------------------------------------------------------------
Summary of changes:
FS/FS/Mason.pm | 1 +
FS/FS/svc_pbx.pm | 6 ++++++
FS/MANIFEST | 2 ++
3 files changed, 9 insertions(+), 0 deletions(-)
More information about the freeside-commits
mailing list