The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Net::CSTA - Perl extension for ECMA CSTA

SYNOPSIS

  use Net::CSTA;
  
  # Connect to the CSTA server
  my $csta = Net::CSTA->new(Host=>'csta-server',Port=>'csta-server-port');
  # Create a monitor for '555'
  my $number = 555;
  $csta->request(serviceID=>71,
                             serviceArgs=>{monitorObject=>{device=>{dialingNumber=>$number}}})

  for (;;)
  {
         my $pdu = $csta->receive();
         print $pdu->toXML();
  }
  

DESCRIPTION

ECMA CSTA is an ASN.1 based protocol for Computer Integrated Telephony (CTI) using CSTA it is possible to write code that communicates with a PBX. Typical applications include receiving notifications for incoming calls, placing calls, redirecting calls or placing conference calls.

BUGS

This module currently implements CSTA phase I - mostly because my PBX (MD110 with Application Link 4.0) only supports phase I. Supporting multiple versions will require some thought since the versions are largly incompatible.

The CSTA client opens a UDP port on 3333 to receive incoming usolicited notifications. This is not implemented yet.

SECURITY CONSIDERATIONS

CSTA is a protocol devoid of any form of security. Take care to firewall your CSTA server and throw away the key.

SEE ALSO

Convert::ASN1

http://www.ecma-international.org/activities/Communications/TG11/cstaIII.htm

AUTHOR

Leif Johansson, <leifj@it.su.se>

COPYRIGHT AND LICENSE

Copyright (C) 2006 by Leif Johansson

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.6 or, at your option, any later version of Perl 5 you may have available.