The hbridge instruction directs the current channel to bridge partially to another channel.
Synopsis
hbridge(type.src,type.src)
Description
The hbridge instruction directs the current channel to bridge partially to another channel. The result is that the audio coming in on the specified channel is heard or dropped by the calling party (current channel). The specified channel does not hear the calling party. The current channel does not hear voice responses on the specified channel.
The first type.src argument is a valid channel number. The second type.src argument is either 1 to add the specified channel or 0 (zero) to drop the channel. Values for the channel numbers and the add/drop flag follow the conventions for all type.src arguments.
If the hbridge instruction is not successful, a negative value is returned to register 0. The following are conditions under which the hbridge instruction may fail:
Example
#define ADD 1
#define DROP 0
#define OTHCHAN 17
hbridge (OTHCHAN,ADD)
hbridge(OTHCHAN,DROP)