Displaying 1 result from an estimated 1 matches for "zap_playf".
2003 May 22
2
libpri and zap lib
...RDWR);
pri1 = pri_new(dfd1, node, swtype);
pri2 = pri_new(dfd2, node, swtype);
/* check 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 pl...