Fix bug IR-363.
[irspy-moved-to-github.git] / lib / ZOOM / IRSpy / Test / Ping.pm
index a6d8d55..ec6c441 100644 (file)
@@ -24,8 +24,10 @@ sub start {
     my $xc = $conn->record()->xpath_context();
     my $user = $xc->find("e:serverInfo/e:authentication/e:user");
     my $password = $xc->find("e:serverInfo/e:authentication/e:password");
+    my $proxy = $xc->find("e:serverInfo/e:authentication/e:proxy");
     $options{"*user"} = $user if $user;
     $options{"*password"} = $password if $password;
+    $options{"*proxy"} = $proxy if $proxy;
 
     $conn->irspy_connect(undef, \%options,
                         ZOOM::Event::ZEND, \&connected,