Active Topics

 


Reply
Thread Tools
Posts: 44 | Thanked: 0 times | Joined on Dec 2009
#11
well, it's the ONLY way for me to check how much money i have left on sim.
 
titi974's Avatar
Posts: 345 | Thanked: 72 times | Joined on Dec 2009 @ Reunion Island
#12
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 ^^
 
pH5's Avatar
Posts: 138 | Thanked: 375 times | Joined on Aug 2009 @ Berlin
#13
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.
 

The Following 3 Users Say Thank You to pH5 For This Useful Post:
Posts: 479 | Thanked: 641 times | Joined on Dec 2007 @ Switzerland
#14
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
 

The Following 3 Users Say Thank You to lorelei For This Useful Post:
Posts: 5,335 | Thanked: 8,187 times | Joined on Mar 2007 @ Pennsylvania, USA
#15
Threads merged.
 
Posts: 3,841 | Thanked: 1,079 times | Joined on Nov 2006
#16
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.
 
Posts: 7 | Thanked: 21 times | Joined on Oct 2009 @ near Regensburg (Bavaria), Germany
#17
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
 
 

The Following 20 Users Say Thank You to stefbeer For This Useful Post:
Posts: 16 | Thanked: 2 times | Joined on Nov 2009
#18
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
 
Posts: 254 | Thanked: 122 times | Joined on Nov 2009
#19
Now we need a widget, that would show current balance.
 
Posts: 254 | Thanked: 122 times | Joined on Nov 2009
#20
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
 

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


 
Forum Jump


All times are GMT. The time now is 22:37.