Jimmy Ezell
2009-Apr-17 18:47 UTC
[asterisk-users] Here is Step by Step Example of Asterisk PBX System Install and configuration
Our small company is replacing Cisco CallManager with Asterisk (because we are tired of sending them money) and I am documenting the process as I go on my blog. I am trying to make the notes as easy as possible in hopes that I can ease someone else's pain. Here is the link: http://qvlweb.blogspot.com/2009/03/asterisk-pbx-system-install-01-what-i.html Please feel free to comment on the blog, send me email (address is on the site), let me know about corrections, or whatever. I think Asterisk is great but it is not easy for the newbie who is mainly a Windows guy. I hope this helps someone else. I am up to post #4 in the series so far. By the way if I get stuck please give me a hand. If this works out as planned the site may answer many of the common questions that people like me have and that helps take the burden off of everyone. For now no questions but I am sure there will be. Thanks, Jimmy
Doug
2009-Apr-17 19:35 UTC
[asterisk-users] Here is Step by Step Example of Asterisk PBX System Install and configuration
At 13:47 4/17/2009, Jimmy Ezell wrote: >Our small company is replacing Cisco CallManager with Asterisk >(because we are tired of sending them money) and I am documenting the >process as I go on my blog. I am trying to make the notes as easy as >possible in hopes that I can ease someone else's pain. Here is the link: > >http://qvlweb.blogspot.com/2009/03/asterisk-pbx-system-install-01-what-i.html > >Please feel free to comment on the blog, send me email (address is on >the site), let me know about corrections, or whatever. > >I think Asterisk is great but it is not easy for the newbie who is >mainly a Windows guy. I hope this helps someone else. I am up to >post #4 in the series so far. > >By the way if I get stuck please give me a hand. If this works out as >planned the site may answer many of the common questions that people >like me have and that helps take the burden off of everyone. > >For now no questions but I am sure there will be. > >Thanks, > >Jimmy Hey Jimmy, Looks good. You can learn a lot by installing from scratch. Comments: - This is an easier way to install: http://PBXinaFlash.org/ - If you are a Windows guy, why suffer with vi? # yum install nano
Steve Edwards
2009-Apr-17 20:13 UTC
[asterisk-users] Here is Step by Step Example of Asterisk PBX System Install and configuration
On Fri, 17 Apr 2009, Doug wrote:> - If you are a Windows guy, why suffer with vi? > > # yum install nanoWhy learn bad habits :) yum install emacs-nox Thanks in advance, ------------------------------------------------------------------------ Steve Edwards sedwards at sedwards.com Voice: +1-760-468-3867 PST Newline Fax: +1-760-731-3000
Jimmy Ezell
2009-Apr-17 20:56 UTC
[asterisk-users] Here is Step by Step Example of Asterisk PBX System Install and configuration
Thanks Doug, In the system requirements for PBXinaFlash it says that FXO/FXS card is required. I do not have any such hardware on the server (it is on my cisco router). Would this still work for me? Thanks for the advice about nano. I took a UNIX scripting class a long time ago and learned vi. I use it because that is what I know (at least enough to get by). I did add the nano suggestion onto the blog posting. Thanks, Jimmy -----Original Message----- From: Doug [mailto:Doug at NaTel.net] Sent: Friday, April 17, 2009 12:36 PM To: asterisk-users at lists.digium.com Cc: Jimmy Ezell Subject: Re: [asterisk-users] Here is Step by Step Example of Asterisk PBX System Install and configuration At 13:47 4/17/2009, Jimmy Ezell wrote: >Our small company is replacing Cisco CallManager with Asterisk >(because we are tired of sending them money) and I am documenting the >process as I go on my blog. I am trying to make the notes as easy as >possible in hopes that I can ease someone else's pain. Here is the link: > >http://qvlweb.blogspot.com/2009/03/asterisk-pbx-system-install-01-what-i.html > >Please feel free to comment on the blog, send me email (address is on >the site), let me know about corrections, or whatever. > >I think Asterisk is great but it is not easy for the newbie who is >mainly a Windows guy. I hope this helps someone else. I am up to >post #4 in the series so far. > >By the way if I get stuck please give me a hand. If this works out as >planned the site may answer many of the common questions that people >like me have and that helps take the burden off of everyone. > >For now no questions but I am sure there will be. > >Thanks, > >Jimmy Hey Jimmy, Looks good. You can learn a lot by installing from scratch. Comments: - This is an easier way to install: http://PBXinaFlash.org/ - If you are a Windows guy, why suffer with vi? # yum install nano
Steve Edwards
2009-Apr-17 21:33 UTC
[asterisk-users] Here is Step by Step Example of Asterisk PBX System Install and configuration
On Fri, 17 Apr 2009, Jimmy Ezell wrote:> Our small company is replacing Cisco CallManager with Asterisk (because > we are tired of sending them money) and I am documenting the process as > I go on my blog. I am trying to make the notes as easy as possible in > hopes that I can ease someone else's pain. Here is the link:http://qvlweb.blogspot.com/2009/04/asterisk-pbx-system-install-02-os.html What I would have done differently... I would have started with CentOS 5.3. (As I recall, you need to enable extra repos if you want PHP5 or MySQL5 on 4.x.) You only need the first CD for a minimal server install. I would have done a text install. It's not as pretty, but it seems "quicker" to me. I would have created the disk partitions as ext3. I'm not a fan of LVM. It always seems to get in my way if I need to move a drive to another server or do some sort of recovery. I would have enabled the firewall and I look forward to what you plan to do to enhance security. A hacked telephony server (particularly if you have TDM interfaces) can run up a rather nasty phone bill. At least with VOIP you have the option of "pay as you go" so your exposure is limited. I would do a minimal install -- deselect everything. After the host is up, I run a script to install only the packages I need/want/expect to be there. http://qvlweb.blogspot.com/2009/04/asterisk-pbx-system-install-03-software.html "sybolic" is spelled "symbolic." "SMP" stands for "symmetric multiprocessing." http://qvlweb.blogspot.com/2009/04/asterisk-pbx-system-install-04-pbx-test.html "I like to use vi because it is a common editor" should be "I suffer with vi because I never learned to use a real editor like emacs" --- ducking quickly :) Thanks in advance, ------------------------------------------------------------------------ Steve Edwards sedwards at sedwards.com Voice: +1-760-468-3867 PST Newline Fax: +1-760-731-3000
Steve Edwards
2009-Apr-17 21:41 UTC
[asterisk-users] Here is Step by Step Example of Asterisk PBX System Install and configuration
On Fri, 17 Apr 2009, Jimmy Ezell wrote:> I took a UNIX scripting class a long time ago and learned vi. I use it > because that is what I know (at least enough to get by)."The mark of a craftsman is how well he knows his tools." Most coders learn "just enough to get by" not realising their productivity and the quality of their product improves when they learn all of the tools in the box well. Thanks in advance, ------------------------------------------------------------------------ Steve Edwards sedwards at sedwards.com Voice: +1-760-468-3867 PST Newline Fax: +1-760-731-3000
Tilghman Lesher
2009-Apr-17 22:31 UTC
[asterisk-users] Here is Step by Step Example of Asterisk PBX System Install and configuration
On Friday 17 April 2009 16:33:21 Steve Edwards wrote:> "I like to use vi because it is a common editor" should be "I suffer with > vi because I never learned to use a real editor like emacs" --- ducking > quickly :)Emacs is a nice operating system, but it lacks a decent editor. :-P -- Tilghman
Dave Walker
2009-Apr-17 23:43 UTC
[asterisk-users] Here is Step by Step Example of Asterisk PBX System Install and configuration
<html><body><span style="font-family:Verdana; color:#000000; font-size:10pt;"><br>I have never been on a mailing list where this debate has not come up. It still makes me laugh after 20+ years of technology work. <br><br><br> <blockquote webmail="1" style="border-left: 2px solid blue; margin-left: 8px; padding-left: 8px; font-size: 10pt; color: black; font-family: verdana;"> <div > Most coders learn "just enough to get by" not realising their productivity <br> and the quality of their product improves when they learn all of the tools <br> in the box well.<br> </div> </blockquote></span></body></html>
Edwin Lam
2009-Apr-18 00:37 UTC
[asterisk-users] Here is Step by Step Example of Asterisk PBX System Install and configuration
Tilghman Lesher wrote:> On Friday 17 April 2009 16:33:21 Steve Edwards wrote: >> "I like to use vi because it is a common editor" should be "I suffer with >> vi because I never learned to use a real editor like emacs" --- ducking >> quickly :) > > Emacs is a nice operating system, but it lacks a decent editor. :-Pforget about all these editors.. TECO is the Sh*t. -- Edwin Lam <edwin.lam at officegeneral.com> Systems Engineer, Office General, Inc. Ph: +1 415 439 4988 Fax: +1 415 283 3370 http://pgpkeys.mit.edu:11371/pks/lookup?op=get&search=0xD6506D20
David Backeberg
2009-Apr-18 01:20 UTC
[asterisk-users] Here is Step by Step Example of Asterisk PBX System Install and configuration
On Fri, Apr 17, 2009 at 2:47 PM, Jimmy Ezell <jezell at hmhca.com> wrote:> Our small company is replacing Cisco CallManager with Asterisk (because we are tired of sending them money) and I am documenting the process as I go on my blog. ?I am trying to make the notes as easy as possible in hopes that I can ease someone else's pain. ?Here is the link: > > http://qvlweb.blogspot.com/2009/03/asterisk-pbx-system-install-01-what-i.htmlMy only suggestions if you're starting from scratch... * go ahead and start with asterisk-1.6 and dahdi. asterisk-1.4 and zaptel are feature-frozen. I would also second the notion of going with CentOS 5 as opposed to CentOS 4. If the whole point of your upgrade is to avoid having to do another upgrade it would be a good idea to use newest current versions of the software in question.
jonas kellens
2009-Apr-18 09:32 UTC
[asterisk-users] Canreinvite=yes // native bridging // 2 sip channels with different Call-ID
I have 2 SIP-clients defined in my sip.conf : [GXP1200] type=friend context=intern host=dynamic username=GXP1200 secret=testpaswoord canreinvite=yes [BT201] type=friend context=intern host=dynamic username=BT201 secret=testpaswoord canreinvite=yes When I make a call from one to another this is displayed on the CLI : -- Executing [210 at intern:1] Dial("SIP/GXP1200-093900c8", "SIP/BT201|30") in new stack -- Called BT201 -- SIP/BT201-09395070 is ringing -- SIP/BT201-09395070 answered SIP/GXP1200-093900c8 -- Native bridging SIP/GXP1200-093900c8 and SIP/BT201-09395070>From voip-info.org I understand that 'canreinvite' means that theSIP-client will re-invite the other client, so that Asterisk is no longer in the path... This is indicated on the CLI with 'native bridging'. Then why are there 2 sip-channels with a different Call-ID ? The output shows that Asterisk is still in between ! asterisk*CLI> sip show channels Peer User/ANR Call ID Seq (Tx/Rx) Format Hold Last Message 192.168.x.x GXP2020 4684b544470 00103/00000 0x4 (ulaw) No Tx: ACK 192.168.x.x BT201 1212e00ffa1 00102/43234 0x4 (ulaw) No Tx: ACK 2 active SIP channels Is there something that I misunderstand here ?? Thanks for the feedback on this ! Greetingz, Jonas. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20090418/304fea4f/attachment.htm
Tzafrir Cohen
2009-Apr-18 10:12 UTC
[asterisk-users] Here is Step by Step Example of Asterisk PBX System Install and configuration
CentOS 4.x is naturally a bit old and hence quite pointless for a new install. I personally prefer Debian. Especially if you have to mess with anything to do with kernel modules building. RHEL / CentOS are not well-suited for that. Debian actually try to keep a stable interface for out-of-tree modules and not every kernel upgrade requires a complete rebuild. Not to mention that packages are available from a single source and you don't have to hunt three different places (with three different policies for stability) to get them. A basica installation: 1. Install Debian (http://debian.org/releases/stable/installmanual , but generally just get a netboot CD and install it). 2. Run as root: aptitude install asterisk zaptel-source kernel-headers-`uname -r` m-a a-i zaptel # if you don't have hardware: /etc/init.d/zaptel restart /etc/init.d/asterisk restart You can install from source if you really like. Something along the lines of: apt-get build-dep asterisk And now follow the standard instructions for building from source. You should basically have all the required packages. -- Tzafrir Cohen icq#16849755 jabber:tzafrir.cohen at xorcom.com +972-50-7952406 mailto:tzafrir.cohen at xorcom.com http://www.xorcom.com iax:guest at local.xorcom.com/tzafrir
Grygoriy Dobrovolskyy
2009-Apr-18 10:28 UTC
[asterisk-users] Here is Step by Step Example of Asterisk PBX System Install and configuration
On the last page http://qvlweb.blogspot.com/2009/04/asterisk-pbx-system-install-04-pbx-test.html there is a small screen, number 3 from bottom, looks like you are editing "exgensions.conf" not extensions.conf. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20090418/976cf174/attachment.htm
Philipp Kempgen
2009-Apr-18 13:51 UTC
[asterisk-users] [OT] Re: Here is Step by Step Example of Asterisk PBX System Install and configuration
Steve Edwards schrieb:> On Fri, 17 Apr 2009, Doug wrote: > >> - If you are a Windows guy, why suffer with vi? >> >> # yum install nano > > Why learn bad habits :) > > yum install emacs-noxaptitude install vim Or rather aptitude install ssh nfs-kernel-server and then get a Mac with TextWrangler/TextMate. :-P Philipp Kempgen -- AMOOCON 2009, May 4-5, Rostock / Germany -> http://www.amoocon.de Asterisk: http://the-asterisk-book.com - http://das-asterisk-buch.de AMOOMA GmbH - Bachstr. 126 - 56566 Neuwied -> http://www.amooma.de Gesch?ftsf?hrer: Stefan Wintermeyer, Handelsregister: Neuwied B14998 --
On Sun, Apr 19, 2009 at 05:17:38PM +0200, jonas kellens wrote:> VoIP-wiki.org states : > > Digium resources http://www.asterisk.org/zaptel-to-dahdi > /etc/zaptel.conf Becomes /etc/dahdi/system.conf > /etc/asterisk/zapata.conf Becomes /etc/asterisk/chan_dahdi.conf > > Now, what do I have installed on my system : > > /etc/zaptel.conf and /etc/asterisk/chan_dahdi.conf > > Will these two config-files work together ??? > > I have no /etc/asterisk/zapata.conf and no /etc/dahdi/system.conf > > Do I create an empty zapata.conf ?? > > I also do not have /usr/lib/asterisk/modules/chan_zap.so !! > > My Asterisk-version : 1.4.24If you built Asterisk with DAHDI support . Should still work on 1.4.x , for x>= 22 . -- Tzafrir Cohen icq#16849755 jabber:tzafrir.cohen at xorcom.com +972-50-7952406 mailto:tzafrir.cohen at xorcom.com http://www.xorcom.com iax:guest at local.xorcom.com/tzafrir
Jimmy Ezell
2009-Apr-20 18:23 UTC
[asterisk-users] Here is Step by Step Example of Asterisk PBX System Install and configuration
Perhaps my thinking on this issue is wrong. Do we need to keep up with all the latest upgrades? I am thinking to install this thing and let it run for a long time (I would hope with very little need to touch it.) We are not a feature hungry shop, just looking for basic phone system for 60 people that works for a reasonable cost. I was using the older software because I wanted to follow the documentation in the book as close as possible to maximize the benefit of using the book. Once I feel like I know what I am doing I can do another install with latest software and update my tutorial. Jimmy ----------- Date: Fri, 17 Apr 2009 21:20:34 -0400 From: David Backeberg <dbackeberg at gmail.com> Subject: Re: [asterisk-users] Here is Step by Step Example of Asterisk PBX System Install and configuration To: Asterisk Users Mailing List - Non-Commercial Discussion <asterisk-users at lists.digium.com> Message-ID: <3de056a30904171820x5f67217fp2b469bd312193548 at mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1 On Fri, Apr 17, 2009 at 2:47 PM, Jimmy Ezell <jezell at hmhca.com> wrote:> Our small company is replacing Cisco CallManager with Asterisk (because we are tired of sending them money) and I am documenting the process as I go on my blog. ?I am trying to make the notes as easy as possible in hopes that I can ease someone else's pain. ?Here is the link: > > http://qvlweb.blogspot.com/2009/03/asterisk-pbx-system-install-01-what-i.htmlMy only suggestions if you're starting from scratch... * go ahead and start with asterisk-1.6 and dahdi. asterisk-1.4 and zaptel are feature-frozen. I would also second the notion of going with CentOS 5 as opposed to CentOS 4. If the whole point of your upgrade is to avoid having to do another upgrade it would be a good idea to use newest current versions of the software in question.