Reply
Thread Tools
Marshall Banana's Avatar
Posts: 94 | Thanked: 209 times | Joined on Oct 2009 @ Germany
#101
Hi,

i installed the ussd-pad and the ussd-widget from the garage site:
pexpect_2.3.0-1_all.deb
ussd-common_0.0.0-3_all.deb
ussd-pad_2010.01.07_armel.deb
ussd-widget_0.0.3-0_all.deb

Out of the box, they did not work for me as my provider (medion mobile) answers to requests with a cp850 encoded message but with decoding scheme unspecified.

Example:
Code:
at
OK
at+cusd=1,"*100#",15
+CUSD: 0,"Ihr Guthaben f\x81r die Nr.491234567890 betr\x84gt 13.53 Euro",15
As the answer contains non-ascii characters gsmdecode.py crashes when called by ussdquery.py. I modified ussdquery.py so that it converts the answer to utf8 and directly outputs to stdout. I had to open stdout as "wb" to output unicode because otherwise python tries to encode the string to ascii.
Attached Files
File Type: txt ussdquery.py.txt (1.2 KB, 408 views)
 

The Following 4 Users Say Thank You to Marshall Banana For This Useful Post:
fpp's Avatar
Posts: 2,853 | Thanked: 968 times | Joined on Nov 2005
#102
Thanks for that, I was having the same problem with Virgin Mobile in France, with your hack it works!
__________________
maemo blog
 

The Following User Says Thank You to fpp For This Useful Post:
Posts: 66 | Thanked: 11 times | Joined on Jan 2010
#103
The phone cost 500 plus it should all this stuff in it already !!
 

The Following 5 Users Say Thank You to Edsal For This Useful Post:
Posts: 113 | Thanked: 6 times | Joined on Jan 2010
#104
Hi,

I've bought a n900 and for me to check my current funds i need to call *555# and on n900 I get an "invalid number" error...

Please fix this issue on the new maemo 5 version.

Thanks
 
b666m's Avatar
Posts: 1,090 | Thanked: 476 times | Joined on Jan 2010 @ Ingolstadt, Germany
#105
there's already an existing thread about this one:
http://talk.maemo.org/showthread.php?t=32878
 

The Following User Says Thank You to b666m For This Useful Post:
Posts: 5,335 | Thanked: 8,187 times | Joined on Mar 2007 @ Pennsylvania, USA
#106
The thread "Need to fix the phone program to work portuguese services" with two posts has been merged with this thread.
 

The Following User Says Thank You to sjgadsby For This Useful Post:
Posts: 254 | Thanked: 122 times | Joined on Nov 2009
#107
New ussd-widget is out. Changes:
* Non-blocking queries, hildon-home doesn't hang any more
* Regexp support
* Automatically shrinks width (not height)
* Word wrap
* Timed renew
* Localization support (russian localization available)

New version of ussd-common:
* Tries to initialize modem several times
* More robust, all exceptions are caught

https://garage.maemo.org/frs/?group_id=1219

After installation reconfigure vidget: config format has changed.
 

The Following 4 Users Say Thank You to KiberGus For This Useful Post:
Posts: 9 | Thanked: 3 times | Joined on Jan 2010
#108
When i dial *21# i got «UNKNOWN APPLICATION»

*21# is the Call Forwarding code for my phone company.
 
Posts: 24 | Thanked: 4 times | Joined on Apr 2008
#109
I have firmware 2 2009 51-1.203.2 which i have just updated over the air but the code *#1345# is still not working. Am I doing something wrong or is it still not supported.
Thanks
 
Posts: 5,335 | Thanked: 8,187 times | Joined on Mar 2007 @ Pennsylvania, USA
#110
The thread "Balance Check on ASDA sim" with one post has been merged into this thread.
 

The Following User Says Thank You to sjgadsby 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:35.