<?
/**
 * VoiceOne Webservices Declarations
 *  
 * @package voiceone_webservices
 * @subpackage CDR
 */
// ---- astcdr -----------------------------------------------------------------
$server->wsdl->addComplexType(
    'astcdr',
    'complexType',
    'struct',
    'all',
    '',
    array(
        'uniqueid'      => array('name'=>'uniqueid',      'type'=>'xsd:string'),
        'userfield'     => array('name'=>'userfield',     'type'=>'xsd:string'),
        'progressiveid' => array('name'=>'progressiveid', 'type'=>'xsd:string'),
        'calldate'      => array('name'=>'calldate',      'type'=>'xsd:string'),
        'src'           => array('name'=>'src',           'type'=>'xsd:string'),
        'dst'           => array('name'=>'dst',           'type'=>'xsd:string'),
        'calldate'      => array('name'=>'calldate',      'type'=>'xsd:string'),
        'duration'      => array('name'=>'duration',      'type'=>'xsd:int'),
        'billsec'       => array('name'=>'billsec',       'type'=>'xsd:int'),
        'disposition' => array('name'=>'disposition',     'type'=>'xsd:string')
    )
);
// ---- astcdr[] ---------------------------------------------------------------
$server->wsdl->addComplexType(
    'astcdrArray',
    'complexType',
    'array',
    '',
    'SOAP-ENC:Array',
    array(),
    array(
        array('ref'=>'SOAP-ENC:arrayType','wsdl:arrayType'=>'tns:astcdr[]')
    ),
    'tns:astcdr'
);
?>