phone_sql export, RT#29054
authorIvan Kohler <ivan@freeside.biz>
Mon, 30 Jun 2014 00:05:13 +0000 (17:05 -0700)
committerIvan Kohler <ivan@freeside.biz>
Mon, 30 Jun 2014 00:05:13 +0000 (17:05 -0700)
FS/FS/part_export/phone_sql.pm [new file with mode: 0644]
FS/MANIFEST

diff --git a/FS/FS/part_export/phone_sql.pm b/FS/FS/part_export/phone_sql.pm
new file mode 100644 (file)
index 0000000..64868c7
--- /dev/null
@@ -0,0 +1,23 @@
+package FS::part_export::phone_sql;
+use base qw( FS::part_export::sql_Common );
+
+use strict;
+use vars qw( %info );
+#use Tie::IxHash;
+
+#tie my %options, 'Tie::IxHash',
+#  %{__PACKAGE__->sql_options},
+#  #more options...
+#;
+
+%info = (
+  'svc'     => 'svc_phone',
+  'desc'    => 'Real time export of phone numbers (DIDs) to SQL databases',
+  'options' => __PACKAGE__->sql_options, #\%options,
+  'no_machine' => 1,
+  'notes'      => <<END
+Export phone numbers (DIDs) to SQL databases.
+END
+);
+
+1;
index 8a49ddb..a2e5436 100644 (file)
@@ -123,6 +123,10 @@ FS/part_export/http.pm
 FS/part_export/infostreet.pm
 FS/part_export/ldap.pm
 FS/part_export/null.pm
+FS/part_export/phone_shellcommands.pm
+FS/part_export/phone_sqlopensips.pm
+FS/part_export/phone_sql.pm
+FS/part_export/phone_sqlradius.pm
 FS/part_export/radiator.pm
 FS/part_export/router.pm
 FS/part_export/shellcommands.pm