search for: zap_clearlinks

Displaying 1 result from an estimated 1 matches for "zap_clearlinks".

2003 May 22
2
libpri and zap lib
...eck and handle the ISDN events on pri1, pri2 as shown in pritest.c*/ 2.detect DTMF, play audio file, bridge channels, disconnect channels with zap functions: zap_getdtmf(); /* check DTMF*/ zap_playf(); /* play audio file*/ zap_conf(); /* bridge 2 channels*/ zap_clearlinks(); /* disconnect bridged channels*/ Is the above a feasible way? In the Asterisk code, the /dev/zap/channel is used for all ISDN D-channels. I haven't understood it clearly. Could you please explain its usage? Thanks a lot, James