search for: dtmf_tonelen

Displaying 2 results from an estimated 2 matches for "dtmf_tonelen".

2006 Jun 18
11
DTMF Talk off
...than yes or no, so I looked in chan_zap.c and found relaxdtmf in many places but it looked to my inexperienced eye that it could only be set to 'yes' or 'no', but i did find some mention of tonlength (at line 10858) followed that to zaptel.c (line 3357) where it said : if ((tdp.dtmf_tonelen > 4000 ) || (tdp.dtmf_tonelen < 10 )) return -EINVAL Which I am guessing means unless the dtmf is between these 2 values ignore it. Any ideas what might happen if i increased the minimum time value? if this is indeed what this is referring to? Zapata.conf: [channels] callwaiting=yes ca...
2005 Sep 03
1
Current status on _outgoing_ Swedish/Dutch DTMF CLIP for TDM400 FXS interfaces?
...0 _should_ be understood as a valid digit, YMMV. ctlfd = open("/dev/zap/ctl", O_RDWR); if (ctlfd == -1) { fprintf(stderr,"Couldn't open zapctl!\n"); } toneduration = 40; if (toneduration > -1) { dps.dtmf_tonelen = dps.mfv1_tonelen = toneduration; res = ioctl(ctlfd, ZT_SET_DIALPARAMS, &dps); if (res < 0) { fprintf(stderr,"Couldn't dialparms!\n"); } } close(ctlfd); // End of code added - wj@xnk.nu...