projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
ad0a365
)
voip innovations v3.0 api, RT#25641
author
Ivan Kohler
<ivan@freeside.biz>
Thu, 6 Feb 2014 06:41:18 +0000
(22:41 -0800)
committer
Ivan Kohler
<ivan@freeside.biz>
Thu, 6 Feb 2014 06:41:18 +0000
(22:41 -0800)
FS/FS/part_export/voip_innovations3.pm
patch
|
blob
|
history
diff --git
a/FS/FS/part_export/voip_innovations3.pm
b/FS/FS/part_export/voip_innovations3.pm
index
3e4a1fe
..
40acfcb
100644
(file)
--- a/
FS/FS/part_export/voip_innovations3.pm
+++ b/
FS/FS/part_export/voip_innovations3.pm
@@
-19,8
+19,13
@@
tie my %options, 'Tie::IxHash',
'no_did_provision' => { label=>'Disable DID provisioning',
type=>'checkbox',
},
'no_did_provision' => { label=>'Disable DID provisioning',
type=>'checkbox',
},
- 'dry_run' => { label=>"Test mode - don't actually provision",
- type=>'checkbox',
+#not particularly useful unless we can_get_dids
+# 'dry_run' => { label=>"Test mode - don't actually provision",
+# type=>'checkbox',
+# },
+ 'sandbox' => { label=>'Communicatino with the VoIP Innovations sandbox'.
+ ' instead of the live server',
+ type => 'checkbox',
},
;
},
;
@@
-52,7
+57,7
@@
sub vi_command {
my $vi = Net::VoIP_Innovations->new(
'login' => $self->option('login'),
'password' => $self->option('password'),
my $vi = Net::VoIP_Innovations->new(
'login' => $self->option('login'),
'password' => $self->option('password'),
-
#'debug' => $debug
,
+
'sandbox' => $self->option('sandbox')
,
);
$vi->$command(@args);
);
$vi->$command(@args);