brainsnorkel.com

Manifesto-driven development. Eclectic thoughts.
  • Home
  • Tech
    • Getting wireless WPA-PSK working under Ubuntu Linux on a Dell Inspiron with Netgear WG511
    • Troubleshooting
      • iTunes freezes up randomly
      • Add media buttons missing from WordPress?
      • Lenovo ThinkVantage System Update troubles
      • Ubuntu 10.04 LTS: “prepare partition” page is blank
      • Fix for Canon LiDE 200 scanner error code 2,252,0
      • iOS iPhone Music app skips songs continuously
    • Sites I maintain
    • VoIP + Networks
      • FreeBSD box
      • Router
      • OzTell
      • Installation
      • 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
      • Links
  • 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 Reply

Click here to cancel reply.

Recent Posts

  • Death by radix
  • Beam “Slavery to Star trek” to Edinburgh
  • Improved boot times: Vista vs Windows 7
  • The Lenovo X61 Tablet three years later
  • Blog moved!

Navigation

  • Tech
    • Getting wireless WPA-PSK working under Ubuntu Linux on a Dell Inspiron with Netgear WG511
    • Sites I maintain
    • Troubleshooting
      • Add media buttons missing from WordPress?
      • Fix for Canon LiDE 200 scanner error code 2,252,0
      • iOS iPhone Music app skips songs continuously
      • iTunes freezes up randomly
      • Lenovo ThinkVantage System Update troubles
      • Ubuntu 10.04 LTS: “prepare partition” page is blank
    • 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
      • Links
      • Requirements Matrix: Julian vs Flickr
  • Games
    • Flash Asteroids (for IE)
    • Follower
    • myphatlewt.sh
  • About

Advertising!

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