Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Messages - sedgington

Pages: 1 ... 4 5 [6]
Users / Re: Anyone install spandsp to enable faxing with asterisk?
« on: April 07, 2009, 04:37:46 pm »
After playing around with spandsp I did not find it that reliable. I tried the IAXMODEM and hylafax approach and it seems to work much better. The real problem for me was getting it set up correctly between linuxmce and freepbx as there are too many instructions on the web that caused me to unnecessarily or incorrectly duplicate files resulting in a buggy IAXMODEM at first.

The view from 30,000 feet:

1. Use Linuxmce to create an IAX2 extension from Wizard Devices Phones by selecting IAXy adapter as the type--this will create the freePBX extension automatically.

2.use apt-get install to install the IAXMODEM software. Create a file named ttyIAX0 in /etc/iaxmodem that looks like this:

device /dev/ttyIAX0
owner uucp:uucp
mode 660
port 4570 (you want it to be 1 or more above 4569 which it binds to)
refresh 1800
peername (whatever number linuxmce created)
secret the (same number as the peer name)
cidname (Whatever you want to show up when receiving a fax)
cidnumber (your fax phone number)
codec ulaw (if you live in the US)

3. Go to freepbx and on your fax extension change the port to 4570 from the default--depending on your context, you may want to change that there as well

3. use apt-get install hylafax-server to get the server installed

4. from the command line run "faxsetup" this will setup hylafax and then ask you if you want to add a modem. Say "yes"

5.In the modem config type in ttyIAX0 when it asks you where your modem is--go through the rest of the steps answering the default except where you need to fill in specific info about your location, phone number etc. it will test you modem and set it up for you as well as create all the files to have it automatically start on boot.

6. create a file called FaxDispatch in /etc/hylafax that looks like this:

SENDTO=(your email address);

7. Go to the tutorial on linuxmce wiki about postfix (just search on that word); I just followed the instructions and it worked perfectly. I found postfix was great for emailing me the faxes.

8. Go back to freepbx and set up an inbound route to the IAX2 extension you have created--In my case I used a pstn trunk and only let it go to that extension number so I didn't need to do any fax detection. If you need fax detection there is a lot of info out there on how to do it with zaptel or nvdetect. Also create an outbound route for anything dialed from that extension if you need to.

9. Reboot the machine.

10. login to machine and do a sudo -s to become root. type asterisk -vvvvvr to get to the asterisk CLI. Type "iax2 show peers" to see that your modem is registered and hylafax is running. Send yourself a fax (or have a friend do it) so you can watch the fax come in. If everything went well, the phone will ring and connect to that extension then nothing will happen until it disconnects. You will then receive an email with your fax attached.

If anyone has more to add or sees some mistakes here, please add them as a reply. Eventually, this would be a good tutorial topic for the wiki...

Users / Re: Anyone install spandsp to enable faxing with asterisk?
« on: April 01, 2009, 05:56:10 pm »
Thank You for your response.

On LinuxMCE 7.10 to get rxFax and txFax (the applications that spandsp installs) into asterisk I had to:

apt-get install asterisk-app-fax

then if you do a:

asterisk -vvvvvvr
core show applications

they are there.

Apparently 7.10 left them out of the package. From this point I believe that you can choose whether to go with Asterfax or Hylafax or something else. I will try and post if there are any problems.

Users / Anyone install spandsp to enable faxing with asterisk?
« on: March 31, 2009, 08:57:04 pm »
I am really enjoying the capabilities of Asterisk in linuxMCE. One problem has been discovering where the Asterisk application directory (usually /usr/src/asterisk/apps) is so that I can add functionality to the Asterisk app such as faxing through my Digium card connected to a pots line. Can anyone enlighten me as a newbie how Asterisk is built into LinuxMCE and how I might patch the existing Asterisk source with spandsp? I searched the forum and found only one 2005 reference which suggested that it would be built into future releases. However when I go the asterisk CLI and do "show applications" it is not listed. Many thanks for any help in advance.

Users / Re: Linksys Wireless IP camera...
« on: March 04, 2009, 04:37:32 pm »
I tried it and it worked. However the video quality is much worse than just using the the html page to pull it up.
Is there a way to get the "speak" button to work? When I click on it the image goes away and I get an "End Broadcast" button. When I click on that I get a "call dropped normal clearing" notification.


Users / Does anyone know if linuxMCE can handle IR digital input or IR-IN?
« on: February 13, 2009, 07:58:33 pm »
Sorry if this has been answered before but there are so many "IR" and "INPUT" and "Digital" pages that turn up from the search that I thought I would just pose it.

Just got off the phone with Jerry at Global Cache technical support and in telling me what I need to purchase from them he needs to know if linuxmce accepts digital input of IR signals.

My thought is that it does, but I would greatly appreciate confirmation from the more experienced members of this forum.

Many thanks!

Thanks for your quick response!

I had been trying to type in the name from a usb-attached keyboard and nothing happened--even though the letters showed up on the screen. Based on your post, it occurred to me that perhaps the letters had to come from an infrared device (which I have not yet got around to installing). Sure enough, if you click on the "onscreen" keyboard with your mouse (as if it were an infrared device)--bang--the name shows up with the first letter.

This is a great feature, is there any way to get the usb-keyboard to work as well?

Should I post this as a "gotcha" in the wiki to save other poor souls the misery of searching elsewhere?

BTW, now that I know that this will work I'm going to write an import script for mysql to bring my contacts over from Apple's address book. Happy to post it when it is done. Just not sure where I should put it.  Any guidance here appreciated.

Thanks again.


Has anyone else seen this with a recent DVD install?

I am using 710RC2 in a hybrid setup and have been very impressed with integration with Asterisk--but can't seem to get phone numbers to show up.

Followed the instructions on the Wiki of adding contacts and phone numbers in the admin Telecom\Phonebook menus. Added private and public contacts, reloaded the router and the orbiter went back to Telecom\phonebooks on the orbiter and then typed a few letters of one of the contacts---am facing n empty black box in the upper left hand corner. Has anyone else had this problem and/or knows where or how to fix?

On the admin site you can go to the phonebook and search with no problem and it comes up with the result. It is only a problem in the orbiter. I'm thinking that it is probably a permission issue to read from the mysql database--but I can't figure out what the permission should be set to in the database. BTW, the only screen that shows Telecom data (which I assume is being pulled from the mysql telecom database) is the speed dial screen in the box for recent calls--that works fine.

BTW, the other way around this would be to do lookups on an LDAP server to populate this database. I poked around and it looked like this might be on the books for future editions---is there a fix available now?

Many thanks in advance for any help any one has to offer.

Pages: 1 ... 4 5 [6]