Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Tue 23 Sep 2014, 16:36
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Business
Asterisk telephone PBX (and more)
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 2 [17 Posts]   Goto page: 1, 2 Next
Author Message
jza

Joined: 17 Nov 2006
Posts: 22
Location: GDL

PostPosted: Tue 23 Jan 2007, 17:16    Post subject:  Asterisk telephone PBX (and more)
Subject description: anyone tried it on Puppy?
 

I did a quick search before asking but didnt found much info about it. So the question is, has anyone been able to run Asterisk on puppy.

I got some of those cool norhtec MicroClient and I wonder if I can have an asterisk server with it. I am not sure if I can download compilers and all that from pup since I just havent tried it enough but I hope this is possible.

please anyone comment on having this setup.

_________________
Puppy on a MicroClient Jr
Back to top
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger MSN Messenger 
ICQ Number 
rarsa


Joined: 29 May 2005
Posts: 3053
Location: Kitchener, Ontario, Canada

PostPosted: Wed 24 Jan 2007, 01:29    Post subject:  

The question that comes to mind is WHY?

If you plan to have an asterix box the best route is to install trixbox.

_________________
http://rarsa.blogspot.com Covering my eclectic thoughts
http://www.kwlug.org/blog/48 Covering my Linux How-to
Back to top
View user's profile Send private message Visit poster's website 
phizone

Joined: 13 Dec 2006
Posts: 4

PostPosted: Wed 24 Jan 2007, 11:52    Post subject:  

I had the 1.2 branch of asterisk working on puppy 2.10. The 1.4 branch should be easier to package, since you can use a install prefix when building. If you want the conferencing to work, the zaptel kernel modules must be available to use for timing. After I read the new docs on petgets, I'll see if I can package 1.4 for puppy.

As for why one would want a live distro running asterisk, there are several reasons. Droops and I have been working on the slast distro for a while and we've found it a handy way to show off the features of asterisk by simply booting the disk and using some scripts we wrote to save/restore the configs via (s)ftp. In a matter of minutes, you can have your pbx up and running at a remote site and be able to send and receive calls as normal. Also, as compared to trixbox, it has the advantage of forcing you to understand how the asterisk configs work and gives you much more flexibility in your dialplan in the long run.
Back to top
View user's profile Send private message Visit poster's website 
rarsa


Joined: 29 May 2005
Posts: 3053
Location: Kitchener, Ontario, Canada

PostPosted: Wed 24 Jan 2007, 12:42    Post subject:  

phizone wrote:
Also, as compared to trixbox, it has the advantage of forcing you to understand how the asterisk configs work and gives you much more flexibility in your dialplan in the long run.
Actually my question was directly related to this.

My impression is that Asterix configuration is not a cup of tea and that Trixbox provides utilities to simplify the administration.

Of course I've just got my information from reading and a couple of local Linux users group's presentations. I have not set it up.

Thank you for clarifying one of the purposes. I was just thinking from the end user point of view.

Regards.

_________________
http://rarsa.blogspot.com Covering my eclectic thoughts
http://www.kwlug.org/blog/48 Covering my Linux How-to
Back to top
View user's profile Send private message Visit poster's website 
Flash
Official Dog Handler


Joined: 04 May 2005
Posts: 11072
Location: Arizona USA

PostPosted: Wed 24 Jan 2007, 13:22    Post subject:  

Would someone please explain what Asterix, or Asterisk or whatever it's called, does? Is it a server program or what? What is it used for?
Back to top
View user's profile Send private message 
rarsa


Joined: 29 May 2005
Posts: 3053
Location: Kitchener, Ontario, Canada

PostPosted: Wed 24 Jan 2007, 15:26    Post subject:  

Quote:
Asterisk is a complete PBX in software. It runs on Linux, BSD, Windows and OS X and provides all of the features you would expect from a PBX and more. Asterisk does voice over IP in four protocols, and can interoperate with almost all standards-based telephony equipment using relatively inexpensive hardware.
PBX=Private branch exchange.

In some places they call it commuter.

It is the box that sits in front of all the phones in an office that routes calls to the appropriate extension.

Of course modern PBX systems do more than that such as recording voicemail, recording calls, providing menu driven information (for customer service please press 1... etc)

That's asterix.

_________________
http://rarsa.blogspot.com Covering my eclectic thoughts
http://www.kwlug.org/blog/48 Covering my Linux How-to
Back to top
View user's profile Send private message Visit poster's website 
phizone

Joined: 13 Dec 2006
Posts: 4

PostPosted: Thu 25 Jan 2007, 01:13    Post subject:  

Since I love asterisk I wanted to add a bit more info to this. Smile

Trixbox is very cool and probably a good way to get started with asterisk. For most end users it will probably meet their needs fine in the long term. Writing your own configs/dialplans does have a steep learning curve at first, but it's not too bad after the first couple of weeks.

As a quick intro to asterisk for the uninitiated, as rarsa said at it's core it's just a phone switch in software. It has voicemail, call queues, music on hold, conferencing, call monitoring and recording, message waiting indication, text to speech, and several other nice features. The best thing about it though is that it supports running scripts in response to dialed inputs which means you can build applications to suit your needs. For instance, you can fairly easily build a script and dialplan to implement an automated wake-up call. Or create a small app that will tie into X10 applications and let you call home and dial an extension and passcode to turn on your front porch light or adjust the thermostat before you get there. There are also functions to push and pull data from a sql database, so the options really are endless.

For those interested here are some great resources:
Asterisk website: http://asterisk.org
Asterisk section of a great voip wiki: http://www.voip-info.org/wiki/index.php?page=Asterisk
Asterikast video blogs: http://www.asterikast.com/modules.php?name=Downloads&d_op=viewdownload&cid=7

Sorry if I get too excited about it, but I really think asterisk is a killer app in the same vein as apache or mysql...
Back to top
View user's profile Send private message Visit poster's website 
Flash
Official Dog Handler


Joined: 04 May 2005
Posts: 11072
Location: Arizona USA

PostPosted: Thu 25 Jan 2007, 01:42    Post subject:  

Thank you. Smile
Back to top
View user's profile Send private message 
JohnMc

Joined: 07 Apr 2006
Posts: 118

PostPosted: Fri 26 Jan 2007, 13:29    Post subject:  

But Wait there is more!! For...

Not only is Asterisk a pbx but it can be an entire interbranch exchange environment via their IAX protocol. Simply put a far flung enterprise in mulitple cities could set up private prefixes so that a call from Dallas to Chicago could be programmed as *54 (for Chicago) and then the internal Nxx station ID. And it still be treated as a local call.

I have only fooled with it a little but it's powerful stuff. With the right hardware you too could be the next HSC!
Back to top
View user's profile Send private message 
jza

Joined: 17 Nov 2006
Posts: 22
Location: GDL

PostPosted: Fri 26 Jan 2007, 14:00    Post subject: ahem...  

ahem.... english please Laughing

interbranch exchange environment?....IAX protocol?....far flung enterprise?....private prefixes?....internal Nxx station ID?...Dallas?

somewhere along those lines I got you mentioning asterisk and chicago. For the rest I didn't know what you were talking about.

_________________
Puppy on a MicroClient Jr
Back to top
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger MSN Messenger 
ICQ Number 
rarsa


Joined: 29 May 2005
Posts: 3053
Location: Kitchener, Ontario, Canada

PostPosted: Fri 26 Jan 2007, 14:21    Post subject: Re: ahem...  

jza wrote:
For the rest I didn't know what you were talking about.
A phone system with all the features that a big company or hotel phone system has.

You could have several Voip phone numbers ($2.50 per month each) and you and each of your children (or parents) could have their own phone number with voice mail and etc.

Or if you have a company, even if it is a one person company, you could have a phone system with a menu that says "welcome to jza industries, for techincal support press one... etc"

Or maybe you route your office number and your cell phone so when you are not at home, the right phone would ring.

Etc. I hope you get the idea, if not, go to the trixbox home page.

_________________
http://rarsa.blogspot.com Covering my eclectic thoughts
http://www.kwlug.org/blog/48 Covering my Linux How-to
Back to top
View user's profile Send private message Visit poster's website 
jza

Joined: 17 Nov 2006
Posts: 22
Location: GDL

PostPosted: Fri 26 Jan 2007, 15:43    Post subject:  

ok I got that.

Sorry I don't speak TELCO Wink

_________________
Puppy on a MicroClient Jr
Back to top
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger MSN Messenger 
ICQ Number 
jinxed

Joined: 27 Feb 2007
Posts: 10

PostPosted: Tue 27 Feb 2007, 20:35    Post subject:  

phizone wrote:
I had the 1.2 branch of asterisk working on puppy 2.10. The 1.4 branch should be easier to package, since you can use a install prefix when building. If you want the conferencing to work, the zaptel kernel modules must be available to use for timing. After I read the new docs on petgets, I'll see if I can package 1.4 for puppy.


I've tried (unsuccessfully) to complile both the latest 1.2 and 1.4 (stable) branches of asterisk. the first problem I encountered was easily fixable (asterisk expects awk to be in /usr/bin/). The second error I can't seem to resolve. The compile fails while compiling editline with a very non-descriptive error message. I believe it is possibly having problems finding the termcap headers.

Can you give me some guidance on how to compile asterisk for puppy?
Back to top
View user's profile Send private message 
woodeye18

Joined: 01 Oct 2005
Posts: 16
Location: Southern California

PostPosted: Mon 16 Apr 2007, 22:07    Post subject:  

In the spirit of small and lightweight apps, I have loaded Astlinux on a thumbdrive and booted it up first time, no probs....but! [big but]...astlinux is a stripped down version of asterisk that is so small and text based, that you would have to know how to hand edit lots of config files and know asterisk quite well to get it to make and receive calls. (unlike trixbox).

It would be great if you had the stripped down source for the astlinux (minus their linux kernel) and could add it to puppy.

http://www.astlinux.org/
Back to top
View user's profile Send private message Yahoo Messenger 
timothyli

Joined: 22 Jun 2008
Posts: 64
Location: Toronto, Canada

PostPosted: Fri 06 Jan 2012, 16:00    Post subject: asterisk pbx on puppy
Subject description: asterisk pbx on puppy
 

I have searched for this topic on the web but could not find much. (Through trial and error), here are the steps I came up with to successfully install Asterisk 10 (latest) on an old Acer AspireOne netbook with 1G RAM and a 8G SSD, and make it a useful VOIP pbx box so I can have free Canada/US incoming and outgoing calls through Google Voice and freephoneline.ca as Trunks. The Atom CPU-based netbook is perfect as a pbx appliance because it does not generate much heat or consume much electricity even if it is on all the time.

1. Frugal install Puppylinux 5.2.8 (or your favourite flavour/version of Puppy) with devx.sfs loaded on the netbook so it can compile programs from source
2. Download iksemel source from http://code.google.com/p/iksemel, and extract source to a temporary folder (iksemel is needed to set up Google Voice Trunk)
3. Create a /usr/bin/libgnutls-config file to fix a iksemel compile issue (see http://code.google.com/p/iksemel/issues/detail?id=29); chmod +x /usr/bin/libgnutls-config
4. cd to the iksemel folder
5. ./configure --with-libgnutls-prefix=/usr --prefix=/usr
6. make && make install [iksemel is now installed]
7. Download Asterisk 10 source from http://www.asterisk.org/downloads
8. Extract source to a temporary folder
9. cd to the asterisk folder
10. ./configure --prefix=/usr
11. make menuselect (a menu will come up)
12. make sure channel gtalk and resource jabber are checked; also check optional sound in ulaw
13. make
14. make install
15. make samples (Asterisk 10 should be installed)
16. To make asterisk start up automatically on boot, add this line to /etc/rc.d/rc.local: /usr/sbin/safe_asterisk
17. To connect to a running asterisk, type asterisk -vvvvvvvvcr in a terminal
18 install openssh in puppy so it can be managed remotely
19. setup puppy firewall to allow (only) 22/tcp, 4569/udp, 5060/udp, 5222/tcp, 10000-20000/udp
20. set up port forward in router (22/tcp, 4569/udp, 5060/udp, 5222/tcp, 10000-20000/udp) for outside to reach the pbx
21. I'll share my asterisk config for a simple home telephone system using 2 trunks (Google Voice and freephoneline.ca) in the next post. Using this setup, I can make/receive free calls via my Android smartphone (or iphone for that matter) over mobile data/wifi without using up my mobile minutes.

I hope someone would find this useful. Comments/feedback is welcome.

Last edited by timothyli on Mon 23 Apr 2012, 13:03; edited 2 times in total
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 2 [17 Posts]   Goto page: 1, 2 Next
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Business
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0933s ][ Queries: 11 (0.0038s) ][ GZIP on ]