[asterisk-users] Empty Wildcard TDM400P as a MeetMe timer.

Tzafrir Cohen tzafrir.cohen at xorcom.com
Sat Mar 10 06:11:17 MST 2007


On Thu, Mar 08, 2007 at 03:19:00PM -0500, Steve Totaro wrote:
> The trick is modifying the source in zaptel file: wctdm.c and changing
> to the following then doing a make clean, make && make install.
> 
> static int timingonly = 1;
> The original value was a zero.

No need to change the source. That is already a parameter settable at
module load time, if not at run-time.

At module load time, manually:

  modprobe wctdm timingonly=1

permanently: add to /etc/modprobe.conf or /etc/modprobe.d/something
  
  options modprobe wctdm timingonly=1

At run-time:

  echo 1 >/sys/modules/wctdm/parameters/timingonly

Though for some older 2.6 kernels it will be:

  echo 1 >/sys/modules/wctdm/timingonly

That "parameter" file is also readable, and shows the curent value of
the variable.

-- 
               Tzafrir Cohen       
icq#16849755                    jabber:tzafrir at jabber.org
+972-50-7952406           mailto:tzafrir.cohen at xorcom.com       
http://www.xorcom.com  iax:guest at local.xorcom.com/tzafrir


More information about the asterisk-users mailing list