50 Great Halftime Projects Using Your Free Asterisk@Home PBX

This article has been updated. Go to this link for the most recent version.

Be Sociable, Share!
  • spacer

spacer

  • Tweet

Posted in Technology, Telephony by ward, Saturday, February 4, 2006 1:00 am

18 Responses to “50 Great Halftime Projects Using Your Free Asterisk@Home PBX”

  1. spacer Millard says:
    Tuesday, December 6, 2005 at 9:37 am

    Thank you for a fantastic tutorial. Thanks to your help, I got Asterisk running in about a day I have tried other tutorials and been lost. This one was easy enough for a non-linux person to clearly understand!

  2. spacer Matthew says:
    Wednesday, December 7, 2005 at 1:34 am

    Fantastic work. It just makes you want more. One small issue with setting up receiving faxes. It just seems to lock up the port??

    [WM: A better fax solution is coming as soon as we get through this upgrade phase. Hang in there and thanks.]

  3. spacer jeremy says:
    Sunday, December 11, 2005 at 5:01 pm

    Mr. Mundy,
    Your AAH info is bar none, the best. Better than the @home handbook, better than the sourceforge forums… practical info all the way. I’ve setup one home server in my office using a Via-based machine from SolarPC, www.solarpc.com . Nice guys . I am getting ready to setup another machine, and would like to install AAH on a compact flash HD solid state . How big is your fullest featured AAH install in MB? I’m thinking that 2 gb should be enough, but if I can do it in 1gb, I save $30ish. I’m not planning on storing any voicemail on the box, and I’d like to work with a vanilla install to totally avoid any hacks to make it smaller. Thanks for the help!
    Mahalo,
    Jeremy

    [WM: Thanks for the kind words. I'm anxious to try something similar to what you want to do except I want to use the little devices for proximity detection. I think you'll need 2GB... at least for the first one. But take a look at gumstix. You could easily do it with 1GB or maybe even 512MB using their Linux OS.]

  4. spacer Jeremy says:
    Monday, December 26, 2005 at 9:12 pm

    Update to the Compact Flash install attempt… I purchased a 2 gb CF card and proceeded to install AAH. No success. Full install of AAH 1.8 was 1.6 gb. Full install of AAH 2.ish is 1.8 GB. The AAH installer needs more overhead. Found the following “www.voip-info.org/wiki/view/Asterisk+at++Home” which mentions that 4gb is the minimum HD size. Off to purchase a 4 GB card as I’d like this to “Just Work ™” and not have to fuss with Damnsmall or Puppy linux (tho I am interested).

    [WM: Just a thought. You could build the AAH system on a regular hard disk and then clone that disk to the 2GB CF card using rsync.]

  5. spacer Jorge Simon says:
    Tuesday, December 27, 2005 at 6:44 am

    A nice version of asterisk working with everithing, like firewall, web interface, and many options is astilinux, you can setup it in 32mb flash plus 128mb USB. Its pretty nice. Take a look on www.astlinux.com

  6. spacer Joe Butler says:
    Saturday, January 14, 2006 at 5:09 pm

    Ward, Thank you so much for all of your articles on Asterisk@Home. I have enjoyed setting up my asterisk box. I seem to have everything working except one thing. I have just set up my PSTN line with a Sipura SPA-3000. Your instructions were great. I would like to use the *3xx function of AAH 2.2 to tell me what number is stored in a speed dial location. When I use the SPA-3000 phone to enter *3xx, I get a busy signal. I tried to add *3xx to the dial plan, but that does not do anything. Any help would be greatly appreciated.

    [WM: Log in as Admin and look in the Regional tab for entries beginning with *3. Blank them out, and you should be good to go.]

  7. spacer Joe Kane says:
    Tuesday, January 17, 2006 at 8:17 am

    Excellent articles so far Ward, Is there any chance of doing an install guide for Asterisk CDR Areski GUI. Cant seem to find one anywhere.

    www.voip-info.org/wiki/index.php?page=Asterisk+CDR+Areski+GUI

    Thanks,

  8. spacer austin says:
    Tuesday, January 17, 2006 at 7:03 pm

    these two links appear to have gone screwy…i checked a bunch before and after… (but not all) and it appears to be throwing an extra mundy.org/blog into each of the url’s

    hth,

    austin

    Configuring the Sipura SPA-3000 for Asterisk

    Telephone Instruments

    [WM: Fixed. There was a missing http in both places. Thanks.]

  9. spacer sk says:
    Tuesday, January 24, 2006 at 3:47 am

    thnaks for all the great tutorials for idiot me.
    planning to put anything about oh323 config guide? or can you point me to one?

  10. spacer BIR says:
    Saturday, February 11, 2006 at 12:32 am

    Great training and general blog detail! Congratulations – best I have seen out there by far! Have played and impressed with *home’s operation. Have you evaluated Voicetronix Open Switch cards… www.voicetronix.com/hda.htm ??? I like the ability of the card to drop to safe operation when loss of hardware watchtimer detects system apparent non-functioning. Any information appreciated.

  11. spacer Ken Wiebe says:
    Tuesday, February 14, 2006 at 3:15 pm

    I first downloaded AAH last summer, signed up with Broadvoice, and proceeded to pull my hair out trying to get things to work. After a few months, I wound up shelving the project – until recently, after finding NerdVittles. After working up the courage, I reinstalled AAH and signed up with Telasip per your instructions here. Worked first time. Finding NerdVittles (and ditching Broadvoice) have made all the difference and have restored my faith in this technology. Thanks!

    [WM: Yeah, BroadVoice was one of our favorite providers once upon a time. But that was before all the talent left the company. This is now. Too bad!]

  12. spacer Lionscribe says:
    Monday, February 20, 2006 at 6:55 pm

    Thanks for your instructions for setting up the voip fax.
    Well, I do have a slightly simpler and more powerful solution for someone who has a dedicated fax number.
    Do not change any previous code

    Just add to extensions conf (after the pstn stuff):

    [custom-receivevoipfax]
    exten => s,1,GotoIf($[${FAX_RX} = disabled]?from-pstn-reghours-nofax,s,1:2); if fax detection is disabled, then jump to from-pstn-nofax – else continue
    exten => s,2,Answer
    exten => s,3,Playtones(ring) ; play fake ring so caller doesn’t wonder whats going on
    exten => s,4,NVFaxDetect(10) ; while playing ring sound, detect faxes for 2 rings (goes to “fax” extension if detected)
    exten => s,5,SetVar(intype=${INCOMING})
    exten => s,6,Cut(intype=intype,-,1)
    exten => s,7,GotoIf($[${intype} = EXT]?8:9) ; If INCOMING starts with EXT, then assume its an extension
    exten => s,8,Goto(ext-local,${INCOMING:4},1)
    exten => s,9,GotoIf($[${intype} = GRP]?10:11) ; If INCOMING starts with GRP, then assume its a ring group
    exten => s,10,Goto(ext-group,${INCOMING:4},1)
    exten => s,11,GotoIf($[${intype} = QUE]?13:14)
    exten => s,13,Goto(ext-queues,${INCOMING:4},1)
    exten => s,14,Goto(${INCOMING},s,1) ; not EXT or GRP – it’s an auto attendant
    exten => fax,1,Goto(ext-voipfax,in_fax,1)
    exten => h,1,Hangup

    [ext-voipfax]
    exten => s,1,Answer
    exten => s,2,Goto(in_fax,1)
    exten => in_fax,1,StopPlaytones ; you must do this or it will play ring sounds over your fax
    exten => in_fax,2,GotoIf($[${FAX_RX} = system]?3:analog_fax,1)
    exten => in_fax,3,Macro(faxreceive)
    exten => in_fax,7,Hangup
    exten => analog_fax,1,GotoIf($[${FAX_RX} = disabled]?3:2) ;if fax is disabled, just hang up
    exten => analog_fax,2,DBGet(DIAL=DEVICE/${FAX_RX}/dial);
    exten => analog_fax,3,Dial(${DIAL},20,d)
    exten => analog_fax,4,Hangup
    exten => out_fax,1,txfax(${TXFAX_NAME}|caller)
    exten => out_fax,2,Hangup
    exten => h,1,system(tiff2ps -2eaz ${FAXFILE} | ps2pdf – ${FAXFILE}.pdf)
    exten => h,2,system(mime-construct –to ${EMAILADDR} –subject “Fax from ${CALLERIDNUM} ${CALLERIDNAME}” –attachment ${CALLERIDNUM}.pdf –type application/pdf –file ${FAXFILE}.pdf)
    exten => h,3,system(rm ${FAXFILE} ${FAXFILE}.pdf)
    exten => h,4,Hangup()

    Then in Asterisk setup inbound rounting for your fax number, change fax to ‘system’, Select an email address, Immediate Answer = no. Set destination to ‘Custom App’ and enter ‘custom-receivevoipfax,s,1′ as the App.
    And presto…
    An advantage is that you can now easily setup in Asterisk multiple fax numbers, with multiple email address destinations.

    LionScribe

  13. spacer alex says:
    Tuesday, February 21, 2006 at 9:35 am

    I have read the information at www.voip-info.org/wiki-Asterisk+RealTime, but it does not work… anyone can help?

  14. spacer Anders says:
    Sunday, February 26, 2006 at 2:34 am

    Anyone out there who have setup the a2billing that comes with A@H? Is there a tutorial out there? The manual that comes with the a2billing is very incomplete. Perhaps we could hope for a tutorial on this fantastic website. Keep up the good work!!

  15. spacer JB says:
    Monday, March 6, 2006 at 9:44 am

    This is a simple question I know but can you please tell me how many concurrent callers I can have with Asterisk if I have only one phone line? Won’t the second caller get a busy signal?

    [WM: Unless you've paid for extra trunk lines, the second caller will either get a busy or your voicemail (with your provider). Most providers give you at least two lines in order to support call waiting.]

  16. spacer jp says:
    Monday, April 3, 2006 at 4:10 am

    I have been doing some reading and spring cleaning. I have found that I can reduce the size of my extensions_custom.conf making it easier to manage.

    I created a new file for all of nerdvittles stuff called extensions_mundy.conf and placed it in etc/asterisk with the others.

    In extensions_custom.conf the top looks like this:

    ; This file contains example extensions_custom.conf entries.
    ; extensions_custom.conf should be used to include customizations
    ; to AMP’s Asterisk dialplan.

    ; All custom context should contain the string ‘custom’ in it’s name
    ;

    #include custom_telemarket.conf
    #include extensions_mundy.conf

    ; Extensions in AMP have access to the ‘from-internal’ context.
    [from-internal-custom]
    include => telemarket
    include => mundy-internal

    In this file I have all of the mundy extensions. At the top I have a section called mundy-internal which has the extensions to call the scripts.

    my extensions_mundy.conf starts like this: ( haven’t put in the rest of the gems yet)

    [mundy-internal]

    ; Reminder
    exten => 123,1,Answer
    exten => 123,2,Wait(1)
    exten => 123,3,Authenticate(12345678)
    exten => 123,4,Goto(reminder,s,1)

    [custom-reminder]
    include => reminder

    [reminder]
    exten => s,1,DigitTimeout(7)
    exten => s,2,ResponseTimeout(10)

    the custom-reminder extensions enables me to use it in FreePBX.

    Hope this is of use

    [WM: Wow! Why didn't we think of that! Thanks.]

  17. spacer Tim says:
    Friday, April 7, 2006 at 11:23 am

    Great tutorials. I still working my first attempt with Asterisk. Another VOIP service that I was able to get running using another tutorial was voipjet.com. Free account for testing with 20 minutes of calling then just .013 a minute after that for calls to the US.

  18. spacer Hugues Belanger says:
    Monday, April 10, 2006 at 6:25 am

    Hi all
    I’ve installed asterisk@home on a friends server and I’m having a lot of trouble with faxes. Believe it or not NVfaxdetect works perfectly on an iax truck, but fails to detect 90% of the faxes on a zap channel.
    I’d like to setup two zap channel to be fax only inbound lines and I’m not sure how to do that. Help please

gipoco.com is neither affiliated with the authors of this page nor responsible for its contents. This is a safe-cache copy of the original web site.