[Home]

Summary:ASTERISK-02634: pbx_dundi.c doesn't compile out of the box on NetBSD
Reporter:tih (tih)Labels:
Date Opened:2004-10-19 12:28:42Date Closed:2008-01-15 15:10:57.000-0600
Priority:MinorRegression?No
Status:Closed/CompleteComponents:Core/General
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:( 0) DIFFS.dundi.txt
Description:I know it's early days, but I just wanted to submit what I had to do to today's CVS HEAD pbx_dundi.c to get it to compile under NetBSD.

****** ADDITIONAL INFORMATION ******

I've punted on the MAC address discovering, removed the IPTOS_MINCOST option that doesn't exist on NetBSD, and there are a couple of little tweaks as well.

(disclaimer on file)
Comments:By: Olle Johansson (oej) 2004-10-19 15:15:26

This patch seems to make it compile on FreeBSD as well, can't judge if it works or not...

So maybe you can add __FreeBSD__ as well in your ifdef's, please.

By: tih (tih) 2004-10-19 21:09:13

Yeah, these are probably general BSD things. DUNDi works fine under NetBSD -- I'm using it already, to let two Asterisks call each other's locally defined extensions, after I figured out that the DUNDiLookup application hasn't actually been written yet, and I have to use switch for now.  :-)

By: Mark Spencer (markster) 2004-10-20 08:42:47

Fixed in CVS

By: Digium Subversion (svnbot) 2008-01-15 15:10:57.000-0600

Repository: asterisk
Revision: 4040

U   trunk/Makefile
U   trunk/pbx/pbx_dundi.c

------------------------------------------------------------------------
r4040 | markster | 2008-01-15 15:10:57 -0600 (Tue, 15 Jan 2008) | 2 lines

Disable mac lookup, fix compile on NetBSD (bug ASTERISK-2634)

------------------------------------------------------------------------

http://svn.digium.com/view/asterisk?view=rev&revision=4040