projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f9924b3
)
show a VoIP Innovations login error in the log, RT#15150
author
ivan
<ivan>
Mon, 13 Feb 2012 04:45:18 +0000
(
04:45
+0000)
committer
ivan
<ivan>
Mon, 13 Feb 2012 04:45:18 +0000
(
04:45
+0000)
FS/FS/part_export/globalpops_voip.pm
patch
|
blob
|
history
diff --git
a/FS/FS/part_export/globalpops_voip.pm
b/FS/FS/part_export/globalpops_voip.pm
index
e256d6a
..
b6e713a
100644
(file)
--- a/
FS/FS/part_export/globalpops_voip.pm
+++ b/
FS/FS/part_export/globalpops_voip.pm
@@
-60,6
+60,10
@@
sub get_dids {
}
my $dids = $self->gp_command('getDIDs', %getdids);
+ if ( $dids->{'type'} eq 'Error' ) {
+ die "Error running VoIP Innovations getDIDs: ".
+ $search->{'statuscode'}. ': '. $search->{'status'}; #die??
+ }
#use Data::Dumper;
#warn Dumper($dids);