Displaying 1 result from an estimated 1 matches for "swtype".
Did you mean:
stype
2003 May 22
2
libpri and zap lib
...e run zaptel/ztcfg to configure the modules
4. run my program
My program will do the followings:
1. open D-channel /dev/zap/16 , /dev/zap/48 and run pri routine on it:
dfd1 = open("/dev/zap/16", O_RDWR);
dfd2 = open("/dev/zap/48", O_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*/...