X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=FS%2FFS%2Fpart_export%2Fphone_sqlopensips.pm;h=c281787b46d1e5743cbb4769090ad1ff46d197a4;hp=7b07ecf4a5813cbf2a274d9a3b33001e7925ee98;hb=fcce61390d750f98bd82e84d4664ae9c03202be2;hpb=83eb68cd59af488d57c23b653f44a7ae9aa4a753 diff --git a/FS/FS/part_export/phone_sqlopensips.pm b/FS/FS/part_export/phone_sqlopensips.pm index 7b07ecf4a..c281787b4 100644 --- a/FS/FS/part_export/phone_sqlopensips.pm +++ b/FS/FS/part_export/phone_sqlopensips.pm @@ -8,6 +8,7 @@ use FS::part_export; use FS::svc_phone; use FS::export_svc; use LWP::UserAgent; +use FS::DBI; @ISA = qw(FS::part_export); @@ -51,8 +52,8 @@ sub _export_insert { sub opensips_connect { my $self = shift; - DBI->connect($self->option('datasrc'),$self->option('username'), - $self->option('password')) or die $DBI::errstr; + FS::DBI->connect($self->option('datasrc'),$self->option('username'), + $self->option('password')) or die $FS::DBI::errstr; } sub _export_replace {