AXL-Client-Simple
view release on metacpan or search on metacpan
inc/Module/Install/Fetch.pm view on Meta::CPAN
require Cwd;
my $dir = Cwd::getcwd();
chdir $args{local_dir} or return if exists $args{local_dir};
if (eval { require LWP::Simple; 1 }) {
LWP::Simple::mirror($args{url}, $file);
}
elsif (eval { require Net::FTP; 1 }) { eval {
# use Net::FTP to get past firewall
my $ftp = Net::FTP->new($host, Passive => 1, Timeout => 600);
$ftp->login("anonymous", 'anonymous@example.com');
$ftp->cwd($path);
$ftp->binary;
$ftp->get($file) or (warn("$!\n"), return);
$ftp->quit;
} }
elsif (my $ftp = $self->can_run('ftp')) { eval {
# no Net::FTP, fallback to ftp.exe
require FileHandle;
my $fh = FileHandle->new;
share/AXLSoap.xsd view on Meta::CPAN
<xsd:documentation>Additional modules attached to the phone. There can be 0, 1, or 2.</xsd:documentation>
</xsd:annotation>
<xsd:complexType>
<xsd:sequence>
<xsd:element name="addOnModule" type="axlapi:XAddOnModule" minOccurs="0" maxOccurs="2"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:element name="userLocale" type="xsd:string" nillable="true" minOccurs="0"/><!--This field is of the type axl:XUserLocale in AXLEnums.xsd-->
<xsd:element name="networkLocale" type="xsd:string" nillable="true" minOccurs="0"/><!--This field is of the type axl:XCountry in AXLEnums.xsd-->
<xsd:element name="idleTimeout" type="xsd:nonNegativeInteger" nillable="true" minOccurs="0"/>
<xsd:element name="authenticationURL" type="xsd:anyURI" nillable="true" minOccurs="0"/>
<xsd:element name="directoryURL" type="xsd:anyURI" nillable="true" minOccurs="0"/>
<xsd:element name="idleURL" type="xsd:anyURI" nillable="true" minOccurs="0"/>
<xsd:element name="informationURL" type="xsd:anyURI" nillable="true" minOccurs="0"/>
<xsd:element name="messagesURL" type="xsd:anyURI" nillable="true" minOccurs="0"/>
<xsd:element name="proxyServerURL" type="xsd:anyURI" nillable="true" minOccurs="0"/>
<xsd:element name="servicesURL" type="xsd:anyURI" nillable="true" minOccurs="0"/>
<xsd:element name="services" minOccurs="0">
<xsd:complexType>
<xsd:sequence>
share/AXLSoap.xsd view on Meta::CPAN
<xsd:element name="description" type="axlapi:String128" minOccurs="0">
<xsd:annotation>
<xsd:documentation>From device table.</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="rrqTimeToLive" type="xsd:nonNegativeInteger" nillable="false" minOccurs="0">
<xsd:annotation>
<xsd:documentation>Registration Request Time to Live.</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="retryTimeout" type="xsd:nonNegativeInteger" nillable="false" minOccurs="0">
<xsd:annotation>
<xsd:documentation>Registration Retry Timeout</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="enableDevice" type="xsd:boolean" nillable="false" minOccurs="0"/>
</xsd:sequence>
<xsd:attribute name="uuid" type="axlapi:XUUID" use="optional"/>
</xsd:complexType>
<xsd:complexType name="XRemoteDestinationProfile">
<xsd:sequence minOccurs="0">
<xsd:element name="name" type="xsd:string">
<xsd:annotation>
share/AXLSoap.xsd view on Meta::CPAN
<xsd:element name="processNode" type="axlapi:XProcessNode"/>
<xsd:element name="processNodeName" type="axlapi:String128"/>
</xsd:choice>
<xsd:element name="primaryDNSipAddress" type="xsd:string" minOccurs="0"/>
<xsd:element name="secondaryDNSipAddress" type="xsd:string" minOccurs="0"/>
<xsd:element name="primaryTFTPServeripAddress" type="xsd:string" minOccurs="0"/>
<xsd:element name="secondaryTFTPServeripAddress" type="xsd:string" minOccurs="0"/>
<xsd:element name="bootstrapServeripAddress" type="xsd:string" minOccurs="0"/>
<xsd:element name="domainName" type="xsd:string" minOccurs="0"/>
<xsd:element name="tftpServerName" type="xsd:string" minOccurs="0"/>
<xsd:element name="arpCacheTimeout" type="xsd:nonNegativeInteger" default="0">
<xsd:annotation>
<xsd:documentation>The valid values ranges from 0 to 1073741824.</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="ipAddressLeaseTime" type="xsd:nonNegativeInteger" default="0">
<xsd:annotation>
<xsd:documentation>The valid values ranges from 0 to 1073741824.</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="renewalTime" type="xsd:nonNegativeInteger" default="0">
share/AXLSoap.xsd view on Meta::CPAN
<xsd:element name="primaryRouterIPAddress" type="xsd:string" nillable="true" minOccurs="0"/>
<xsd:element name="secondaryRouterIPAddress" type="xsd:string" nillable="true" minOccurs="0"/>
<xsd:element name="subnetMask" type="xsd:string"/>
<xsd:element name="domainName" type="xsd:string" nillable="true" minOccurs="0"/>
<xsd:element name="primaryDNSIPAddress" type="xsd:string" nillable="true" minOccurs="0"/>
<xsd:element name="secondaryDNSIPAddress" type="xsd:string" nillable="true" minOccurs="0"/>
<xsd:element name="tftpServerName" type="xsd:string" nillable="true" minOccurs="0"/>
<xsd:element name="primaryTFTPServerIPAddress" type="xsd:string" nillable="true" minOccurs="0"/>
<xsd:element name="secondaryTFTPServerIPAddress" type="xsd:string" nillable="true" minOccurs="0"/>
<xsd:element name="bootstrapServerIPAddress" type="xsd:string" nillable="true" minOccurs="0"/>
<xsd:element name="arpCacheTimeout" type="xsd:nonNegativeInteger" default="0" nillable="true" minOccurs="0">
<xsd:annotation>
<xsd:documentation>Value between 0 to 1073741824.</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="ipAddressLeaseTime" type="xsd:nonNegativeInteger" default="0" nillable="true" minOccurs="0">
<xsd:annotation>
<xsd:documentation>Value between 0 to 1073741824.</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="renewalTime" type="xsd:nonNegativeInteger" default="0" nillable="true" minOccurs="0">
share/AXLSoap.xsd view on Meta::CPAN
<xsd:enumeration value="Delete Success"/>
<xsd:enumeration value="Troubleshoot Success"/>
<xsd:enumeration value="Upgrade Failed"/>
<xsd:enumeration value="Delete Failed"/>
<xsd:enumeration value="Troubleshoot Failed"/>
<xsd:enumeration value="Upgrade Failed: Invalid LSC"/>
<xsd:enumeration value="Upgrade Failed: Invalid Authentication String"/>
<xsd:enumeration value="Upgrade Failed: Invalid MIC"/>
<xsd:enumeration value="Upgrade Failed: Invalid Credentials"/>
<xsd:enumeration value="Upgrade Failed: Phone Communication Failure"/>
<xsd:enumeration value="Upgrade Failed: Key Generation Failed/Timeout"/>
<xsd:enumeration value="Upgrade Failed: CA Communication Failure"/>
<xsd:enumeration value="Upgrade Failed: CA Rejected Connection"/>
<xsd:enumeration value="Upgrade Failed: User Initiated Request Late/Timedout"/>
<xsd:enumeration value="Delete Failed: Invalid LSC"/>
<xsd:enumeration value="Delete Failed: Invalid Authentication String"/>
<xsd:enumeration value="Delete Failed: Invalid MIC"/>
<xsd:enumeration value="Delete Failed: Invalid Credentials"/>
<xsd:enumeration value="Delete Failed: Phone Communication Failure"/>
<xsd:enumeration value="Delete Failed: Key Generation Failed/Timeout"/>
<xsd:enumeration value="Delete Failed: CA Communication Failure"/>
<xsd:enumeration value="Delete Failed: CA Rejected Connection"/>
<xsd:enumeration value="Delete Failed: User Initiated Request Late/Timedout"/>
<xsd:enumeration value="Troubleshoot Failed: Invalid LSC"/>
<xsd:enumeration value="Troubleshoot Failed: Invalid Authentication String"/>
<xsd:enumeration value="Troubleshoot Failed: Invalid MIC"/>
<xsd:enumeration value="Troubleshoot Failed: Invalid Credentials"/>
<xsd:enumeration value="Troubleshoot Failed: Phone Communication Failure"/>
<xsd:enumeration value="Troubleshoot Failed: Key Generation Failed/Timeout"/>
<xsd:enumeration value="Troubleshoot Failed: User Initiated Request Late/Timedout"/>
</xsd:restriction>
</xsd:simpleType>
<xsd:simpleType name="XClass">
<xsd:restriction base="xsd:string">
<xsd:enumeration value="Phone"/>
<xsd:enumeration value="Gateway"/>
<xsd:enumeration value="Conference Bridge"/>
<xsd:enumeration value="Media Termination Point"/>
share/AXLSoap.xsd view on Meta::CPAN
<xsd:enumeration value="Non Secure"/>
<xsd:enumeration value="Authenticated"/>
<xsd:enumeration value="Encrypted"/>
</xsd:restriction>
</xsd:simpleType>
<xsd:simpleType name="XDialParameter">
<xsd:restriction base="xsd:string">
<xsd:enumeration value="Pattern"/>
<xsd:enumeration value="Button"/>
<xsd:enumeration value="Timeout"/>
<xsd:enumeration value="User"/>
</xsd:restriction>
</xsd:simpleType>
<xsd:simpleType name="XDialPattern">
<xsd:restriction base="xsd:string">
<xsd:enumeration value="7905_7912"/>
<xsd:enumeration value="7940_7960_OTHER"/>
</xsd:restriction>
</xsd:simpleType>
share/AXLSoap.xsd view on Meta::CPAN
</xsd:element>
<xsd:element name="processNodeName" type="xsd:string"/>
</xsd:choice>
<xsd:element name="primaryDNSipAddress" type="xsd:string" minOccurs="0"/>
<xsd:element name="secondaryDNSipAddress" type="xsd:string" minOccurs="0"/>
<xsd:element name="primaryTFTPServeripAddress" type="xsd:string" minOccurs="0"/>
<xsd:element name="secondaryTFTPServeripAddress" type="xsd:string" nillable="true" minOccurs="0"/>
<xsd:element name="bootstrapServeripAddress" type="xsd:string" nillable="true" minOccurs="0"/>
<xsd:element name="domainName" type="xsd:string" nillable="true" minOccurs="0"/>
<xsd:element name="tftpServerName" type="xsd:string" nillable="true" minOccurs="0"/>
<xsd:element name="arpCacheTimeout" type="xsd:nonNegativeInteger" minOccurs="0">
<xsd:annotation>
<xsd:documentation>The valid values ranges from 0 to 1073741824.</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="ipAddressLeaseTime" type="xsd:nonNegativeInteger" nillable="true" minOccurs="0">
<xsd:annotation>
<xsd:documentation>The valid values ranges from 0 to 1073741824.</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="renewalTime" type="xsd:nonNegativeInteger" nillable="true" minOccurs="0">
share/AXLSoap.xsd view on Meta::CPAN
<xsd:annotation>
<xsd:documentation>The new Security Profile for this phone. Nullable.</xsd:documentation>
</xsd:annotation>
<xsd:element name="securityProfileId" type="axlapi:XUUID"/>
<xsd:element name="securityProfileName" type="axlapi:UniqueString50"/>
</xsd:choice>
<xsd:choice minOccurs="0">
<xsd:element name="sipProfileId" type="axlapi:XUUID"/>
<xsd:element name="sipProfileName" type="axlapi:UniqueString50"/>
</xsd:choice>
<xsd:element name="idleTimeout" type="xsd:nonNegativeInteger" nillable="false" minOccurs="0">
<xsd:annotation>
<xsd:documentation>The new Idle Timeout value for this phone. Nullable.</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="authenticationURL" type="xsd:anyURI" minOccurs="0">
<xsd:annotation>
<xsd:documentation>The new Authentication URL for this phone. Nullable.</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="directoryURL" type="xsd:anyURI" minOccurs="0">
<xsd:annotation>
<xsd:documentation>The new Directory URL for this phone. Nullable.</xsd:documentation>
share/AXLSoap.xsd view on Meta::CPAN
<xsd:element name="primaryRouterIPAddress" type="xsd:string" nillable="true" minOccurs="0"/>
<xsd:element name="secondaryRouterIPAddress" type="xsd:string" nillable="true" minOccurs="0"/>
<xsd:element name="subnetMask" type="xsd:string" minOccurs="0"/>
<xsd:element name="domainName" type="xsd:string" nillable="true" minOccurs="0"/>
<xsd:element name="primaryDNSIPAddress" type="xsd:string" nillable="true" minOccurs="0"/>
<xsd:element name="secondaryDNSIPAddress" type="xsd:string" nillable="true" minOccurs="0"/>
<xsd:element name="tftpServerName" type="xsd:string" nillable="true" minOccurs="0"/>
<xsd:element name="primaryTFTPServerIPAddress" type="xsd:string" nillable="true" minOccurs="0"/>
<xsd:element name="secondaryTFTPServerIPAddress" type="xsd:string" nillable="true" minOccurs="0"/>
<xsd:element name="bootstrapServerIPAddress" type="xsd:string" nillable="true" minOccurs="0"/>
<xsd:element name="arpCacheTimeout" type="xsd:nonNegativeInteger" default="0" nillable="true" minOccurs="0">
<xsd:annotation>
<xsd:documentation>Value between 0 to 1073741824.</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="ipAddressLeaseTime" type="xsd:nonNegativeInteger" default="0" nillable="true" minOccurs="0">
<xsd:annotation>
<xsd:documentation>Value between 0 to 1073741824.</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="renewalTime" type="xsd:nonNegativeInteger" default="0" nillable="true" minOccurs="0">
share/AXLSoap.xsd view on Meta::CPAN
<xsd:annotation>
<xsd:documentation>Not nullable.</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="description" type="axlapi:String50" minOccurs="0"/>
<xsd:element name="rrqTimeToLive" type="xsd:nonNegativeInteger" nillable="false" minOccurs="0">
<xsd:annotation>
<xsd:documentation>Not nullable.</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="retryTimeout" type="xsd:nonNegativeInteger" nillable="false" minOccurs="0">
<xsd:annotation>
<xsd:documentation>Not nullable.</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="enableDevice" type="xsd:boolean" nillable="false" minOccurs="0">
<xsd:annotation>
<xsd:documentation>Not nullable.</xsd:documentation>
</xsd:annotation>
</xsd:element>
</xsd:sequence>
( run in 0.387 second using v1.01-cache-2.11-cpan-a5abf4f5562 )