« blib/lib/Asterisk/LCR/Importer/RichMedium.pm
↑ Summary
blib/lib/Asterisk/LCR/Storage/MyRoutes.pm »
| 1 | package Asterisk::LCR::Importer::VoIPJet; | ||
| 2 | use base qw /Asterisk::LCR::Importer/; | ||
| 3 | use warnings; | ||
| 4 | use strict; | ||
| 5 | |||
| 6 | |||
| 7 | sub new | ||
| 8 | { | ||
| 9 | my $class = shift; | ||
| 10 | my $self = $class->SUPER::new (@_); | ||
| 11 | $self->{prefix_position} ||= 1; | ||
| 12 | $self->{prefix_locale} ||= 'us'; | ||
| 13 | $self->{label_position} ||= 0; | ||
| 14 | $self->{rate_position} ||= 2; | ||
| 15 | $self->{first_increment_position} ||= 3; | ||
| 16 | $self->{increment} ||= 6; | ||
| 17 | $self->{connection_fee} ||= 0; | ||
| 18 | $self->{currency} ||= 'USD'; | ||
| 19 | $self->{uri} ||= 'http://voipjet.com/ratescsv.php'; | ||
| 20 | $self->{filter} ||= '^.*(?<!dialing),\d+,'; | ||
| 21 | return $self; | ||
| 22 | } | ||
| 23 | |||
| 24 | |||
| 25 | 1; | ||
| 26 | |||
| 27 | |||
| 28 | __END__ |