diff options
author | Ivan Kohler <ivan@freeside.biz> | 2014-02-05 22:41:18 -0800 |
---|---|---|
committer | Ivan Kohler <ivan@freeside.biz> | 2014-02-05 22:41:18 -0800 |
commit | e1e55ec2b39c6db45e4501165f42616eb2454459 (patch) | |
tree | 1c57eadde2e7e0a9e7034cacaf3c387160408e43 /FS | |
parent | ad0a365cc548e0f5137b2d1578e2c9f8854e5a86 (diff) |
voip innovations v3.0 api, RT#25641
Diffstat (limited to 'FS')
-rw-r--r-- | FS/FS/part_export/voip_innovations3.pm | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/FS/FS/part_export/voip_innovations3.pm b/FS/FS/part_export/voip_innovations3.pm index 3e4a1fe7e..40acfcb05 100644 --- 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', }, - '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'), - #'debug' => $debug, + 'sandbox' => $self->option('sandbox'), ); $vi->$command(@args); |