Go Back   maemo.org - Talk > OS / Platform > Maemo 5 / Fremantle
 
Register FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
  #11  
Old 2009-12-22, 22:12
dawchiks dawchiks is offline
 
Join Date: Dec 2009
Posts: 44
Thanks!: 0
Thanked 0 Times in 0 Posts
Default Re: Missing USSD functionality: N900 can't dial numbers beginning with # or *

well, it's the ONLY way for me to check how much money i have left on sim.
Reply With Quote
  #12  
Old 2009-12-29, 13:37
titi974's Avatar
titi974 titi974 is offline
 
Join Date: Dec 2009
Location: Reunion Island
Posts: 345
Thanks!: 179
Thanked 72 Times in 42 Posts
Exclamation Special calls with N900

Hello, I've just received my N900 from amazon... it's an german one but it doesn't matters

the trouble is that I can't make special calls, i mean like viewing what's my credit... like quickly calling #123#

it simply doesn't work, the phone doesn't want to try to call it 0__0

someone in the same situation here ? thx

btw i'm french so sorry for my english ^^
Reply With Quote
  #13  
Old 2009-12-29, 13:52
pH5's Avatar
pH5 pH5 is offline
 
Join Date: Aug 2009
Location: Berlin
Posts: 138
Thanks!: 184
Thanked 375 Times in 86 Posts
Send a message via ICQ to pH5
Default Re: Special calls with N900

Known bug, it will be fixed with the next some later firmware update: https://bugs.maemo.org/show_bug.cgi?id=5357

Last edited by pH5; 2009-12-29 at 14:36.
Reply With Quote
The Following 3 Users Say Thank You to pH5 For This Useful Post:
  #14  
Old 2009-12-29, 14:14
lorelei lorelei is offline
 
Join Date: Dec 2007
Location: Switzerland
Posts: 479
Thanks!: 212
Thanked 641 Times in 172 Posts
Default Re: Special calls with N900

Quote:
Originally Posted by pH5 View Post
Known bug, it will be fixed with the next firmware update: https://bugs.maemo.org/show_bug.cgi?id=5357
Be sure to read the entire bug report! Not all cases will be fixed with the next firmware update. In fact only the least useful cases will be fixed (get your IMEI number, or change PIN code of the SIM). The more generic USSD codes, typically the ones needed to get the credit left on prepaid cards will still not work with the PR1.1 firmware update.

Please also note that the more generic case has been fixed in the meantime, but apparently won't be available in the upcoming firmware update, but probably in the next one.

more details:

https://bugs.maemo.org/show_bug.cgi?id=5357#c76
Reply With Quote
The Following 3 Users Say Thank You to lorelei For This Useful Post:
  #15  
Old 2009-12-29, 14:25
sjgadsby sjgadsby is offline
 
Join Date: Mar 2007
Location: Pennsylvania, USA
Posts: 5,335
Thanks!: 8,588
Thanked 8,187 Times in 2,906 Posts
Default Re: Missing USSD functionality: N900 can't dial numbers beginning with # or *

Threads merged.
Reply With Quote
  #16  
Old 2009-12-29, 15:04
TA-t3 TA-t3 is offline
 
Join Date: Nov 2006
Posts: 3,841
Thanks!: 655
Thanked 1,079 Times in 626 Posts
Default Re: Missing USSD functionality: N900 can't dial numbers beginning with # or *

Quote:
Originally Posted by sjgadsby View Post
Threads merged.
.. and it appears my post (reply to lorelei's post) disappeared in the merge?
__________________
N800/OS2007|N900/Maemo5
-- Metalayer-crawler delenda est.
-- Current state: Fed up with everything MeeGo.
Reply With Quote
  #17  
Old 2009-12-30, 14:07
stefbeer stefbeer is offline
 
Join Date: Oct 2009
Location: near Regensburg (Bavaria), Germany
Posts: 7
Thanks!: 26
Thanked 21 Times in 2 Posts
Default Re: Missing USSD functionality: N900 can't dial numbers beginning with # or *

Hey guys!

Like somebody told in the bug report there is a tricky way to send USSD codes. I tried it on my device and it worked.

So here is how I did it:
  1. Open X Terminal
  2. Become root:
    sudo gainroot
    (requires the package "rootsh" to be installed BUT be REALLY careful what you do as root!)
  3. Open connection to the modem:
    pnatd
  4. Say hello to the modem
    at
  5. Tell him to send the USSD code *135#
    at+cusd=1,"*135#",1
    But watch carefully what you type because you are not able to press backspace
  6. Wait for reply
  7. I did not find a way to disconnect from the modem, so simply tap at the blue X.
I attached a screenshot from my device, showing the reply.
In T-Mobile Germany the USSD code *135# simply shows your number.

Hope this helps!
It is not really comfortable but at least there is a way to send some USSD codes until the bug is fixed.
Attached Images
 
Reply With Quote
The Following 20 Users Say Thank You to stefbeer For This Useful Post:
  #18  
Old 2009-12-30, 14:19
timooz timooz is offline
 
Join Date: Nov 2009
Posts: 16
Thanks!: 0
Thanked 2 Times in 2 Posts
Default Re: Missing USSD functionality: N900 can't dial numbers beginning with # or *

I had the same problem, i was trying to dial *900# to check my credit balance (operator option), my N900 did not recognize the number and a notification "incorrect number " appeared. However, by removing the "#" symbol at the end of the number, everything worked. Don't know if this will work with you but give it a try
Reply With Quote
  #19  
Old 2009-12-30, 19:35
KiberGus KiberGus is offline
 
Join Date: Nov 2009
Posts: 254
Thanks!: 15
Thanked 122 Times in 64 Posts
Default Re: Missing USSD functionality: N900 can't dial numbers beginning with # or *

Now we need a widget, that would show current balance.
Reply With Quote
  #20  
Old 2010-01-05, 16:35
KiberGus KiberGus is offline
 
Join Date: Nov 2009
Posts: 254
Thanks!: 15
Thanked 122 Times in 64 Posts
Default Re: Missing USSD functionality: N900 can't dial numbers beginning with # or *

This script is intended to be run from root. It prints current balance on russia MTS operator.
Code:
#/usr/bin/python

import pexpect
import time
from subprocess import *

child = pexpect.spawn('pnatd');
child.send('at\r');
time.sleep(0.25);
child.send('at+cusd=1,"*100#",15\r');
time.sleep(0.25);

child.readline();
child.readline();
child.readline();

reply = child.readline();
start = reply.find('"');
end = reply.find('"', start+1);
reply = reply[start+1:end];

child.sendeof();

p = Popen(['sh', 'ucsdecode.sh', reply], stdout=PIPE);
print p.communicate()[0];
The message is in UCS-2 encoding, so I need to convert it.
ucsdecode.sh
Code:
#/bin/sh
echo "$1" | echo -n -e $(tr -d '[:space:]' | sed 's/../\\x&/g') | iconv -f UCS-2BE -t UTF8
Reply With Quote
The Following 8 Users Say Thank You to KiberGus For This Useful Post:
Reply

Tags
dial, dialing, lack of phone features, lack of quality control, sms, telephony, ussd


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 18:31.