![]() |
Optware.Asterisk HistoryHide minor edits - Show changes to markup April 16, 2011, at 06:54 AM
by -- PlugComputers, Asterisk, and FreePBX with Lighttpd.
Changed line 337 from:
These instructions also works with a Pogoplug Pro with Asterisk 1.8 and FreePBX 2.8. In manager.conf, make sure that enable=yes. There may be symlink errors that can be fixed manually. to:
These instructions also works with a Pogoplug Pro with Asterisk 1.8 and FreePBX 2.8. In manager.conf, make sure that enable=yes. There may be symlink errors that can be fixed manually. Use Asterisk 1.8 in place of previous versions. Add-ons are included already. Use ulaw and alaw files from previous version. January 26, 2011, at 08:17 AM
by -- PlugComputers, Asterisk, and FreePBX with Lighttpd.
Changed line 252 from:
For PlugComputers the instructions previously, actually, work pretty well.\\ to:
For PlugComputers (Pogoplug V1, V2, Pro, Biz, Seagate Dockstar, Goflex) the instructions previously, actually, work pretty well.\\ January 17, 2011, at 10:14 AM
by -- PlugComputers, Asterisk, and FreePBX with Lighttpd.
Changed lines 264-265 from:
Note: I get the question that when you run info.php, you get pear not installed. Thats ok just as long as you downloaded pear-php. to:
Note: I get the question that when you run info.php, you get pear not installed. That's ok just as long as you downloaded pear-php. January 17, 2011, at 10:12 AM
by -- PlugComputers, Asterisk, and FreePBX with Lighttpd.
Changed line 265 from:
2. More irritating was that that the repository php did not have gettext. This was actually easy to solve but was tedious:\\ to:
2. More irritating was that that the repository php did not have gettext (can now download from nslu2-asterisk yahoo group file section). This was actually easy to solve but was tedious:\\ December 29, 2010, at 12:31 PM
by -- PlugComputers, Asterisk, and FreePBX with Lighttpd.
Changed lines 336-338 from:
These instructions also works with a Pogoplug Pro with Asterisk 1.8 and FreePBX 2.8. In manager.conf, make sure that enable=yes. There may be symlink errors that can be fixed manually. to:
These instructions also works with a Pogoplug Pro with Asterisk 1.8 and FreePBX 2.8. In manager.conf, make sure that enable=yes. There may be symlink errors that can be fixed manually. December 29, 2010, at 12:27 PM
by -- PlugComputers, Asterisk, and FreePBX with Lighttpd.
Added line 316:
Also there should be a link from /opt/include to /usr/include.\\ Changed lines 334-338 from:
Finally, if you want to install only Asterisk and not FreePBX, it is a lot quicker and fits nicely into a Dockstar (Remember, above, they did it with an NSLU2 with only 32Mb instead of the Dockstar's 128Mb or Pogoplug with 256Mb. FreePBX and Asterisk with all the trimmings is about 94 Mb). If you are a good Google jockey, you can actually search for a script and howto to send mp3 recordings of messages. A final caveat is to make sure your router firewall allows port 5060 to 5080 and port forwarding. to:
Finally, if you want to install only Asterisk and not FreePBX, it is a lot quicker and fits nicely into a Dockstar (Remember, above, they did it with an NSLU2 with only 32Mb instead of the Dockstar's 128Mb or Pogoplug with 256Mb. FreePBX and Asterisk with all the trimmings is about 94 Mb). If you are a good Google jockey, you can actually search for a script and howto to send mp3 recordings of messages. A final caveat is to make sure your router firewall allows port 5060 to 5080 and port forwarding. These instructions also works with a Pogoplug Pro with Asterisk 1.8 and FreePBX 2.8. In manager.conf, make sure that enable=yes. There may be symlink errors that can be fixed manually. December 23, 2010, at 06:42 AM
by -- Plug guide for FreePBX and Asterisk.
Changed line 263 from:
1. You will get errors if you do not initialize pear "pear install DB". Make sure to place "/opt/share/pear" in your PATH.\\ to:
1. You will get errors if you do not initialize pear "pear install DB". Make sure to place "/opt/share/pear" in your php.ini include_path.\\ October 17, 2010, at 10:11 PM
by -- Plug guide for FreePBX and Asterisk.
Changed line 263 from:
1. You will get errors if you do not initialize pear "pear install DB"\\ to:
1. You will get errors if you do not initialize pear "pear install DB". Make sure to place "/opt/share/pear" in your PATH.\\ October 15, 2010, at 09:06 AM
by -- PlugComputers, Asterisk, and FreePBX with Lighttpd.
Changed line 333 from:
Finally, if you want to install only Asterisk and not FreePBX, it is a lot easier and fits nicely into a Dockstar (Remember, above, they did it with an NSLU2 with only 32Mb instead of the Dockstar's 128Mb or Pogoplug with 256Mb. FreePBX and Asterisk with all the trimmings is about 94 Mb). If you are a good Google jockey, you can actually search for a script and howto to send mp3 recordings of messages. A final caveat is to make sure your router firewall allows port 5060 to 5080 and port forwarding. to:
Finally, if you want to install only Asterisk and not FreePBX, it is a lot quicker and fits nicely into a Dockstar (Remember, above, they did it with an NSLU2 with only 32Mb instead of the Dockstar's 128Mb or Pogoplug with 256Mb. FreePBX and Asterisk with all the trimmings is about 94 Mb). If you are a good Google jockey, you can actually search for a script and howto to send mp3 recordings of messages. A final caveat is to make sure your router firewall allows port 5060 to 5080 and port forwarding. October 15, 2010, at 09:04 AM
by -- PlugComputers, Asterisk, and FreePBX with Lighttpd.
Changed line 292 from:
Follow the prompts and use the values in the previous part of this page, remember the file structure of this system is based in /opt.\\ to:
Follow the prompts and use the values in the previous part of this page (above), remember the file structure of this system is based on /opt.\\ October 15, 2010, at 09:00 AM
by -- PlugComputers, Asterisk, and FreePBX with Lighttpd.
Changed line 333 from:
Finally, if you want to install only Asterisk and not FreePBX, it is a lot easier and fits nicely into a Dockstar (Remember, above, they did it with an NSLU2 with only 32Mb instead of the Dockstar's 128Mb or Pogoplug with 256Mb. FreePBX? and Asterisk with all the trimmings is about 94 Mb). If you are a good Google jockey, you can actually search for a script and howto to send mp3 recordings of messages. A final caveat is to make sure your router firewall allows port 5060 to 5080 and port forwarding. to:
Finally, if you want to install only Asterisk and not FreePBX, it is a lot easier and fits nicely into a Dockstar (Remember, above, they did it with an NSLU2 with only 32Mb instead of the Dockstar's 128Mb or Pogoplug with 256Mb. FreePBX and Asterisk with all the trimmings is about 94 Mb). If you are a good Google jockey, you can actually search for a script and howto to send mp3 recordings of messages. A final caveat is to make sure your router firewall allows port 5060 to 5080 and port forwarding. October 15, 2010, at 08:59 AM
by -- PlugComputers, Asterisk, and FreePBX with Lighttpd.
Changed lines 330-331 from:
/usr/bin/killall dropbear (make sure you install openssh if you do this.) to:
/usr/bin/killall dropbear (Make sure you install openssh if you do this.) Changed line 333 from:
Finally, if you want to install only Asterisk and not FreePBX, it is a lot easier and fits nicely into a Dockstar (Remember, above, they did it with an NSLU2 with only 32Mb instead of the Dockstar's 128Mb or Pogoplug with 256MB). If you are a good Google jockey, you can actually search for a script and howto to send mp3 recordings of messages. A final caveat is to make sure your router firewall allows port 5060 to 5080 and port forwarding. to:
Finally, if you want to install only Asterisk and not FreePBX, it is a lot easier and fits nicely into a Dockstar (Remember, above, they did it with an NSLU2 with only 32Mb instead of the Dockstar's 128Mb or Pogoplug with 256Mb. FreePBX? and Asterisk with all the trimmings is about 94 Mb). If you are a good Google jockey, you can actually search for a script and howto to send mp3 recordings of messages. A final caveat is to make sure your router firewall allows port 5060 to 5080 and port forwarding. October 15, 2010, at 08:53 AM
by -- PlugComputers, Asterisk, and FreePBX with Lighttpd.
Changed line 333 from:
Finally, if you want to install only Asterisk and not FreePBX, it is a lot easier and fits nicely into a Dockstar (Remember, above, they did it with an NSLU2 with only 32Mb instead of the Dockstar's 128Mb or Pogoplug with 256MB). If you are a good Google jockey, you can actually search for a script and howto to send mp3 recordings of messages. A final caveat is to make sure your firewall allows port 5060 to 5080 and port forwarding. to:
Finally, if you want to install only Asterisk and not FreePBX, it is a lot easier and fits nicely into a Dockstar (Remember, above, they did it with an NSLU2 with only 32Mb instead of the Dockstar's 128Mb or Pogoplug with 256MB). If you are a good Google jockey, you can actually search for a script and howto to send mp3 recordings of messages. A final caveat is to make sure your router firewall allows port 5060 to 5080 and port forwarding. October 15, 2010, at 08:52 AM
by -- PlugComputers, Asterisk, and FreePBX with Lighttpd.
Changed line 333 from:
Finally, if you want to install only Asterisk and not FreePBX, it is a lot easier and fits nicely into a Dockstar (Remember, above, they did it with an NSLU2 with only 32Mb instead of the Dockstar's 128Mb or Pogoplug with 256MB). If you are a good Google jockey, you can actually search for a script and howto to send mp3 recordings of messages. to:
Finally, if you want to install only Asterisk and not FreePBX, it is a lot easier and fits nicely into a Dockstar (Remember, above, they did it with an NSLU2 with only 32Mb instead of the Dockstar's 128Mb or Pogoplug with 256MB). If you are a good Google jockey, you can actually search for a script and howto to send mp3 recordings of messages. A final caveat is to make sure your firewall allows port 5060 to 5080 and port forwarding. October 15, 2010, at 08:47 AM
by -- PlugComputers, Asterisk, and FreePBX with Lighttpd.
Changed line 333 from:
Finally, if you want to install only Asterisk and not FreePBX, it is a lot easier and fits nicely into a Dockstar (Remember, above, they did it with an NSLU2 with only 32Mb instead of the Dockstar's 128Mb or Pogoplug with 256MB). to:
Finally, if you want to install only Asterisk and not FreePBX, it is a lot easier and fits nicely into a Dockstar (Remember, above, they did it with an NSLU2 with only 32Mb instead of the Dockstar's 128Mb or Pogoplug with 256MB). If you are a good Google jockey, you can actually search for a script and howto to send mp3 recordings of messages. October 15, 2010, at 08:39 AM
by -- PlugComputers, Asterisk, and FreePBX with Lighttpd.
Changed lines 325-326 from:
You can save some memory (somewhat necessary) by shutting down my.pogoplug.com with a script in rcS that includes: to:
You can save some memory (somewhat necessary with a Dockstar) by shutting down my.pogoplug.com with a script in rcS that includes: October 15, 2010, at 08:37 AM
by -- PlugComputers, Asterisk, and FreePBX with Lighttpd.
Changed line 315 from:
There should be links in /usr/sbin for amportal and safe_sterisk.\\ to:
There should be links in /usr/sbin for amportal and safe_asterisk.\\ Changed lines 325-326 from:
You can save some memory by shutting down my.pogoplug.com with a script in rcS that includes: to:
You can save some memory (somewhat necessary) by shutting down my.pogoplug.com with a script in rcS that includes: Changed lines 332-333 from:
You can run "asterisk -r" to run cli (Asterisk Command Line Interface). to:
You can run "asterisk -r" to run cli (Asterisk Command Line Interface). Finally, if you want to install only Asterisk and not FreePBX, it is a lot easier and fits nicely into a Dockstar (Remember, above, they did it with an NSLU2 with only 32Mb instead of the Dockstar's 128Mb or Pogoplug with 256MB). October 15, 2010, at 08:25 AM
by -- PlugComputers, Asterisk, and FreePBX with Lighttpd.
Changed lines 261-262 from:
Two things about the php package in Optware: to:
Two things about the php package in Optware: Changed lines 279-280 from:
Extract the file and go into the subdirectory to:
Extract the file and go into the subdirectory Changed lines 294-295 from:
Make sure you have this start script in /opt/etc/init.d with a name like S99asterisk (just like above with a few modifications). to:
Make sure you have this start script in /opt/etc/init.d with a name like S99asterisk (just like above with a few modifications). Changed line 316 from:
So restart your system and make sure that asterisk starts.\\ to:
So restart your system and make sure that asterisk starts.\\\ Changed lines 325-326 from:
You can save some memory by shutting down my.pogoplug.com with a script in rcS that includes: to:
You can save some memory by shutting down my.pogoplug.com with a script in rcS that includes: Changed lines 330-331 from:
/usr/bin/killall dropbear make sure you install openssh if you do this. to:
/usr/bin/killall dropbear (make sure you install openssh if you do this.) October 15, 2010, at 08:22 AM
by -- PlugComputers, Asterisk, and FreePBX with Lighttpd.
Changed line 254 from:
Don't do this unless you feel like thrashing a system and spending a lot of time. I can only give the highlights. I may have missed some steps. But Plug Computers definitely can run Asterisk and FreePBX? using Optware, my setup has been rock solid for 3 months straight.\\ to:
Don't do this unless you feel like thrashing a system and spending a lot of time. I can only give the highlights. I may have missed some steps. But Plug Computers definitely can run Asterisk and FreePBX using Optware, my setup has been rock solid for 3 months straight.\\ Changed lines 272-273 from:
extension=gettext.so to:
extension=gettext.so Changed lines 294-295 from:
Make sure you have this start script in /opt/etc/init.d with a name like S99asterisk. to:
Make sure you have this start script in /opt/etc/init.d with a name like S99asterisk (just like above with a few modifications). Changed line 332 from:
You can run "asterisk -r" to run cli (Asterisk Command Line Interface. to:
You can run "asterisk -r" to run cli (Asterisk Command Line Interface). October 15, 2010, at 08:17 AM
by -- PlugComputers, Asterisk, and FreePBX with Lighttpd.
Changed line 251 from:
PlugComputers - Asterisk and FreePBX?to:
PlugComputers - Asterisk and FreePBXChanged line 255 from:
to:
The setup I was able to try involved Asterisk 1.6, FreePBX 2.8, using Lighttpd\\ Added line 262:
Added line 273:
Changed line 278 from:
to:
Download FreePBX "http://mirror.freepbx.org/freepbx-2.8.0.tar.gz"\\ Added line 280:
Added line 291:
Changed line 293 from:
Wherever you have asterisk or freepbx, make sure the files and directory are owned by asterisk user and group.\\ to:
Wherever you have asterisk or freepbx, make sure the files and directory are owned by asterisk user and group.\\ Added line 295:
Added line 312:
Added line 318:
Changed lines 321-322 from:
You should see if you can load the FreePBX? web page. to:
You should see if you can load the FreePBX web page. Added line 326:
Added line 331:
October 15, 2010, at 08:11 AM
by -- PlugComputers, Asterisk, and FreePBX with Lighttpd.
Added lines 250-322:
PlugComputers - Asterisk and FreePBX?For PlugComputers the instructions previously, actually, work pretty well. mount -o rw,remount / November 06, 2009, at 12:18 AM
by -- updated asterisk book link
Changed lines 5-6 from:
http://www.asteriskdocs.org/modules/tinycontent/index.php?id=11 to:
http://astbook.asteriskdocs.org/ January 03, 2009, at 08:11 PM
by -- added : Missed Call Email Notification
Changed lines 169-170 from:
to:
November 09, 2008, at 06:51 PM
by -- remove spam
Changed lines 1-248 from:
http://rollyo.com/search.html?q=xboxoffer.com&sid=web to:
The Open Source VoIP PBX Systemhttp://www.asterisk.org/ Download the O'Reilly book "Asterisk: The Future of Telephony" http://www.asteriskdocs.org/modules/tinycontent/index.php?id=11 InstallationFrom the root prompt, type: ipkg install asterisk
Optionally install the additional sound package: ipkg -force-overwrite install asterisk-sounds
Configuration:The original sample configuration files are in /opt/etc/asterisk/sample Take a look at it, consult the voip-info.org Asterisk wiki and create your configuration files in /opt/etc/asterisk Because the NSLU has only 32MB of RAM I'll recommend you to use a slim configuration (modules.conf). I have tested it with the second Asterisk slim configuration with the iLBC codec disabled as it requires a floating point unit which isn't present on the IXP420. You have to configure the path to the various asterisk component in asterisk.conf: [directories] astetcdir => /opt/etc/asterisk astmoddir => /opt/lib/asterisk/modules astvarlibdir => /opt/var/lib/asterisk astagidir => /opt/var/lib/asterisk/agi-bin astspooldir => /opt/var/spool/asterisk astrundir => /opt/var/run astlogdir => /opt/var/log/asterisk Use the voip-info.org Asterisk wiki to find out how to configure: extensions.conf iax.conf sip.conf voicemail.conf Performance expectationsThe slug's IXP420 should have enough horse power for a home PBX with up to 4 lines, when less CPU intensive codecs (like GSM, G711u, G711a or G726) are used. The CPU intensive codecs (iLBC, G729, Speex) are not working, but it should be possible to rewrite them using the DSP extended instruction set supported by the IXP4xx. The Intel(R) IXP4XX DSP Software Library contains efficient implementations of all codecs including G729 and other VoIP goodies, but it looks that it cannot be used by asterisk: http://www.intel.com/design/network/products/npfamily/ixp425swr1.htm Flash installationTo install on a USB flash disk, 128Mb or more is recommended to allow room for voicemail files etc.. See Ext3flash. It has been reported to run on 64Mb. Asterisk sample configuration for SlugIf you want to try the Asterisk VoIP PBX without going trough the hassle of configuring it from the scratch, you can start with this sample configuration and you will have Asterisk running on the Slug in minutes. Starting and stopping AsteriskIf you have just installed and configured Asterisk, you can try running it for the first time in console mode with some debugging applied with this command: /opt/sbin/asterisk -vvvc Use the command "stop now" to shut down Asterisk from the CLI console. If run with no arguments, Asterisk is launched as a daemon process: /opt/sbin/asterisk You can get a CLI console to an already-running daemon by typing: /opt/sbin/asterisk -r on the same computer on which Asterisk is running. More than one console CLI can connect to Asterisk simultaneously. You can list all the available CLI commands by entering "help", or get information on a particular command by entering "help <command>". To start asterisk at boot time, create a script whose name starts with S[number][number] in /opt/etc/init.d/ that executes asterisk:
/opt/etc/init.d # cat S99asterisk
#!/bin/sh
if [ -f /opt/var/run/asterisk.pid ] ; then
kill `cat /opt/var/run/asterisk.pid`
else
killall asterisk
fi
rm -f /opt/var/run/asterisk.pid
umask 077
/opt/sbin/asterisk
Asterisk GUIThere is a simple Asterisk GUI for Unslung (Optware): http://www.fivn.com/products/asterisk.html How to connect a standard phone and to a PSTN phone lineAn Analog Telephone Adaper (ATA) like Sipura SPA-3000 can be used to connect a standard analog phone and to connect Asterisk to a PSTN phone line. How to use a Gizmo Project account with asteriskHow to configure music on holdPlaying MP3 on the slug will not work. You will have to convert your MP3 files to native format GSM and/or ULAW (using for example the free sound conversion software from http://www.nch.com.au/switch ) and configure asterisk to use the native format. Your musiconhold.conf file should look like this: NOTE: To transcode to ULAW (for example) using the 'switch' sound conversion software:
How to configure the voicemail system to send messages by emailI was not able to make Asterisk to work with the email client that came with the Linksys firmware (the voicemail message showed up appended to the text, instead of being attached as .wav file). I've installed esmtp which has a sendmail compatible syntax: > ipkg install esmtp Then, I created /opt/etc/esmtprc where I configured esmtp to use my ISP outgoing email server:
hostname=smtp.my_outgoing_mail_server.net:25 In /opt/etc/asterisk/voicemail.conf I configured the following:
format=wav49
attach=yes
serveremail=youusername@youremaildomain
fromstring=emailfromdisplayname
mailcmd=/opt/sbin/sendmail -t
400 => 1234,John Smith,my_email@address.com Useful dialplan macrosHere are some useful asterisk dialplan macros I create based on examples posted on www.voip-info.org:
Useful featuresHere are the recipes for some useful features: Provisioning a Cisco 79XX series IP phoneThe TFTP and HTML server capability of the NSLU2 can be used in conjunction with Asterisk to provision a Cisco 79XX series IP phone. For further information see: http://www.ambor.com/public/home_pabx/home_pabx.html How to connect a YeaLink USB phoneThis article describes how to connect and use a YeaLink USB-P1K handset with the NSLU2 as a standalone SIP VoIP phone. How to make SIP work if NAT firewall is involved
[xlite1]
externhost=yourdomain.net
UDP 5060 for SIP (signalling) Make calls to/from IM clientsCall your sip address from your favorite IM clientNow thanks to gtalk2voip you can call your SIP address from your favorite IM client (yahoo messenger, windows live messenger, gtalk, or gizmoproject):
Call your favorite IM client from asteriskHere is an example of how to setup asterisk to be able to call yahoo buddies:
[yahoo-proxy-out]
type=peer
host=yahoo.com
outboundproxy=yahoo.gtalk2voip.com
fromuser=YourYahooID
fromdomain=yahoo.com
nat=yes
canreinvite=no
disallow=all
allow=ulaw
allow=gsm
dtmfmode=rfc2833
exten => ExtensionForYahooBuddy,1,Dial(SIP/YahooBuddyID@yahoo-proxy-out,120,T)
gTalkHere is an example of how to use asterisk 1.4 with Google Talk. app_notifyStarting with asterisk14_1.4.13-2 app_notify is available (it can send notifications over the network to announce the callers name and telephone number to a desktop PC). For how to configure, check out [http://www.mezzo.net/asterisk/app_notify.html]. nslu2-asterisk groupFor more information on using Asterisk on NSLU2 join the nslu2-asterisk group: November 09, 2008, at 12:24 PM
by -- <a href=\" http://www.exalead.fr/search/results?q=site%3Axboxoffer.comSearchs=web&t=0 \">xbox console</a>
<a href=\" http://www.snap.com/classicsearch.php?query=site%3Axboxoffer.com.comm&go=Searchs=web&t=0 \">xbox 360 guitar hero</a>
<a href=\" http://www.xomreviews.com/xboxoffer.com \">xbox</a>
Changed lines 1-248 from:
The Open Source VoIP PBX Systemhttp://www.asterisk.org/ Download the O'Reilly book "Asterisk: The Future of Telephony" http://www.asteriskdocs.org/modules/tinycontent/index.php?id=11 InstallationFrom the root prompt, type: ipkg install asterisk
Optionally install the additional sound package: ipkg -force-overwrite install asterisk-sounds
Configuration:The original sample configuration files are in /opt/etc/asterisk/sample Take a look at it, consult the voip-info.org Asterisk wiki and create your configuration files in /opt/etc/asterisk Because the NSLU has only 32MB of RAM I'll recommend you to use a slim configuration (modules.conf). I have tested it with the second Asterisk slim configuration with the iLBC codec disabled as it requires a floating point unit which isn't present on the IXP420. You have to configure the path to the various asterisk component in asterisk.conf: [directories] astetcdir => /opt/etc/asterisk astmoddir => /opt/lib/asterisk/modules astvarlibdir => /opt/var/lib/asterisk astagidir => /opt/var/lib/asterisk/agi-bin astspooldir => /opt/var/spool/asterisk astrundir => /opt/var/run astlogdir => /opt/var/log/asterisk Use the voip-info.org Asterisk wiki to find out how to configure: extensions.conf iax.conf sip.conf voicemail.conf Performance expectationsThe slug's IXP420 should have enough horse power for a home PBX with up to 4 lines, when less CPU intensive codecs (like GSM, G711u, G711a or G726) are used. The CPU intensive codecs (iLBC, G729, Speex) are not working, but it should be possible to rewrite them using the DSP extended instruction set supported by the IXP4xx. The Intel(R) IXP4XX DSP Software Library contains efficient implementations of all codecs including G729 and other VoIP goodies, but it looks that it cannot be used by asterisk: http://www.intel.com/design/network/products/npfamily/ixp425swr1.htm Flash installationTo install on a USB flash disk, 128Mb or more is recommended to allow room for voicemail files etc.. See Ext3flash. It has been reported to run on 64Mb. Asterisk sample configuration for SlugIf you want to try the Asterisk VoIP PBX without going trough the hassle of configuring it from the scratch, you can start with this sample configuration and you will have Asterisk running on the Slug in minutes. Starting and stopping AsteriskIf you have just installed and configured Asterisk, you can try running it for the first time in console mode with some debugging applied with this command: /opt/sbin/asterisk -vvvc Use the command "stop now" to shut down Asterisk from the CLI console. If run with no arguments, Asterisk is launched as a daemon process: /opt/sbin/asterisk You can get a CLI console to an already-running daemon by typing: /opt/sbin/asterisk -r on the same computer on which Asterisk is running. More than one console CLI can connect to Asterisk simultaneously. You can list all the available CLI commands by entering "help", or get information on a particular command by entering "help <command>". To start asterisk at boot time, create a script whose name starts with S[number][number] in /opt/etc/init.d/ that executes asterisk:
/opt/etc/init.d # cat S99asterisk
#!/bin/sh
if [ -f /opt/var/run/asterisk.pid ] ; then
kill `cat /opt/var/run/asterisk.pid`
else
killall asterisk
fi
rm -f /opt/var/run/asterisk.pid
umask 077
/opt/sbin/asterisk
Asterisk GUIThere is a simple Asterisk GUI for Unslung (Optware): http://www.fivn.com/products/asterisk.html How to connect a standard phone and to a PSTN phone lineAn Analog Telephone Adaper (ATA) like Sipura SPA-3000 can be used to connect a standard analog phone and to connect Asterisk to a PSTN phone line. How to use a Gizmo Project account with asteriskHow to configure music on holdPlaying MP3 on the slug will not work. You will have to convert your MP3 files to native format GSM and/or ULAW (using for example the free sound conversion software from http://www.nch.com.au/switch ) and configure asterisk to use the native format. Your musiconhold.conf file should look like this: NOTE: To transcode to ULAW (for example) using the 'switch' sound conversion software:
How to configure the voicemail system to send messages by emailI was not able to make Asterisk to work with the email client that came with the Linksys firmware (the voicemail message showed up appended to the text, instead of being attached as .wav file). I've installed esmtp which has a sendmail compatible syntax: > ipkg install esmtp Then, I created /opt/etc/esmtprc where I configured esmtp to use my ISP outgoing email server:
hostname=smtp.my_outgoing_mail_server.net:25 In /opt/etc/asterisk/voicemail.conf I configured the following:
format=wav49
attach=yes
serveremail=youusername@youremaildomain
fromstring=emailfromdisplayname
mailcmd=/opt/sbin/sendmail -t
400 => 1234,John Smith,my_email@address.com Useful dialplan macrosHere are some useful asterisk dialplan macros I create based on examples posted on www.voip-info.org:
Useful featuresHere are the recipes for some useful features: Provisioning a Cisco 79XX series IP phoneThe TFTP and HTML server capability of the NSLU2 can be used in conjunction with Asterisk to provision a Cisco 79XX series IP phone. For further information see: http://www.ambor.com/public/home_pabx/home_pabx.html How to connect a YeaLink USB phoneThis article describes how to connect and use a YeaLink USB-P1K handset with the NSLU2 as a standalone SIP VoIP phone. How to make SIP work if NAT firewall is involved
[xlite1]
externhost=yourdomain.net
UDP 5060 for SIP (signalling) Make calls to/from IM clientsCall your sip address from your favorite IM clientNow thanks to gtalk2voip you can call your SIP address from your favorite IM client (yahoo messenger, windows live messenger, gtalk, or gizmoproject):
Call your favorite IM client from asteriskHere is an example of how to setup asterisk to be able to call yahoo buddies:
[yahoo-proxy-out]
type=peer
host=yahoo.com
outboundproxy=yahoo.gtalk2voip.com
fromuser=YourYahooID
fromdomain=yahoo.com
nat=yes
canreinvite=no
disallow=all
allow=ulaw
allow=gsm
dtmfmode=rfc2833
exten => ExtensionForYahooBuddy,1,Dial(SIP/YahooBuddyID@yahoo-proxy-out,120,T)
gTalkHere is an example of how to use asterisk 1.4 with Google Talk. app_notifyStarting with asterisk14_1.4.13-2 app_notify is available (it can send notifications over the network to announce the callers name and telephone number to a desktop PC). For how to configure, check out [http://www.mezzo.net/asterisk/app_notify.html]. nslu2-asterisk groupFor more information on using Asterisk on NSLU2 join the nslu2-asterisk group: to:
http://rollyo.com/search.html?q=xboxoffer.com&sid=web February 22, 2008, at 07:33 AM
by -- Update FIVN link
Changed lines 98-99 from:
There is a simple Asterisk GUI for Unslung (Optware): http://www.fivn.com/index.php?page=software&menu=asterisk to:
There is a simple Asterisk GUI for Unslung (Optware): http://www.fivn.com/products/asterisk.html November 14, 2007, at 03:55 AM
by -- add app_notify info
Added lines 242-245:
app_notifyStarting with asterisk14_1.4.13-2 app_notify is available (it can send notifications over the network to announce the callers name and telephone number to a desktop PC). For how to configure, check out [http://www.mezzo.net/asterisk/app_notify.html]. October 14, 2007, at 05:26 AM
by --
Changed lines 240-241 from:
Here is an example of how to use asterisk 1.4 with *Google Talk to:
Here is an example of how to use asterisk 1.4 with Google Talk. October 14, 2007, at 05:25 AM
by -- added gTalk config example - posted by \"dickmars\"
Added lines 238-241:
gTalkHere is an example of how to use asterisk 1.4 with *Google Talk September 27, 2007, at 04:03 AM
by -- Corrected boot time asterisk script. Original one didn\'t work properly.
Added lines 82-92:
if [ -f /opt/var/run/asterisk.pid ] ; then
kill `cat /opt/var/run/asterisk.pid`
else
killall asterisk
fi
rm -f /opt/var/run/asterisk.pid
umask 077
Added line 94:
June 27, 2007, at 09:22 PM
by -- typo
Changed line 50 from:
The CPU intensive codecs (iLBC, G729, Speex) are not working, but it should be possible to rewrite them using the DSP exetended instruction set supported by the IXP4xx. The Intel(R) IXP4XX DSP Software Library contains efficient implementations of all codecs including G729 and other VoIP goodies, but it looks that it cannot be used by asterisk: to:
The CPU intensive codecs (iLBC, G729, Speex) are not working, but it should be possible to rewrite them using the DSP extended instruction set supported by the IXP4xx. The Intel(R) IXP4XX DSP Software Library contains efficient implementations of all codecs including G729 and other VoIP goodies, but it looks that it cannot be used by asterisk: March 24, 2007, at 12:45 AM
by -- call to / from IM clients
Changed line 195 from:
call your sip address from your favorite IM clientto:
Call your sip address from your favorite IM clientChanged line 205 from:
call your favorite IM client from asteriskto:
Call your favorite IM client from asteriskMarch 24, 2007, at 12:42 AM
by -- call to / from IM clients
Changed lines 193-194 from:
call to / from IM clientsto:
Make calls to/from IM clientsChanged line 198 from:
to:
Changed lines 201-203 from:
CALL sip_address to:
Added lines 205-225:
call your favorite IM client from asteriskHere is an example of how to setup asterisk to be able to call yahoo buddies:
[yahoo-proxy-out]
type=peer
host=yahoo.com
outboundproxy=yahoo.gtalk2voip.com
fromuser=YourYahooID
fromdomain=yahoo.com
nat=yes
canreinvite=no
disallow=all
allow=ulaw
allow=gsm
dtmfmode=rfc2833
exten => ExtensionForYahooBuddy,1,Dial(SIP/YahooBuddyID@yahoo-proxy-out,120,T)
March 24, 2007, at 12:29 AM
by -- call to / from IM clients
Changed lines 192-205 from:
to:
call to / from IM clientscall your sip address from your favorite IM clientNow thanks to gtalk2voip you can call your SIP address from your favorite IM client (yahoo messenger, windows live messenger, gtalk, or gizmoproject):
CALL sip_address
March 18, 2007, at 04:18 PM
by -- moved gizmo section into a new page
Changed lines 92-128 from:
Add the following in sip.conf and replace YourGizmoSIPnumber and YourGizmoPassword with your 11 digits gizmo SIP number and password: ; register to gizmo [gizmo] Add the following in extensions.conf: ; outgoing gizmo [from-gizmo] Note: to:
January 22, 2007, at 03:01 AM
by -- added callbackDISA feature done by Jian
Added lines 191-194:
Useful featuresHere are the recipes for some useful features: January 20, 2007, at 03:38 AM
by -- added callback macro
Changed lines 86-87 from:
There is available Asterisk GUI for Unslung (Optware). It is simple and easy which can maintain Asterisk without need to login a server. http://www.fivn.com/index.php?page=software&menu=asterisk to:
There is a simple Asterisk GUI for Unslung (Optware): http://www.fivn.com/index.php?page=software&menu=asterisk Changed lines 189-190 from:
to:
January 02, 2007, at 06:48 AM
by -- Added Asterisk GUI
Changed lines 85-87 from:
to:
Asterisk GUIThere is available Asterisk GUI for Unslung (Optware). It is simple and easy which can maintain Asterisk without need to login a server. http://www.fivn.com/index.php?page=software&menu=asterisk October 28, 2006, at 05:54 PM
by -- How to make SIP work if NAT firewall is involved
Changed line 195 from:
to:
Changed line 211 from:
to:
October 28, 2006, at 05:51 PM
by -- How to make SIP work if NAT firewall is involved October 28, 2006, at 05:49 PM
by --
Changed line 194 from:
How to make SIP work if Asterisk is behind NAT firewallto:
How to make SIP work if NAT firewall is involvedChanged lines 196-209 from:
[xlite1] type=friend regexten=401 username=xlite1 secret=passwd context=default callerid="John Smith" <401> host=dynamic nat=yes ; X-Lite is behind a NAT router canreinvite=no disallow=all allow=ulaw allow=gsm to:
[xlite1] Changed line 212 from:
externhost=yourdomain.net to:
externhost=yourdomain.net\\ Changed line 216 from:
UDP 5060 for SIP (signalling) to:
UDP 5060 for SIP (signalling)\\ October 28, 2006, at 05:45 PM
by --
Added lines 194-219:
How to make SIP work if Asterisk is behind NAT firewall
[xlite1] type=friend regexten=401 username=xlite1 secret=passwd context=default callerid="John Smith" <401> host=dynamic nat=yes ; X-Lite is behind a NAT router canreinvite=no disallow=all allow=ulaw allow=gsm mailbox=401@default
externhost=yourdomain.net externip = 200.201.202.203
UDP 5060 for SIP (signalling) UDP 10000-20000 for RTP (voice) October 16, 2006, at 09:57 PM
by -- added link to \"How to connect a YeaLink USB phone\" page
Changed lines 191-193 from:
How to connect a YeaLink? USB phoneThis article describes how to connect and use a YeaLink? USB-P1K? handset with the NSLU2 as a standalone SIP VoIP? phone. to:
How to connect a YeaLink USB phoneThis article describes how to connect and use a YeaLink USB-P1K handset with the NSLU2 as a standalone SIP VoIP phone. October 16, 2006, at 09:55 PM
by -- link to How to connect a YeaLink USB phone
Changed lines 191-193 from:
How to connect a Yeaphone USB phoneHere? are instructions for connecting a Yeaphone directly to the NSLU2 to be used as a SIP phone with asterisk. to:
October 16, 2006, at 09:50 PM
by -- link to ConnectUSBPhone page
Added lines 191-193:
August 18, 2006, at 08:47 PM
by --
Changed lines 173-174 from:
serveremail=youusername@youremaildomain to:
serveremail=youusername@youremaildomain Deleted line 175:
Deleted line 178:
August 18, 2006, at 11:25 AM
by -- addition of email display name detail
Changed lines 172-174 from:
serveremail=youusername@youremaildomain fromstring=EmailFromDisplayName? to:
serveremail=youusername@youremaildomain
fromstring=emailfromdisplayname Added line 181:
August 18, 2006, at 10:57 AM
by -- added the display name for \'From\' in voicemail.conf
Added line 174:
fromstring=EmailFromDisplayName? August 18, 2006, at 04:33 AM
by --
Changed lines 175-177 from:
mailcmd=/opt/sbin/sendmail -t
to:
mailcmd=/opt/sbin/sendmail -t
August 18, 2006, at 01:44 AM
by -- small edits...
Changed line 175 from:
to:
Deleted lines 179-180:
(I'm not sure, but I remember having difficulties when I tried to configure distinct email addresses for each mailbox.) This is fixed when using the -t option August 17, 2006, at 10:33 PM
by -- emstp voicemail/email option fixed
Changed lines 162-163 from:
hostname=smtp.my_outgoing_mail_server.net:25 to:
hostname=smtp.my_outgoing_mail_server.net:25 Added lines 172-173:
serveremail=youusername@youremaildomain Changed lines 175-176 from:
mailcmd=/opt/sbin/sendmail -f asterisk@my_domain.net my_email@address.com to:
mailcmd=/opt/sbin/sendmail -t Changed lines 180-181 from:
I'm not sure, but I remember having difficulties when I tried to configure distinct email addresses for each mailbox. to:
(I'm not sure, but I remember having difficulties when I tried to configure distinct email addresses for each mailbox.) This is fixed when using the -t option July 13, 2006, at 12:10 PM
by -- Added Cisco 7940 section + some typo fixes
Changed line 177 from:
Hare are some useful asterisk dialplan macros I create based on examples posted on www.voip-info.org: to:
Here are some useful asterisk dialplan macros I create based on examples posted on www.voip-info.org: Added lines 182-184:
Provisioning a Cisco 79XX series IP phoneThe TFTP and HTML server capability of the NSLU2 can be used in conjunction with Asterisk to provision a Cisco 79XX series IP phone. For further information see: http://www.ambor.com/public/home_pabx/home_pabx.html July 12, 2006, at 05:04 AM
by -- startup sctipt
Changed lines 78-79 from:
To start asterisk at boot time, create a script whose name starts with S[number][number] in /opt/etc/init.d/ that executes asterisk. to:
To start asterisk at boot time, create a script whose name starts with S[number][number] in /opt/etc/init.d/ that executes asterisk: /opt/etc/init.d # cat S99asterisk #!/bin/sh /opt/sbin/asterisk June 23, 2006, at 02:11 PM
by -- mention flash disk installation
Changed lines 54-55 from:
To install on a USB flash disk, 128Mb or more is recommended to allow room for voicemail files etc.. See Ext3flash. It has been reported to run on 64Mb. to:
To install on a USB flash disk, 128Mb or more is recommended to allow room for voicemail files etc.. See Ext3flash. It has been reported to run on 64Mb. June 23, 2006, at 02:10 PM
by -- mention flash disk installation
Added lines 53-55:
Flash installationTo install on a USB flash disk, 128Mb or more is recommended to allow room for voicemail files etc.. See Ext3flash. It has been reported to run on 64Mb. June 11, 2006, at 06:12 AM
by -- how to make asterisk VM to send emails on the slug
Changed line 147 from:
How to configure the voicemail system to send the messages by emailto:
How to configure the voicemail system to send messages by emailChanged lines 150-152 from:
Then I created /opt/etc/esmtprc where I configured esmtp to use my ISP outgoing email server: to:
> ipkg install esmtp Then, I created /opt/etc/esmtprc where I configured esmtp to use my ISP outgoing email server: Deleted line 166:
June 11, 2006, at 06:07 AM
by -- how to make asterisk VM send emails on the slug
Added lines 147-167:
How to configure the voicemail system to send the messages by emailI was not able to make Asterisk to work with the email client that came with the Linksys firmware (the voicemail message showed up appended to the text, instead of being attached as .wav file). I've installed esmtp which has a sendmail compatible syntax:
Then I created /opt/etc/esmtprc where I configured esmtp to use my ISP outgoing email server: hostname=smtp.my_outgoing_mail_server.net:25 In /opt/etc/asterisk/voicemail.conf I configured the following:
format=wav49
attach=yes
mailcmd=/opt/sbin/sendmail -f asterisk@my_domain.net my_email@address.com
400 => 1234,John Smith,my_email@address.com I'm not sure, but I remember having difficulties when I tried to configure distinct email addresses for each mailbox. June 11, 2006, at 05:31 AM
by --
Deleted lines 72-73:
To start asterisk at boot time, create a script to launch asterisk whose name starts with S[number][number] to /opt/etc/init.d/. Added lines 75-76:
To start asterisk at boot time, create a script whose name starts with S[number][number] in /opt/etc/init.d/ that executes asterisk. June 10, 2006, at 08:20 PM
by -- Add hint about starting asterisk when it boots up
Added lines 73-74:
To start asterisk at boot time, create a script to launch asterisk whose name starts with S[number][number] to /opt/etc/init.d/. May 30, 2006, at 08:12 AM
by -- restored
Changed lines 1-7 from:
leggey http://brin.to.p <a href="http://brin.to.pl/">buy phentermine</a> <a href="http://pechen.to.pl/">buy fioricet</a> <a href="http://karcer.to.pl/">buy diazepam</a> <a href="http://bugaboo.to.pl/">buy hydrocodone</a> <a href="http://zerro.to.pl/">buy cialis</a> <a href="http://pikachu.to.pl/">buy carisoprodol</a> <a href="http://gendalf.to.pl/">buy tramadol</a> to:
The Open Source VoIP PBX Systemhttp://www.asterisk.org/ Download the O'Reilly book "Asterisk: The Future of Telephony" http://www.asteriskdocs.org/modules/tinycontent/index.php?id=11 InstallationFrom the root prompt, type: ipkg install asterisk
Optionally install the additional sound package: ipkg -force-overwrite install asterisk-sounds
Configuration:The original sample configuration files are in /opt/etc/asterisk/sample Take a look at it, consult the voip-info.org Asterisk wiki and create your configuration files in /opt/etc/asterisk Because the NSLU has only 32MB of RAM I'll recommend you to use a slim configuration (modules.conf). I have tested it with the second Asterisk slim configuration with the iLBC codec disabled as it requires a floating point unit which isn't present on the IXP420. You have to configure the path to the various asterisk component in asterisk.conf: [directories] astetcdir => /opt/etc/asterisk astmoddir => /opt/lib/asterisk/modules astvarlibdir => /opt/var/lib/asterisk astagidir => /opt/var/lib/asterisk/agi-bin astspooldir => /opt/var/spool/asterisk astrundir => /opt/var/run astlogdir => /opt/var/log/asterisk Use the voip-info.org Asterisk wiki to find out how to configure: extensions.conf iax.conf sip.conf voicemail.conf Performance expectationsThe slug's IXP420 should have enough horse power for a home PBX with up to 4 lines, when less CPU intensive codecs (like GSM, G711u, G711a or G726) are used. The CPU intensive codecs (iLBC, G729, Speex) are not working, but it should be possible to rewrite them using the DSP exetended instruction set supported by the IXP4xx. The Intel(R) IXP4XX DSP Software Library contains efficient implementations of all codecs including G729 and other VoIP goodies, but it looks that it cannot be used by asterisk: http://www.intel.com/design/network/products/npfamily/ixp425swr1.htm Asterisk sample configuration for SlugIf you want to try the Asterisk VoIP PBX without going trough the hassle of configuring it from the scratch, you can start with this sample configuration and you will have Asterisk running on the Slug in minutes. Starting and stopping AsteriskIf you have just installed and configured Asterisk, you can try running it for the first time in console mode with some debugging applied with this command: /opt/sbin/asterisk -vvvc Use the command "stop now" to shut down Asterisk from the CLI console. If run with no arguments, Asterisk is launched as a daemon process: /opt/sbin/asterisk You can get a CLI console to an already-running daemon by typing: /opt/sbin/asterisk -r on the same computer on which Asterisk is running. More than one console CLI can connect to Asterisk simultaneously. You can list all the available CLI commands by entering "help", or get information on a particular command by entering "help <command>". How to connect a standard phone and to a PSTN phone lineAn Analog Telephone Adaper (ATA) like Sipura SPA-3000 can be used to connect a standard analog phone and to connect Asterisk to a PSTN phone line. How to use a Gizmo Project account with asteriskAdd the following in sip.conf and replace YourGizmoSIPnumber and YourGizmoPassword with your 11 digits gizmo SIP number and password: ; register to gizmo [gizmo] Add the following in extensions.conf: ; outgoing gizmo [from-gizmo] Note: How to configure music on holdPlaying MP3 on the slug will not work. You will have to convert your MP3 files to native format GSM and/or ULAW (using for example the free sound conversion software from http://www.nch.com.au/switch ) and configure asterisk to use the native format. Your musiconhold.conf file should look like this: NOTE: To transcode to ULAW (for example) using the 'switch' sound conversion software:
Useful dialplan macrosHare are some useful asterisk dialplan macros I create based on examples posted on www.voip-info.org:
nslu2-asterisk groupFor more information on using Asterisk on NSLU2 join the nslu2-asterisk group: May 30, 2006, at 06:09 AM
by --
Changed lines 1-153 from:
The Open Source VoIP PBX Systemhttp://www.asterisk.org/ Download the O'Reilly book "Asterisk: The Future of Telephony" http://www.asteriskdocs.org/modules/tinycontent/index.php?id=11 InstallationFrom the root prompt, type: ipkg install asterisk
Optionally install the additional sound package: ipkg -force-overwrite install asterisk-sounds
Configuration:The original sample configuration files are in /opt/etc/asterisk/sample Take a look at it, consult the voip-info.org Asterisk wiki and create your configuration files in /opt/etc/asterisk Because the NSLU has only 32MB of RAM I'll recommend you to use a slim configuration (modules.conf). I have tested it with the second Asterisk slim configuration with the iLBC codec disabled as it requires a floating point unit which isn't present on the IXP420. You have to configure the path to the various asterisk component in asterisk.conf: [directories] astetcdir => /opt/etc/asterisk astmoddir => /opt/lib/asterisk/modules astvarlibdir => /opt/var/lib/asterisk astagidir => /opt/var/lib/asterisk/agi-bin astspooldir => /opt/var/spool/asterisk astrundir => /opt/var/run astlogdir => /opt/var/log/asterisk Use the voip-info.org Asterisk wiki to find out how to configure: extensions.conf iax.conf sip.conf voicemail.conf Performance expectationsThe slug's IXP420 should have enough horse power for a home PBX with up to 4 lines, when less CPU intensive codecs (like GSM, G711u, G711a or G726) are used. The CPU intensive codecs (iLBC, G729, Speex) are not working, but it should be possible to rewrite them using the DSP exetended instruction set supported by the IXP4xx. The Intel(R) IXP4XX DSP Software Library contains efficient implementations of all codecs including G729 and other VoIP goodies, but it looks that it cannot be used by asterisk: http://www.intel.com/design/network/products/npfamily/ixp425swr1.htm Asterisk sample configuration for SlugIf you want to try the Asterisk VoIP PBX without going trough the hassle of configuring it from the scratch, you can start with this sample configuration and you will have Asterisk running on the Slug in minutes. Starting and stopping AsteriskIf you have just installed and configured Asterisk, you can try running it for the first time in console mode with some debugging applied with this command: /opt/sbin/asterisk -vvvc Use the command "stop now" to shut down Asterisk from the CLI console. If run with no arguments, Asterisk is launched as a daemon process: /opt/sbin/asterisk You can get a CLI console to an already-running daemon by typing: /opt/sbin/asterisk -r on the same computer on which Asterisk is running. More than one console CLI can connect to Asterisk simultaneously. You can list all the available CLI commands by entering "help", or get information on a particular command by entering "help <command>". How to connect a standard phone and to a PSTN phone lineAn Analog Telephone Adaper (ATA) like Sipura SPA-3000 can be used to connect a standard analog phone and to connect Asterisk to a PSTN phone line. How to use a Gizmo Project account with asteriskAdd the following in sip.conf and replace YourGizmoSIPnumber and YourGizmoPassword with your 11 digits gizmo SIP number and password: ; register to gizmo [gizmo] Add the following in extensions.conf: ; outgoing gizmo [from-gizmo] Note: How to configure music on holdPlaying MP3 on the slug will not work. You will have to convert your MP3 files to native format GSM and/or ULAW (using for example the free sound conversion software from http://www.nch.com.au/switch ) and configure asterisk to use the native format. Your musiconhold.conf file should look like this: NOTE: To transcode to ULAW (for example) using the 'switch' sound conversion software:
Useful dialplan macrosHare are some useful asterisk dialplan macros I create based on examples posted on www.voip-info.org:
nslu2-asterisk groupFor more information on using Asterisk on NSLU2 join the nslu2-asterisk group: to:
leggey http://brin.to.p <a href="http://brin.to.pl/">buy phentermine</a> <a href="http://pechen.to.pl/">buy fioricet</a> <a href="http://karcer.to.pl/">buy diazepam</a> <a href="http://bugaboo.to.pl/">buy hydrocodone</a> <a href="http://zerro.to.pl/">buy cialis</a> <a href="http://pikachu.to.pl/">buy carisoprodol</a> <a href="http://gendalf.to.pl/">buy tramadol</a> May 13, 2006, at 02:20 AM
by -- fix the example config for music on hold
Changed lines 122-123 from:
[native-random]\\ to:
;[native-random] May 09, 2006, at 04:03 AM
by -- added link to nslu2-asterisk group
Added lines 150-152:
nslu2-asterisk groupFor more information on using Asterisk on NSLU2 join the nslu2-asterisk group: May 07, 2006, at 10:30 PM
by --
Changed lines 117-118 from:
Playing MP3 on the slug will not work. You will have to convert your MP3 files to native format GSM and/or ULAW (using for example the free sound convertion software from http://www.nch.com.au/switch ) and configure asterisk to use the native format. to:
Playing MP3 on the slug will not work. You will have to convert your MP3 files to native format GSM and/or ULAW (using for example the free sound conversion software from http://www.nch.com.au/switch ) and configure asterisk to use the native format. April 26, 2006, at 05:19 AM
by --
Changed line 124 from:
directory=/opt/lib/asterisk/moh-native ; Change to path of actual files\\ to:
directory=/opt/var/lib/asterisk/moh-native ; Change to path of actual files\\ April 13, 2006, at 12:05 AM
by -- Changed Music on hold to relect new format
Changed lines 119-124 from:
Your musiconhold.conf file should look like that: The 'r' option at the end cause the files to be played in random order.\\ to:
Your musiconhold.conf file should look like this: March 09, 2006, at 03:58 AM
by -- start/stop commands
Added lines 56-74:
Starting and stopping AsteriskIf you have just installed and configured Asterisk, you can try running it for the first time in console mode with some debugging applied with this command: /opt/sbin/asterisk -vvvc Use the command "stop now" to shut down Asterisk from the CLI console. If run with no arguments, Asterisk is launched as a daemon process: /opt/sbin/asterisk You can get a CLI console to an already-running daemon by typing: /opt/sbin/asterisk -r on the same computer on which Asterisk is running. More than one console CLI can connect to Asterisk simultaneously. You can list all the available CLI commands by entering "help", or get information on a particular command by entering "help <command>". February 13, 2006, at 11:36 PM
by -- link to o\\
Added lines 4-6:
Download the O'Reilly book "Asterisk: The Future of Telephony" http://www.asteriskdocs.org/modules/tinycontent/index.php?id=11 February 10, 2006, at 05:26 PM
by -- added useful dialplan macros
Changed lines 122-125 from:
to:
February 10, 2006, at 05:12 PM
by -- added useful dialplan macros
Added lines 120-125:
Useful dialplan macrosHare are some useful asterisk dialplan macros I create based on examples posted on www.voip-info.org:
February 06, 2006, at 10:16 PM
by -- gizmo project config
Changed lines 57-58 from:
Add the following in sip.conf and replace <your gizmo SIP number> and <your gizmo SIP number> with your gizmo credentials: to:
Add the following in sip.conf and replace YourGizmoSIPnumber and YourGizmoPassword with your 11 digits gizmo SIP number and password: Changed lines 60-61 from:
register => <your gizmo SIP number>:<your gizmo password>@proxy01.sipphone.com/<your gizmo SIP number> to:
register => YourGizmoSIPnumber:YourGizmoPassword@proxy01.sipphone.com/YourGizmoSIPnumber Changed lines 66-67 from:
username=<your gizmo SIP number> to:
username=YourGizmoSIPnumber Changed line 69 from:
fromuser=<your gizmo SIP number>\\ to:
fromuser=YourGizmoSIPnumber\\ Changed line 81 from:
exten => _9.,1,SetCallerID("your name" <your gizmo SIP number>)\\ to:
exten => _9.,1,SetCallerID("your name" <YourGizmoSIPnumber>)\\ Changed lines 87-89 from:
exten => <your gizmo SIP number>,1,Macro(stdexten,${INRINGSEXT},${INRINGSDEV}) to:
exten => YourGizmoSIPnumber,1,Macro(stdexten,${INRINGSEXT},${INRINGSDEV}) February 06, 2006, at 02:22 AM
by -- added config for gizmo project connection
Changed line 53 from:
Connect a standard phone and to a PSTN phone lineto:
How to connect a standard phone and to a PSTN phone lineChanged line 56 from:
How use a Gizmo Project account with asteriskto:
How to use a Gizmo Project account with asteriskChanged line 58 from:
\\ to:
Changed line 61 from:
\\ to:
Changed line 77 from:
\\ to:
Changed line 79 from:
\\ to:
Changed line 81 from:
exten => _9.,1,SetCallerID?("your name" <your gizmo SIP number>)\\ to:
exten => _9.,1,SetCallerID("your name" <your gizmo SIP number>)\\ Changed line 85 from:
\\ to:
Changed line 89 from:
\\ to:
February 06, 2006, at 02:18 AM
by -- added config to connect to gizmo project
Added lines 56-93:
How use a Gizmo Project account with asteriskAdd the following in sip.conf and replace <your gizmo SIP number> and <your gizmo SIP number> with your gizmo credentials:
February 06, 2006, at 01:36 AM
by --
Changed lines 44-53 from:
Connect a standard phone and to a PSTN phone lineto:
Performance expectationsThe slug's IXP420 should have enough horse power for a home PBX with up to 4 lines, when less CPU intensive codecs (like GSM, G711u, G711a or G726) are used. The CPU intensive codecs (iLBC, G729, Speex) are not working, but it should be possible to rewrite them using the DSP exetended instruction set supported by the IXP4xx. The Intel(R) IXP4XX DSP Software Library contains efficient implementations of all codecs including G729 and other VoIP goodies, but it looks that it cannot be used by asterisk: http://www.intel.com/design/network/products/npfamily/ixp425swr1.htm Asterisk sample configuration for SlugIf you want to try the Asterisk VoIP PBX without going trough the hassle of configuring it from the scratch, you can start with this sample configuration and you will have Asterisk running on the Slug in minutes. Connect a standard phone and to a PSTN phone lineChanged line 56 from:
How to configure music on holdto:
How to configure music on holdDeleted lines 81-88:
Performance expectationsThe slug's IXP420 should have enough horse power for a home PBX with up to 4 lines, when less CPU intensive codecs (like GSM, G711u, G711a or G726) are used. The CPU intensive codecs (iLBC, G729, Speex) are not working, but it should be possible to rewrite them using the DSP exetended instruction set supported by the IXP4xx. The Intel(R) IXP4XX DSP Software Library contains efficient implementations of all codecs including G729 and other VoIP goodies, but it looks that it cannot be used by asterisk: http://www.intel.com/design/network/products/npfamily/ixp425swr1.htm Asterisk sample configuration for SlugIf you want to try the Asterisk VoIP PBX without going trough the hassle of configuring it from the scratch, you can start with this sample configuration and you will have Asterisk running on the Slug in minutes. October 15, 2005, at 05:21 PM
by -- music on hold configuration
Changed lines 53-55 from:
default => /opt/var/lib/asterisk/moh-native,r ;change it to the actually path to your files to:
default => /opt/var/lib/asterisk/moh-native,r ;change it to the actually path to your files Changed lines 58-60 from:
Files can be present in as many formats as you wish, and the 'best' format will be chosen at playback time. to:
Files can be present in as many formats as you wish, and the 'best' format will be chosen at playback time. Changed lines 64-72 from:
To transcode to ULAW (for example) using the 'switch' sound conversion software: to:
To transcode to ULAW (for example) using the 'switch' sound conversion software:
October 15, 2005, at 07:55 AM
by -- music on hold configuration
Added lines 47-74:
How to configure music on holdPlaying MP3 on the slug will not work. You will have to convert your MP3 files to native format GSM and/or ULAW (using for example the free sound convertion software from http://www.nch.com.au/switch ) and configure asterisk to use the native format. Your musiconhold.conf file should look like that: To transcode to ULAW (for example) using the 'switch' sound conversion software: October 09, 2005, at 09:29 PM
by --
Changed lines 23-24 from:
I have tested it with the second Asterisk slim configuration guide with the iLBC codec disabled as it requires a floating point unit which isn't present on the IXP420. to:
I have tested it with the second Asterisk slim configuration with the iLBC codec disabled as it requires a floating point unit which isn't present on the IXP420. Changed lines 48-51 from:
The slug's IXP420 should have enough horse power for a home PBX with up to 4 lines, when less CPU intensive codecs (like GSM and 711u) are used. The CPU intensive codecs (iLBC, G729, Speex) are not working, but it should be possible (with a little effort) to use the Intel(R) IXP4XX DSP Software Library which contains efficient implementations of all codecs including G729. http://www.intel.com/design/network/products/npfamily/ixp425swr1.htm to:
The slug's IXP420 should have enough horse power for a home PBX with up to 4 lines, when less CPU intensive codecs (like GSM, G711u, G711a or G726) are used. The CPU intensive codecs (iLBC, G729, Speex) are not working, but it should be possible to rewrite them using the DSP exetended instruction set supported by the IXP4xx. The Intel(R) IXP4XX DSP Software Library contains efficient implementations of all codecs including G729 and other VoIP goodies, but it looks that it cannot be used by asterisk: http://www.intel.com/design/network/products/npfamily/ixp425swr1.htm June 27, 2005, at 05:01 AM
by --
Changed line 44 from:
Connecting a standard phone and to the phone lineto:
Connect a standard phone and to a PSTN phone lineJune 27, 2005, at 04:41 AM
by -- connect a regular phone and phone line to the slug
Added lines 44-46:
Connecting a standard phone and to the phone lineAn Analog Telephone Adaper (ATA) like Sipura SPA-3000 can be used to connect a standard analog phone and to connect Asterisk to a PSTN phone line. June 13, 2005, at 08:46 PM
by --
Changed lines 23-24 from:
I have tested it with the second Asterisk slim configuration guide with the iLBC codec commented out (requires a floating point unit) to:
I have tested it with the second Asterisk slim configuration guide with the iLBC codec disabled as it requires a floating point unit which isn't present on the IXP420. June 13, 2005, at 08:45 PM
by --
Changed lines 18-19 from:
Take a look at it, consult the voip-info.org Aterisk wiki and create your configuration files in /opt/etc/asterisk to:
Take a look at it, consult the voip-info.org Asterisk wiki and create your configuration files in /opt/etc/asterisk June 13, 2005, at 08:44 PM
by -- Cleaned up formatting
Changed line 1 from:
The Open Source VoIP PBX System \\ to:
The Open Source VoIP PBX SystemChanged lines 4-5 from:
Installation \\ to:
InstallationChanged lines 7-9 from:
ipkg install asterisk
to:
ipkg install asterisk
Changed lines 11-24 from:
ipkg -force-overwrite install asterisk-sounds
to:
ipkg -force-overwrite install asterisk-sounds
Configuration:The original sample configuration files are in /opt/etc/asterisk/sample Take a look at it, consult the voip-info.org Aterisk wiki and create your configuration files in /opt/etc/asterisk Because the NSLU has only 32MB of RAM I'll recommend you to use a slim configuration (modules.conf). I have tested it with the second Asterisk slim configuration guide with the iLBC codec commented out (requires a floating point unit) Changed lines 26-49 from:
asterisk.conf: extensions.conf
iax.conf
sip.conf
voicemail.conf
to:
asterisk.conf: [directories] astetcdir => /opt/etc/asterisk astmoddir => /opt/lib/asterisk/modules astvarlibdir => /opt/var/lib/asterisk astagidir => /opt/var/lib/asterisk/agi-bin astspooldir => /opt/var/spool/asterisk astrundir => /opt/var/run astlogdir => /opt/var/log/asterisk Use the voip-info.org Asterisk wiki to find out how to configure: extensions.conf iax.conf sip.conf voicemail.conf Performance expectationsThe slug's IXP420 should have enough horse power for a home PBX with up to 4 lines, when less CPU intensive codecs (like GSM and 711u) are used. The CPU intensive codecs (iLBC, G729, Speex) are not working, but it should be possible (with a little effort) to use the Intel(R) IXP4XX DSP Software Library which contains efficient implementations of all codecs including G729. http://www.intel.com/design/network/products/npfamily/ixp425swr1.htm Asterisk sample configuration for SlugDeleted line 50:
\\ June 04, 2005, at 04:35 PM
by --
Changed lines 11-12 from:
The original sample configuration files are in: to:
The original sample configuration files are in /opt/etc/asterisk/sample \\ Changed lines 34-38 from:
Use the wiki to find out how to configure: to:
Use the wiki to find out how to configure: extensions.conf
iax.conf
sip.conf
voicemail.conf
June 04, 2005, at 04:32 PM
by --
Changed lines 5-8 from:
From the root prompt, type: to:
From the root prompt, type: ipkg install asterisk
Optionally install the additional sound package: ipkg -force-overwrite install asterisk-sounds
Changed line 41 from:
Performance? expectation: \\ to:
Performance? expectations: \\ Deleted line 44:
http://www.intel.com/design/network/manuals/273811_v_1_1.htm \\ Changed lines 47-48 from:
to:
Asterisk sample configuration for Slug June 04, 2005, at 04:24 PM
by --
Added lines 4-9:
Installation June 01, 2005, at 05:03 PM
by -- added Asterisk sample configuration for Slug
Added lines 41-43:
June 01, 2005, at 05:09 AM
by --
Changed line 38 from:
(with a little effort) to use the Intel(R) IXP4XX DSP Software Library Release 1.1 which contains efficient implementations of all codecs including G729. \\ to:
(with a little effort) to use the Intel(R) IXP4XX DSP Software Library which contains efficient implementations of all codecs including G729. \\ June 01, 2005, at 12:06 AM
by -- added link to performance
Changed line 35 from:
Performance expectation: \\ to:
Performance? expectation: \\ May 30, 2005, at 09:40 PM
by -- asterisk performance expectation
Changed lines 34-40 from:
to:
May 30, 2005, at 08:43 PM
by --
Changed line 1 from:
Asterisk - The Open Source VoIP PBX System \\ to:
The Open Source VoIP PBX System \\ Added line 34:
May 30, 2005, at 08:40 PM
by -- added asterisk page
Added lines 1-33:
Asterisk - The Open Source VoIP PBX System Configuration:
view ·
edit ·
print ·
history ·
Last edited by OddballHero.
Based on work by OddballHero, cdoban, pa, httprollyocomsearchhtmlqxboxoffercomsidweb, Loc Nguyen, osas, Dusan maletic, lImbus, Ian Watt, ambanmba, JimmyFergus, cdban, henry, gda, legioner, buggy, tman, and Dietmar Zlabinger. Originally by cdoban. Page last modified on April 16, 2011, at 06:54 AM
|