maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Maemo 5 / Fremantle (https://talk.maemo.org/forumdisplay.php?f=40)
-   -   Missing USSD functionality: N900 can't dial numbers beginning with # or * (https://talk.maemo.org/showthread.php?t=32878)

KiberGus 2010-02-09 12:46

Re: Missing USSD functionality: N900 can't dial numbers beginning with # or *
 
Quote:

Originally Posted by The_Legend (Post 517565)
The empty spaces between Saldo and Recarga is quite strange, but I don't care, only what's just after that. But I still get that error message from USSDPAD / WIDGET. Can anyone help me?

Are you shure, that you have latest 0.1.2 version of the widget? You can get it frim repository, not from garage.

awben 2010-02-09 17:25

Re: Missing USSD functionality: N900 can't dial numbers beginning with # or *
 
*#06#=timeout modem didnt reply at 30, 15, 40, 50, 60 (code for imei)
*135#: it works (code for asking own phone number)
*221#=timeout modem didnt reply at 30, 60 (code for changing sim card)
*#43#=timeout modem didnt reply
*#33#=could not init modem
*#61#=timeout modem didnt reply
*#2820#=timeout modem didnt reply at 60 (code for asking bt address)

KiberGus 2010-02-09 18:04

Re: Missing USSD functionality: N900 can't dial numbers beginning with # or *
 
Quote:

Originally Posted by awben (Post 517991)
*#06#=timeout modem didnt reply at 30, 15, 40, 50, 60 (code for imei)
*135#: it works (code for asking own phone number)
*221#=timeout modem didnt reply at 30, 60 (code for changing sim card)
*#43#=timeout modem didnt reply
*#33#=could not init modem
*#61#=timeout modem didnt reply
*#2820#=timeout modem didnt reply at 60 (code for asking bt address)

IMEI can be obtained by another AT command: +CGSN. SO it is not intended to work.
Call forwarding won't work for the same reason. Use call forwarding applet.
What do you mean under "bt address". If bt means bluetooth, then it is not USSD query too, because operator doesn't know anything about bluetooth.
And what do you mean under "changing SIM card". Is it your mobile operator feature or you use some sort of double sim adaper. In last case, it again may be not ussd query.
If there is a way to distinguish these codes and find out which command should be used, I may be would include such functionality. In other case ussd widget is intended only for making ussd queries to mobile operator.

awben 2010-02-09 18:16

Re: Missing USSD functionality: N900 can't dial numbers beginning with # or *
 
changing sim card is a feature of my provider. one simcard, 2 different numbers.

bt adress and something else was only to test wich codes work.

... in the future i will use a twincard adapter for using 2 simcards. for that i need sim toolkit or ussd codes.

i try to find someone who has a dualsim adapter and can try out the codes with the ussdquery. or maybe some people using other providers, to find out where the problem (if there is one) is.

thank you for your help

The_Legend 2010-02-09 23:10

Re: Missing USSD functionality: N900 can't dial numbers beginning with # or *
 
Quote:

Originally Posted by KiberGus (Post 517611)
Are you shure, that you have latest 0.1.2 version of the widget? You can get it frim repository, not from garage.

Sorry, I had the version 0.0.5, from garage... will pay more attention next time...

Is there anyway to add the repository to the App. Manager? This would make things easier, hehehe.

Now all I need is a tutorial / guide / documentation on how to edit the text... it's too long, I just wanted the value of the balance...

maemusr 2010-02-09 23:14

Re: Missing USSD functionality: N900 can't dial numbers beginning with # or *
 
This code in terminal will work for Fido Canada and probably Rogers.
I have a prepaid card.

sudo gainroot
pnatd
AT+CUSD=1
ATD*225;


I would like to make it work with the widget but no success at this time.
BTW, anybody would know how to put this in a exucutable file and accessed through the desktop of the n900?

Thanks

maemusr 2010-02-09 23:20

Re: Missing USSD functionality: N900 can't dial numbers beginning with # or *
 
My previous comment works but i'd like to add that sudo gainroot is not necessary!

KiberGus 2010-02-10 05:13

Re: Missing USSD functionality: N900 can't dial numbers beginning with # or *
 
Quote:

Originally Posted by The_Legend (Post 518520)
Sorry, I had the version 0.0.5, from garage... will pay more attention next time...

Is there anyway to add the repository to the App. Manager? This would make things easier, hehehe.

Now all I need is a tutorial / guide / documentation on how to edit the text... it's too long, I just wanted the value of the balance...

Enable extras-devel in app manager. There is documentation on my site: http://kibergus.su/en/node/3
Quote:

Originally Posted by maemusr (Post 518526)
This code in terminal will work for Fido Canada and probably Rogers.
I have a prepaid card.

sudo gainroot
pnatd
AT+CUSD=1
ATD*225;


I would like to make it work with the widget but no success at this time.
BTW, anybody would know how to put this in a exucutable file and accessed through the desktop of the n900?

Thanks

What does this do and does it fail with ussd-widget?
For an example, how to put it in executable file look at /usb/bin/ussdquery.py
Quote:

Originally Posted by maemusr (Post 518532)
My previous comment works but i'd like to add that sudo gainroot is not necessary!

It is necessary, unless you install ussd-common package, which make pnatd suid. May be we should make ussdquery.py suid instead of pnatd.

Crogge 2010-02-10 07:01

Re: Missing USSD functionality: N900 can't dial numbers beginning with # or *
 
Here are my results with the German provider "Klarmobile":

http://croggesserver.se/Images/N900USSD_Crogge.GIF

Maybe we are living in the Matrix and I got some decrypted codes :o ?!?
Well fact is that only the *135# code worked.

The widget isn't working at all equal what code I use, it seems to be broken since the last version!
It only displays "Error", that's it.

KiberGus 2010-02-10 07:51

Re: Missing USSD functionality: N900 can't dial numbers beginning with # or *
 
Run widget from command line to find out, why it doesn't work.


All times are GMT. The time now is 02:17.

vBulletin® Version 3.8.8