brainsnorkel.com

Manifesto-driven development. Eclectic thoughts.
  • rss
  • Home
  • Tech
    • Getting wireless WPA-PSK working under Ubuntu Linux on a Dell Inspiron with Netgear WG511
    • Troubleshooting
      • iTunes freezes up randomly
    • VoIP + Networks
      • Installation
      • FreeBSD box
      • Router
      • OzTell
      • Configuration
      • Requirements
      • Sipura SPA-3000
      • References
      • Using Asterisk
      • WRT54GP2 and iiNet VoIP
  • Development
  • Writing
    • Australian Republic
      • Chapter I - Introduction
      • Chapter II - Historical Background to Australian Republicansim
      • Chapter III - Republicanism as a Political Issue in Modern Australia
      • Chapter IV - Multiculturalism as a Basis for Republicanism
      • Chapter V - Conclusion
      • End Notes and Bibliography
    • Miscellaneous Pages
      • Requirements Matrix: Julian vs Flickr
  • Games
    • Follower
    • myphatlewt.sh
    • Flash Asteroids (for IE)
  • About

Installation

I’m using the Asterisk Port on FreeBSD 5.4. The latest version (at the time of writing) is 1.2, but it will probably be a little while until that’s available as a port for BSD.

So for now, this is what pkg_info tells me my asterisk version is:
asterisk-1.0.9_2 An Open Source PBX and telephony toolkit

I ran portinstall asterisk, and after a couple of hours it all failed. I had a few problems:

  • My BSD box doesn’t have a DSP (sound card) so I couldn’t use the local DSP as a console
  • My BSD box doesn’t have, and shouldn’t have, kernel source so I could not compile the Zaptel source
  • I have an old version of MySQL installed

After some sage advice from Mr Girtby I changed /usr/local/etc/pkgtools.conf thus:

MAKE_ARGS = {
'net/asterisk' => 'WITHOUT_ZAPTEL=1 WITHOUT_MYSQL=1'
}

Then I stumbled around in /usr/local/etc/asterisk/*.conf removing references to dsp devices, and everything seemed to come up fine:

$ sudo asterisk
$ sudo asterisk -vvvvvr
Password:
== Parsing '/usr/local/etc/asterisk/asterisk.conf': Found
== Parsing '/usr/local/etc/asterisk/extconfig.conf': Found
Asterisk 1.0.8-BRIstuffed-0.2.0-RC8h, Copyright (C) 1999-2004 Digium.
Written by Mark Spencer <markster @digium.com>
=========================================================================
Connected to Asterisk 1.0.8-BRIstuffed-0.2.0-RC8h currently running on bsd (pid = 40902)
Verbosity was 0 and is now 5
bsd*CLI>

Then to make it all start up on reboot, I added the line:

asterisk_enable="YES"

…to /etc/rc.conf

[Todo: Add nice pictures of the network topology]

Comments rss
Comments rss
Trackback
Trackback

Leave a comment

You can use these tags : <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Navigation

  • Tech
    • Getting wireless WPA-PSK working under Ubuntu Linux on a Dell Inspiron with Netgear WG511
    • Troubleshooting
      • iTunes freezes up randomly
    • VoIP + Networks
      • Configuration
      • FreeBSD box
      • Installation
      • OzTell
      • References
      • Requirements
      • Router
      • Sipura SPA-3000
      • Using Asterisk
      • WRT54GP2 and iiNet VoIP
  • Development
  • Writing
    • Australian Republic
      • Chapter I - Introduction
      • Chapter II - Historical Background to Australian Republicansim
      • Chapter III - Republicanism as a Political Issue in Modern Australia
      • Chapter IV - Multiculturalism as a Basis for Republicanism
      • Chapter V - Conclusion
      • End Notes and Bibliography
    • Miscellaneous Pages
      • Requirements Matrix: Julian vs Flickr
  • Games
    • Flash Asteroids (for IE)
    • Follower
    • myphatlewt.sh
  • About

From Google Reader

Recent Posts

  • Fossilized Amiga bones
  • Is Optus making iTunes Music Store usage unmetered?
  • The Truth Eho The Eyes Met Before
  • Annual KLF Wikipedia article linkpimp
  • Not dead, just busy

Shameless Advertising

rss Comments rss valid xhtml 1.1 design by jide powered by Wordpress get firefox