Date: Wed, 05 Dec 2007 15:23:15 +0200 From: Ian FREISLICH <ianf@clue.co.za> Cc: current@freebsd.org Subject: Re: Zaptel port Message-ID: <E1IzuDb-000BbK-LQ@clue.co.za> In-Reply-To: Message from Ian FREISLICH <ianf@clue.co.za> of "Wed, 05 Dec 2007 14:51:58 %2B0200." <E1IztjK-000BXU-G6@clue.co.za>
next in thread | previous in thread | raw e-mail | index | archive | help
This is a multipart MIME message. --==_Exmh_1196860986_573910 Content-Type: text/plain; charset=us-ascii Ian FREISLICH wrote: > Folling my previous post about zaptel and asterisk, I've done a lot > of searching and the following patch from a very recent post to the > asterisk-bsd digium list solves the asterisk/zaptel lockup at least > for the 7.0 case. I'd suggest this patch making it into the > 7-RELEASE cycle otherwise the latest branch that Asterisk with zaptel > will work on is 6.x. > > The first chunk of this patch is already in the ports system. As usual, I post too quickly. The 3rd chunk is not needed. The correct patch is attached. -- Ian Freislich --==_Exmh_1196860986_573910 Content-Type: text/plain ; name="patch-zaptel::zaptel.c"; charset=us-ascii Content-Description: patch-zaptel::zaptel.c Content-Disposition: attachment; filename="patch-zaptel::zaptel.c" --- zaptel/zaptel.c.orig Sun Jun 25 14:21:49 2006 +++ zaptel/zaptel.c Fri Aug 11 11:56:20 2006 @@ -397,7 +397,7 @@ int schluffen(void *q) { - int rc = tsleep(q, PZERO | PCATCH, "schluffen", 0); + int rc = tsleep(q, PZERO | PCATCH, "schluffen", 10); switch(rc) { case EINTR: --- zaptel/zaptel.c.orig 2007-12-05 14:39:49.000000000 +0200 +++ zaptel/zaptel.c 2007-12-05 14:40:10.000000000 +0200 @@ -675,7 +675,7 @@ /* Free dev_info, if exist */ if(dev->si_drv2) free(dev->si_drv2, M_ZAP); dev->si_drv2 = NULL; - destroy_dev(dev); + destroy_dev_sched(dev); return res; } --==_Exmh_1196860986_573910--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E1IzuDb-000BbK-LQ>