CCputcharge
Previous Topic  Next Topic 

Synopsis:

CCputcharge(port, channel,charge[,meter])


Arguments:

       port The logical E1/T1 port number.

channel The channel number.

charge ­ The charging information passed as a 34byte (68 char) hexi-string

[meter] optional parmater specifiying the number of metering pulses.


Description:   This function maps to the following Aculab function:


ACU_ERR call_put_charge(PUT_CHARGE_XPARMS *chargep);


This function may be used to send call charging information on the network and may be used any time that a valid call handle is available and the call is in the  CS_CALL_CONNECTED state. It should be noted that it is normally only possible to send this information from a Network end protocol.   The function provides for sending of call charge information and/or meter pulses. The choice of information is dependent upon the type of signalling system supported by the device driver.


Returns: This function returns 0 upon success or a negative error code.