LinuxMCE Forums

General => Users => Topic started by: nosebreaker on December 02, 2008, 05:45:38 pm

Title: VoIP with LMCE
Post by: nosebreaker on December 02, 2008, 05:45:38 pm
I'm trying to piece together a nice LMCE setup, and I'm at the part where I need to choose a VoIP provider (I am near Boston MA, so USA provider needed) and get phones and such.  Most of the phone posts in the forum here don't have many replies and it seems not many people are using the phone features (from what I can tell).

I understand that I can use the LMCE systems as phones with a microphone and their speakers (which is excellent) but I have a few questions that I couldn't find in the forum.

Is there a particular provider I should/shouldn't use?  I am only planning on one phone number and to use the LMCE box for voicemail, and occasionally have it forward to my cell.

Can I use an orbiter as a phone?

I see that the Cisco 7970 is a popular phone due to it also being able to be an orbiter (which is nice), are there any other phones that can also be orbiters?

If I also want just a cheap IP phone, will any Asterisk compatible phone work?

I saw a post about a "doorphone" - this sounds like an excellent feature and I'd like to do this, are there any known compatible hardware cameras for this?  I'd like the call to "ring" all the systems in the house when the doorbell is pressed.  If there aren't any specific products for this, would I just use a normal CCTV or IP camera and motion triggering?

Any other suggestions for phone stuff?
Title: Re: VoIP with LMCE
Post by: tkmedia on December 02, 2008, 06:27:59 pm
For ease of setup Broadvoice seems to be the voip provider of choice.

The orbiters can not be used as phones currently with the exception of the on screen orbiters on the Media Directors
and of course the 7970's  and by utilizing third party software all of the maemo based orbiters can be used as phones for the LinuxMCE system as well.

Various cell phones can be used as orbiters.


Sip phones are compatible with lmce.


HTH

Tim
Title: Re: VoIP with LMCE
Post by: randomblink on December 02, 2008, 07:01:51 pm
I would like to add to the original question a little.

I'm still in the house shopping phase, so I don't even have a true place that I can call my own.
I'm about 2 weeks from buying an iPhone and I have NO plans to get a landline.
My question is, is there no way to use the VoIP WITHOUT a Landline?
It would be nice to drop my iPhone on a dock or something and utilize the VoIP somehow throughout the house?

(of course, once the LinuxMCE Orbiter iPhone app hits the app store I am all over that!)
(hint, hint)

Anyone else use a Cell Phone as their only phone but have rigged up some form of VoIP for when they are at home?
Just curious
Title: Re: VoIP with LMCE
Post by: nosebreaker on December 02, 2008, 07:36:29 pm
You mean like leave the phone next to a bluetooth USB adapter and be able to take calls anywhere else in the house?  That would be excellent, is it possible?
Title: Re: VoIP with LMCE
Post by: golgoj4 on December 02, 2008, 11:44:19 pm
I would like to add to the original question a little.

I'm still in the house shopping phase, so I don't even have a true place that I can call my own.
I'm about 2 weeks from buying an iPhone and I have NO plans to get a landline.
My question is, is there no way to use the VoIP WITHOUT a Landline?
It would be nice to drop my iPhone on a dock or something and utilize the VoIP somehow throughout the house?

(of course, once the LinuxMCE Orbiter iPhone app hits the app store I am all over that!)
(hint, hint)

Anyone else use a Cell Phone as their only phone but have rigged up some form of VoIP for when they are at home?
Just curious

Seems like you would need a wifi enabled phone that could register as a sip client. I tried this on my ipaq and it worked pretty well. Although not very security conscious, i could even access my lmce voip setup over the net outside of the home. So the answer I think is yes, but you need some softphone (software based ip phone) software for your iphone. Then I think the answer is yes. Now, if this mystery product exists, I have no idea. But thats essentially what you would need.

Anyone else have any ideas?
Title: Re: VoIP with LMCE
Post by: krys on December 29, 2008, 10:13:08 pm
I am interested in the VOIP setup for LMCE also, and just like the OP I wanted to check if there was certain providers that worked or didnt... there are plenty of VOIP providers that offer free calls to mobiles and land lines and I would prefer to use one of those. Here is a link with some of the top "free" providers.
http://www.voipnow.org/2007/04/want_free_voip_.html
Title: Re: VoIP with LMCE
Post by: King on December 30, 2008, 12:49:27 am
I've been using Vitelity for about a year now with no issues. Setup is pretty easy if you know PBX systems ( I set it up as broadvoice). Only issues I have are:
1. Random tone when on the phone causing disconnect. Might be an issue w/ DTMF or codecs (i use a Linksys ATA hooked up to a standard cordless phone.
2. Having issues fowarding calls to my cell. Will forward calls but cannot talk.
3. Unable to email voicemails to my email. Minor problem, might be due to email client not set up right.

Other than that I've had great success w/VOIP on LMCE. Oh by the way I'm in RI. 
Title: Re: VoIP with LMCE
Post by: golgoj4 on December 30, 2008, 04:21:20 am
I've been using Vitelity for about a year now with no issues. Setup is pretty easy if you know PBX systems ( I set it up as broadvoice). Only issues I have are:
1. Random tone when on the phone causing disconnect. Might be an issue w/ DTMF or codecs (i use a Linksys ATA hooked up to a standard cordless phone.
2. Having issues fowarding calls to my cell. Will forward calls but cannot talk.
3. Unable to email voicemails to my email. Minor problem, might be due to email client not set up right.

Other than that I've had great success w/VOIP on LMCE. Oh by the way I'm in RI. 

Thats odd. im using a linksys spa-3102 and i dont get this.what model are you using?
Title: Re: VoIP with LMCE
Post by: krys on December 30, 2008, 04:03:14 pm
I was just looking at some of the VOIP phones and cordless phones out there, it seems as though alot of them are specific to the provider that you will be using. Are there any that dont care who your provider is?
Title: Re: VoIP with LMCE
Post by: Zaerc on December 30, 2008, 05:30:44 pm
I was just looking at some of the VOIP phones and cordless phones out there, it seems as though alot of them are specific to the provider that you will be using. Are there any that dont care who your provider is?
yes
Title: Re: VoIP with LinuxMCE
Post by: krys on March 30, 2009, 09:28:23 pm
I've been using Vitelity for about a year now with no issues. Setup is pretty easy if you know PBX systems ( I set it up as broadvoice). Only issues I have are:
1. Random tone when on the phone causing disconnect. Might be an issue w/ DTMF or codecs (i use a Linksys ATA hooked up to a standard cordless phone.
2. Having issues fowarding calls to my cell. Will forward calls but cannot talk.
3. Unable to email voicemails to my email. Minor problem, might be due to email client not set up right.

Other than that I've had great success w/VOIP on LinuxMCE. Oh by the way I'm in RI. 

Does anyone have their email voicemails configured within LMCE? If so how did you set it up.
Thanks,
-Krys
Title: Re: VoIP with LinuxMCE
Post by: donpaul on March 31, 2009, 01:18:07 am
I've been using Vitelity for about a year now with no issues. Setup is pretty easy if you know PBX systems ( I set it up as broadvoice). Only issues I have are:
1. Random tone when on the phone causing disconnect. Might be an issue w/ DTMF or codecs (i use a Linksys ATA hooked up to a standard cordless phone.
2. Having issues fowarding calls to my cell. Will forward calls but cannot talk.
3. Unable to email voicemails to my email. Minor problem, might be due to email client not set up right.

Other than that I've had great success w/VOIP on LinuxMCE. Oh by the way I'm in RI. 

Does anyone have their email voicemails configured within LinuxMCE? If so how did you set it up.
Thanks,
-Krys

I am in the process of putting together a wiki page for this. I will post when it is done.
Title: Re: VoIP with LinuxMCE
Post by: donpaul on March 31, 2009, 03:23:42 am
Here is a wiki for installing/configuring postfix.

http://wiki.linuxmce.org/index.php/Postfix_configured_with_Gmail_SMTP
Title: Re: VoIP with LinuxMCE
Post by: tschak909 on March 31, 2009, 03:56:55 am
Can somebody actually work to integrate the mta into the system, instead of duct taping it on via a wiki page? please?

-Thom
Title: Re: VoIP with LinuxMCE
Post by: donpaul on March 31, 2009, 04:37:11 am
Duct taped? You're welcome for the wiki page :-\ It is the first steps to integration! Installing and enabling postfix definitely should have already been integrated into the system, and a way to enter your gmail credentials in LinucMCE so it is magically configured would be wonderful. I am currently trying to create a script (like the many in /usr/pluto/bin) that will do the work if someone can put the ability in LinuxMCE. I just figured since I have seen so many questions about email, I would quickly toss up a wiki explaining what I did - for those who don't want to wait for the integration.
Title: Re: VoIP with LinuxMCE
Post by: tschak909 on March 31, 2009, 04:50:27 am
Sorry, I didn't mean to downplay that at all. We just need more people who are willing to integrate these things more fully into LMCE.

-Thom
Title: Re: VoIP with LinuxMCE
Post by: lmce3000 on March 31, 2009, 05:08:42 am
I've been using Vitelity for about a year now with no issues. Setup is pretty easy if you know PBX systems ( I set it up as broadvoice). Only issues I have are:
1. Random tone when on the phone causing disconnect. Might be an issue w/ DTMF or codecs (i use a Linksys ATA hooked up to a standard cordless phone.
2. Having issues fowarding calls to my cell. Will forward calls but cannot talk.
3. Unable to email voicemails to my email. Minor problem, might be due to email client not set up right.

Other than that I've had great success w/VOIP on LinuxMCE. Oh by the way I'm in RI. 

Does anyone have their email voicemails configured within LinuxMCE? If so how did you set it up.
Thanks,
-Krys

I am in the process of putting together a wiki page for this. I will post when it is done.

A wiki page for this is an excellent idea. Looking forward to it.

John.
Title: Re: VoIP with LinuxMCE
Post by: donpaul on March 31, 2009, 05:29:59 am
Sorry, I didn't mean to downplay that at all. We just need more people who are willing to integrate these things more fully into LinuxMCE.

-Thom


Understood. I will help any way I can, and with any time I have.

John, here you go: http://wiki.linuxmce.org/index.php/Postfix_configured_with_Gmail_SMTP
Title: Re: VoIP with LinuxMCE
Post by: krys on March 31, 2009, 06:16:33 pm
DonPaul,
Would you mind taking a look at this error I got after following your wiki... (by the way, nice wiki very easy to follow)

Mar 31 11:10:34 dcerouter postfix/smtp[27852]: setting up TLS connection to smtp.gmail.com
Mar 31 11:10:34 dcerouter postfix/smtp[27852]: certificate verification failed for smtp.gmail.com: num=20:unable to get local issuer certificate
Mar 31 11:10:34 dcerouter postfix/smtp[27852]: SSL_connect error to smtp.gmail.com: -1
Mar 31 11:10:34 dcerouter postfix/smtp[27852]: warning: TLS library problem: 27852:error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed:s3_clnt.c:894:
Mar 31 11:10:34 dcerouter postfix/smtp[27852]: 211B355C266: Cannot start TLS: handshake failure
Mar 31 11:10:35 dcerouter postfix/smtp[27852]: setting up TLS connection to smtp.gmail.com
Mar 31 11:10:35 dcerouter postfix/smtp[27852]: certificate verification failed for smtp.gmail.com: num=20:unable to get local issuer certificate
Mar 31 11:10:35 dcerouter postfix/smtp[27852]: SSL_connect error to smtp.gmail.com: -1
Mar 31 11:10:35 dcerouter postfix/smtp[27852]: warning: TLS library problem: 27852:error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed:s3_clnt.c:894:
Mar 31 11:10:35 dcerouter postfix/smtp[27852]: 211B355C266: to=<kallen@foo.com>, relay=smtp.gmail.com[209.85.199.111]:587, delay=1.5, delays=0.02/0.05/1.4/0, dsn=4.7.5, status=deferred (Cannot start TLS: handshake failure)
Title: Re: VoIP with LinuxMCE
Post by: donpaul on March 31, 2009, 07:46:40 pm
Did you use your actual name and gmail address in place of "Full Name" and "user@gmail.com" when following the directions? Also, check the perms:

  chmod 644 /etc/postfix/cert.pem
  chmod 644 /etc/postfix/cacert.pem
  chmod 400 /etc/postfix/key.pem

I have created a script that will set everything up if you would like to give it a try. I would love to integrate this into linumce, if anyone can create a web form in linuxmce to gather the required info and send it to my scripts.

I'll update the wiki.
Title: Re: VoIP with LinuxMCE
Post by: krys on March 31, 2009, 08:27:01 pm
Did you use your actual name and gmail address in place of "Full Name" and "user@gmail.com" when following the directions? Also, check the perms:

  chmod 644 /etc/postfix/cert.pem
  chmod 644 /etc/postfix/cacert.pem
  chmod 400 /etc/postfix/key.pem

I have created a script that will set everything up if you would like to give it a try. I would love to integrate this into linumce, if anyone can create a web form in linuxmce to gather the required info and send it to my scripts.

I'll update the wiki.

Yes I substituted my info where applicable, I will give the script a try. Will you be adding the script to the wiki?
Title: Re: VoIP with LinuxMCE
Post by: donpaul on March 31, 2009, 09:06:52 pm
Script method is now on the wiki. Hopefully a developer will use them to add this functionality to 810.

On the core console as root:

Get the scripts:
  wget http://donpaul.info/configure_postfix.tar

Untar the scripts:
  cd /usr/pluto/bin ; tar -xvf /root/configure_postfix.tar

Run the interactive script:
  /usr/pluto/bin/Configure_Postfix_interactive.sh
Title: Re: VoIP with LinuxMCE
Post by: donpaul on March 31, 2009, 09:19:05 pm
For anyone who is interested. Configure_Postfix.sh should be passed args.

Example: /usr/pluto/bin/Configure_Postfix.sh "email" "password" "full name" "mta" "country" "state" "TLS?" "port"

View the script to see details.
Title: Re: VoIP with LinuxMCE
Post by: dlewis on March 31, 2009, 09:27:49 pm
For anyone who is interested. Configure_Postfix.sh should be passed args.

Example: /usr/pluto/bin/Configure_Postfix.sh "email" "password" "full name" "mta" "country" "state" "TLS?" "port"

View the script to see details.

Please update the wiki.
Title: Re: VoIP with LinuxMCE
Post by: krys on March 31, 2009, 09:33:40 pm
DonPaul....
Script worked like a charm, and it only took about 10% of the time compared to me fumbling around with it manually. Thanks a ton!
Title: Re: VoIP with LinuxMCE
Post by: lmce3000 on March 31, 2009, 09:35:06 pm
Sorry, I didn't mean to downplay that at all. We just need more people who are willing to integrate these things more fully into LinuxMCE.

-Thom


Understood. I will help any way I can, and with any time I have.

John, here you go: http://wiki.linuxmce.org/index.php/Postfix_configured_with_Gmail_SMTP

Thanks donpaul, will take a crack at it this weekend.
Title: Re: VoIP with LinuxMCE
Post by: krys on March 31, 2009, 09:59:31 pm
Here is my next question... Now that I ran the script to set up postfix, and the test email was successfully sent what else do I need to do for voicemail forwarding?
So far I have gone to the webadmin page > telecom > my voicemail > settings.  and entered in my gmail address as the destination, is that it?

*** edit- It is working, i just got an email from asterisk wooo hooo. Thanks again Donpaul
Title: Re: VoIP with LinuxMCE
Post by: donpaul on March 31, 2009, 10:55:06 pm
Please update the wiki.

It's updated.
Title: Re: VoIP with LinuxMCE
Post by: krys on March 31, 2009, 10:56:35 pm
anyone know if it is possible to carbon copy or have multiple email recipients for sending these voicemails? I alread tried
email@email.com; 2ndemail@email.com
but that just sent the message to the first email and ignored the 2nd
Title: Re: VoIP with LinuxMCE
Post by: dlewis on March 31, 2009, 10:59:25 pm
Please update the wiki.

It's updated.

Thanks!
Title: Re: VoIP with LinuxMCE
Post by: donpaul on March 31, 2009, 11:10:33 pm
Yes, you can use the postfix aliases to do that. make sure this is in main.cf:
 
Code: [Select]
alias_maps = hash:/etc/postfix/aliases
then add this to /etc/postfix/aliases:
 
Code: [Select]
email: email@email.com, 2ndemail@email.com
then run:
 
Code: [Select]
postmap /etc/postfix/aliases
restart postfix:
 
Code: [Select]
/etc/init.d/postfix restart
now send voicemail emails to email@dcerouter

That is duct taping - but it works.
Title: Re: VoIP with LinuxMCE
Post by: dlewis on March 31, 2009, 11:13:18 pm
Yes, you can use the postfix aliases to do that. make sure this is in main.cf:
 
Code: [Select]
alias_maps = hash:/etc/postfix/aliases
then add this to /etc/postfix/aliases:
 
Code: [Select]
email: email@email.com, 2ndemail@email.com
then run:
 
Code: [Select]
postmap /etc/postfix/aliases
restart postfix:
 
Code: [Select]
/etc/init.d/postfix restart
now send voicemail emails to email@dcerouter

That is duct taping - but it works.

Please add to the wiki :)
Title: Re: VoIP with LinuxMCE
Post by: krys on March 31, 2009, 11:16:34 pm
Yes, you can use the postfix aliases to do that. make sure this is in main.cf:
 
Code: [Select]
alias_maps = hash:/etc/postfix/aliases
then add this to /etc/postfix/aliases:
 
Code: [Select]
email: email@email.com, 2ndemail@email.com
then run:
 
Code: [Select]
postmap /etc/postfix/aliases
restart postfix:
 
Code: [Select]
/etc/init.d/postfix restart
now send voicemail emails to email@dcerouter

That is duct taping - but it works.

Please add to the wiki :)

Sorry I keep giving you all this extra wiki work....  ;)
Title: Re: VoIP with LinuxMCE
Post by: dlewis on March 31, 2009, 11:18:24 pm
We're trying to do a campaign to update our wiki... We need to constantly grow our knowledge-base :)
Title: Re: VoIP with LinuxMCE
Post by: donpaul on March 31, 2009, 11:22:30 pm
lol. I'll add it once it's verified working.
Title: Re: VoIP with LinuxMCE
Post by: krys on April 01, 2009, 04:21:38 pm
Donpaul,
You dont happen to have any experience setting up a VPN on the core do you? I tried that one last week using openVPN but ran into some dead ends.
Title: Re: VoIP with LinuxMCE
Post by: Techstyle on April 22, 2009, 04:01:57 am
Donpaul,

Good work, the script works great!!

All,

1) The message caller hear when voicemail picks up is very simple - please leave a message after the tone.  I don't need to add a complex menu system but how do I change that message to one I have uploaded to the 'system recordings' page?

2) (Minor) Is it possible to get the e-mail sent from the name on the account instead of 'Asterisk PBX'?  When the account was entered into the script the 'full name' was asked for but when the mail arrives it comes from Asterisk.  Also is it possible to edit the standard e-mail from Asterisk?

Thanks
Title: Re: VoIP with LinuxMCE
Post by: posde on April 22, 2009, 09:42:05 am
Also is it possible to edit the standard e-mail from Asterisk?

Yes. Look at /etc/asterisk/vm_email.inc That file looks like it might help you.
Title: Re: VoIP with LinuxMCE
Post by: Che on April 22, 2009, 09:56:58 pm
Why does LMCE have to be so good? Damned developers, always making things better, and causing me to fall in love with LMCE all over again!
Title: Re: VoIP with LinuxMCE
Post by: dlewis on April 22, 2009, 09:59:41 pm
Why does LinuxMCE have to be so good? Damned developers, always making things better, and causing me to fall in love with LinuxMCE all over again!

Straight COMEDY! HA!