Telephone experiment - Raspberry Pi Q&A, Help & Troubleshooting

Is there a way to make a raspi put out a telephone signal somehow (Pots) and even make a ring signal? Or is there a way to do this without a raspi? Thanks!

Related

How to let the Diamond determine whether to use VoIP OR GSM?

My GSM provider happened to give me a contract in which i can dial every national mobile network for free as i am paying a fixed amount for that. But i have to pay extra for international networks and national fixed network. This is where my VoIP account should kick in, because it has much lower calling rates when trying to reach somebody out of these networks.
So as i mentioned in the Title, i would need to do some tuning with my VoIP and GSM accounts. I finally got VoIP and GPS working, now what i need is the dialer to determine which account to use when dialing different numbers, eg. i need my Diamond to dial via VoIP when i am calling international numbers or a number within the national fixed network. At the same time i want it to use my GSM Account for dialing to mobile networks. eg. it has to use the SIM card in case the dial format is +49 (1Yx) xxxxxxx, while Y is either 5,6 or 7. It should use the sip account in every other case.
So i assume that this problem might be solved with tuning the dialplan.xml, but since i have no experience in altering this file i am asking how to do it.
I also guess that editing entries within this file might give me the chance to use VoIP when dialing in international format, e.g. +1 555 727... instead of 001 555 727, as the dialer tells me that it isn't able to dial because it the phone number is not valid. As soon as i am entering the number without international country code it works fine.
Also there is the issue that the Diamond keeps turning off while talking on the phone, whether i am making a call through GSM or VoIP. In case of VoIP, my current calling connection drops because WLAN gets turned off as soon the Diamond goes into Standby mode.
Next problem is the Standby mode in general: As WLAN turns off when the Diamond goes to sleep, i am no longer logged in to my sip account. The result is that no one can call me when dialing my sip phone number.
So i would be grateful if somebody could at least help me with one of these problems. Thanks in advance!
1) about having the phone to decide automatically, according to your IP dialplan settings to use GSM or VoIP, I don't know much.
But you can always use the VoIP Today plugin to manually decide which one you'd like to use.
2)
regarding the phone switching to sleeping mode and by doing so dropping your wifi connexion, you can use DiamondTweak to modify your settings and avoiding this.
Whenever your phone will go to sleeping mode, the wifi connexion will remain active.
3)
No worry about third point, since your wifi connexion will not drop anymore.
How gps work with VOIP ?
"I finally got VoIP and GPS working..."
Can you tell me please how? i´ve tried lots of things and when i instal voipcab the gps stops working.. and after hard-reset. Do you have a special cab? Thanks
gazela00 said:
Do you have a special cab?
Click to expand...
Click to collapse
Try this thread: http://forum.xda-developers.com/showthread.php?t=415262
Ho do you manually decide which one to use? I have installed VOIP today. I can select never to use VOIP. But I cannot force to use VOIP only. That is, my HTC Touch Diamond is deciding whether to use GSM or VOIP.
riri22 said:
1) about having the phone to decide automatically, according to your IP dialplan settings to use GSM or VoIP, I don't know much.
But you can always use the VoIP Today plugin to manually decide which one you'd like to use.
2)
regarding the phone switching to sleeping mode and by doing so dropping your wifi connexion, you can use DiamondTweak to modify your settings and avoiding this.
Whenever your phone will go to sleeping mode, the wifi connexion will remain active.
3)
No worry about third point, since your wifi connexion will not drop anymore.
Click to expand...
Click to collapse

AT&T network loss issue

All;
Have sort of a strange problem; hoping someone can help me sort it out.
Every once and a while (I can't find a set time or schedule or trick to make this work), my 3g / Edge connection dies on me. I still have phone service; still receive texts; just have no access to the internet.
Checking running processes doesn't seem to help, I never see anything taking control. Only way I seem to be able to fix it is a soft reset.
May or may not be related; but I'm also having an issue where if I use the "mute" function in my call status screen, I have to soft reset to use my phone (unless the other party disconnects the call, which releases me...). Really frustrating.
Ideas? Suggestions? Running custom kitchen from ppc; not afraid to re-flash if that'd help!
I have found that a certain area (most likely served by one or two towers) that I am in every day causes similar issues. I still have a 3G (HSDPA) connection, but cannot transfer any data. My phone will not fall back to Edge to maintain the data connection, possibly because it still thinks it has a data connection (based on icon status).
I have tried several radios, and the situation is the same. I only have this problem in one specific geographic area, which is why I think it is network related, and not my device.
A quick work around that I have been using is to simply disable 3G (using the comm manager) before I enter the problem area, and re-enable it when I leave the area. The boundaries of the area are very constant. Sometimes, I need to turn the entire radio off (using the comm manager) and back on to fully regain 3G (HSDPA) speeds.
You might want to give the comm manager a try - it is usually much quicker than soft resetting.
You don't happen to live (or travel through) Plymouth, MI, do you?
ismisunderstood said:
All;
Have sort of a strange problem; hoping someone can help me sort it out.
Every once and a while (I can't find a set time or schedule or trick to make this work), my 3g / Edge connection dies on me. I still have phone service; still receive texts; just have no access to the internet.
Checking running processes doesn't seem to help, I never see anything taking control. Only way I seem to be able to fix it is a soft reset.
May or may not be related; but I'm also having an issue where if I use the "mute" function in my call status screen, I have to soft reset to use my phone (unless the other party disconnects the call, which releases me...). Really frustrating.
Ideas? Suggestions? Running custom kitchen from ppc; not afraid to re-flash if that'd help!
Click to expand...
Click to collapse
My phone does this also, what i do is usually just set my phone to flight mode, then back after about 20 sec or so...it works for me...good luck

Set Google Voice number based on Wifi connection?

Is there any way to use Tasker or some other setting/app to have my Google Voice ring a different number depending on if I'm connected to Wifi or not?
Here's why:
I have a pretty low minutes limit on my plan, but I also have an unlimited Skype account, so I can have GV forward into my Skype number if I have a wifi connection, so I don't get charged cell minutes. But if I'm not somewhere where I have a wifi connection, I want it to ring my actual cell number.
I've seen the Google Voice plugin for Locale/Tasker, but it chooses based on location, as does the Google Voice Locations app. I'd prefer to use any location, but change the number when I'm connected to Wifi.
Thanks!
Maybe I don't understand how Tasker plugins work, but if there is a Google Voice plugin for Tasker, that should be all you need. You are not forced to trigger it based on location, make a Tasker profile based on wifi connectivity instead.
Good call. I tried it, and it works when using wifi connected as the state that Tasker checks.
Unfortunately, I realized that will be kinda useless if I don't have cell data as well, because when the wifi disconnects, there's no way for the phone to connect to Google Voice settings to change the phone number.
For me the whole point is to get my phone to work in some places I frequently go that don't have cell reception... I did manage to get it to work using Tasker custom widgets, so I can set it manually, but I don't see any way to get it to work automatically unless I have 3G data, which I don't in the locations I mentioned.
So I have single touch access to changing the settings, but not automatic based on location.
Yeah, if you don't have a connection you can't really change the setting. Sounds like you need a Tasker state that can predict the future. "Will lose wifi in 5 minutes"
But seriously, I can't think of a way to get around that problem easily. If you always had a computer online at home or something, you could have Tasker send it a signal every 5 minutes. If your home computer notices the signal is late it can run a script to switch you to your cell number, because it will know you have lost your data connection and couldn't send the regular notice.
When you get connection again, either your computer can switch it back (when it receives the 5 minute signal again), or have Tasker do it because it can talk to Voice again.
Yeah, that might be an option, actually... Hmm.
Time to brush up on some scripting skills. Any recommendations?
Thanks for the input, in any case!
Well, personally, I would set up a web server and script it with PHP, because I know that well.
No clue how to go about hooking it into Google Voice to change the settings, you'd have to look it up, but I do know Tasker can send a call to a web page.
I would make it in two parts, or two scripts.
So set up a PHP page where you would send a signal to and it would then set a 'latest signal' variable, possible in a DB but you would probably want something simpler. You would want to pass in some POST or GET variable unique to your phone, so other people don't access the page and pretend to be the phone, unlikely, but possible if you tell your friends about it
Then I'd have a separate CRON task that runs every 5 minutes, checks the DB or file to see if the phone has sent in a new update, if it doesn't see a new update it then does whatever it needs to do to change your Voice setting.
Then to switch back to Skype, you can have Tasker do it when it detects a data connection again, or just depend on your home script to switch you back when the next signal goes out.
Doesn't gv forward calls to your numbers in the order you want them to ring? If everyone called gv you can make gv forward to skype first and if you don't pick up there it rings your cell right?
I'm not home in the states so I can't test it :/
Actually they all ring at once. So you can switch to skype and pick up there.
If it does, I haven't figured it out yet.
I'm new to GV, but so far I've found that I can set which numbers ring simultaneously, or set them based on either time of day, or contact groups.
If I could have it ring Skype for 2 rings first, then my cell, that would be perfect, but I haven't found that setting yet.
Bringing this thread back to life for a followup question. Before I shell out the money for Tasker, will it enable me to alter GV settings based on WHICH wifi network I am connected to? I.E. set GV to ring home and cell when connected to my home network, office and cell when connected to my office network, and cell only for all other times?
Given it's been a couple of years since this post, is there a better way/software to do this without the expense of Tasker?
Thanks!
Ben

[Q] Tasker cannot turn off phone radio

I have low cellular signal in my house so i want to disable the phone's radio when on house wifi, but that option is "unavailable" in tasker.
Is there a work around to this? i know you can turn on airplane mode then turn back on wifi, but i want to know if there is a solution to just disable the radio.
Would this help? http://forum.xda-developers.com/showthread.php?t=1217038
Thanks.
bump 10char
I thought there was a plugin released recently that allowed something like this, sorry I can't find it though.
I have bad signal at home too so I just change over to 2g and battery does pretty well.
Why would you want to turn the radio off though? You won't receive calls/sms/anything.
Going to 2G and turning data off should be better surely?
signal is so weak that you can assume no signal at all in the house, so i'm not sure if just changing to 2g data is good enough since the phone will still continue to search for cellular signal which drains the battery.
i will try that at least for now and see if it helps, but ultimately, i do want to turn off the radio and leave on wifi.
i am able to receive calls via wifi through use of voip, receive sms via google voice.

Make the phone 'give up' quicker when reception is bad

Hey
My house has certain areas where there's low reception (basement), but my phone is trying to behave as normal and accept calls. This causes me to a battery drain and I'd like to change it.
My goal is to make the phone go to "emergency only" / "no reception" modes when reception is poor, but not dead. Meaning I'd like for it to give up on reception instead of transmitting more.
Is there a hack I can use? I'm using CM9 with the best radio I could find. I don' want to switch to airplain mode because I'll have to manually do that. I just want my phone to give up by itself.
Thanks
Sent from my GT-I9000 using XDA

Categories

Resources