[asterisk-dev] [zaptel-commits] tzafrir: branch 1.4 r3677 - /branches/1.4/zaptel-base.c

Tzafrir Cohen tzafrir.cohen at xorcom.com
Sat Jan 12 10:53:16 CST 2008


On Sat, Jan 12, 2008 at 09:46:45AM -0600, Kevin P. Fleming wrote:
> SVN commits to the Zaptel project wrote:
> > Author: tzafrir
> > Date: Fri Jan 11 22:07:30 2008
> > New Revision: 3677
> > 
> > URL: http://svn.digium.com/view/zaptel?view=rev&rev=3677
> > Log:
> > Don't free a tone zone that was not created. (So why does tonezone.c do
> > that?)
> 
> That's a darn good question... I think it is because there isn't
> currently any way to query Zaptel to see if a zone has been registered
> without trying to register a new one to replace it. In any case, this
> fix will take care of the problem, thanks for catching it.

What should happen if I run ztcfg while asterisk is running?

Here's what I get:

  ioctl(ZT_FREEZONE) failed: Device or resource busy
  Notice: Configuration file is /etc/zaptel.conf
  line 44: Unable to register tone zone 'il'

Strangely enough, the exit status of ztcfg in this case is 0.

-- 
               Tzafrir Cohen
icq#16849755              jabber:tzafrir.cohen at xorcom.com
+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-dev mailing list