[Freeswitch-dev] towards making fh->silence_hits a representation in ms internally w/o changing interface
25 Jul
2007
25 Jul
'07
4:29 a.m.
Well the interface is changed slightly -- when fh is getting built by mod_dptools.c arg[3] is parsed by atof instead of atoi The other builders could follow suit; the ones that have an integer # of seconds, I didn't trace where that came from to change it to a float. Also in play_say, the running count of silence hits is in tmp_silence_hits which is (1) less confusing and (2) saves some indirections. The attached patch is submitted to the project without reservation
25 Jul
25 Jul
5:38 p.m.
New subject: [Freeswitch-dev] towards making fh->silence_hits a representation in ms internally w/o changing interface
instead of the comment concerning the legacy situation of one argument with PATHNAME\+LIMIT in it, here's support for that: }else{ l = strchr(argv[0],'+'); if(l){ *l++ = '\0'; if ((limit=atoi(l)) < 0) limit = 0; } }
7041
Age (days ago)
7041
Last active (days ago)
1 comments
1 participants
participants (1)
-
David Nicol