[Asterisk-Users] Best platform

Dinesh Nair dinesh at alphaque.com
Fri Jun 24 21:58:12 MST 2005



On 06/12/05 16:16 trixter http://www.0xdecafbad.com said the following:
> ports doesnt like it.  How did you build it on 4.x?
> 
> and which 4.x specifically?

i've built and used the wcfxs and zaptel drivers on 4.11 from 
/usr/ports/misc/zaptel. i've tried with the latest ports 
(zaptel-freebsd-0.10) and there is a bug within zaptel.c, which the 
following patch will fix cleanly. without this, you'd keep getting "Device 
not configured" errors.

let me know if this addresses your problem.

-- 
Regards,                           /\_/\   "All dogs go to heaven."
dinesh at alphaque.com                (0 0)    http://www.alphaque.com/
+==========================----oOO--(_)--OOo----==========================+
| for a in past present future; do                                        |
|   for b in clients employers associates relatives neighbours pets; do   |
|   echo "The opinions here in no way reflect the opinions of my $a $b."  |
| done; done                                                              |
+=========================================================================+
-------------- next part --------------
diff -ur zaptel-freebsd-0.10.orig/zaptel/zaptel.c zaptel-freebsd-0.10/zaptel/zaptel.c
--- zaptel-freebsd-0.10.orig/zaptel/zaptel.c	Fri May 13 02:03:40 2005
+++ zaptel-freebsd-0.10/zaptel/zaptel.c	Sat Jun 25 12:56:24 2005
@@ -1765,6 +1765,8 @@
 	PROC_LOCK(p);
 	td->td_dupfd = fd;
 	PROC_UNLOCK(p);
+#else
+	p->p_dupfd = fd;
 #endif
 
 	if(filep)


More information about the asterisk-users mailing list