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)

shamoni8 2010-01-30 17:26

Re: Howto install ussd-pad and ussd-widget
 
do i need a connection to the net to install this? whenever i click on the app manager, it tells me to specify a data source?

also, it gave me errors
the first one told me to enable RD mode if i want to break my device

and the second one told me it could not open lock file/var/lib/dpkg/lock - open
and E: Unable to lock the admin directory, are you root?

plaban 2010-01-30 17:31

Re: Howto install ussd-pad and ussd-widget
 
Quote:

Originally Posted by shamoni8 (Post 502746)
do i need a connection to the net to install this? whenever i click on the app manager, it tells me to specify a data source?

Yes you need internet connection in your mobile to install this.

jgarneau 2010-01-30 19:13

Re: Missing USSD functionality: N900 can't dial numbers beginning with # or *
 
OK, I found a solution for my call forwarding problem with my Nokia N900:D

First, I am from Canada and I am using phone service with this company: http://www.fido.ca/

The condition may be different if you are from a different country or you are using a different company.

To call forward your call:
1.Open X Terminal
2.type «pnatd»
3.To call forward to number 14186562131 type «AT+CCFC=0,1,"+14186562131"»
4.To cancel call forward type «AT+CCFC=0,0»
5.To check if the unconditional call forwarding is on or off type «AT+CCFC=0,2»

According to my phone company, *21*14186562131# is the USSD code to call forward. (http://www.fido.ca/web/content/faq/faq_call_forwarding)

This doesn't work with my nokia. I tried ussd-pad and ussd-widget without any success:confused:

To found the solution, I used those two links:
http://sw.nokia.com/id/95672052-6c77...ts_v1_2_en.pdf

http://www.forum.nokia.com/piazza/wi...T-Commands.doc

Thank you everyone.

KiberGus 2010-01-30 20:06

Re: Missing USSD functionality: N900 can't dial numbers beginning with # or *
 
2 jgarneau
I don'y know, why that ussd queries don't work. If you find bug in my code, I'll fix it. I'm not going to implement call forwarding application, but you are free to look at ussd-common code, especially ussdquery.py, and write your own script, which will invoke pnatd and do needed queries.

2 lendurhenry
I've implemented banner idea and redesigned workflow, now regexp is applied first, then two parsers and chain. I'll describe it on separate page.
This version will be available today or tomorrow.
Quote:

Or maybe the best solution would be to group USSD widgets and restore others names in this group while using one of those. This means you have to add two more fields – group name and check-box to indicate that only one of them can show the result at the time.
I'm not going to implement it this way. Instead I want implement interface for controlling widgets by programs, then you can organize such groups by writing specialized parsers or chains. This will make widget absolutely finished because you would be able to implement any behavior. But I don't think I'll start working on it in near future.

2 all
If you have any wishes, post them now, not when I'll swithc to another task.

jgarneau 2010-01-30 20:31

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

I don't think there is a problem with your code.

ussd-pas and ussd-widget return me the same answer as the CUSD command with pnatd «UKNOWN APPLICATION».

Thank you for your help.

KiberGus 2010-01-31 09:35

Re: Missing USSD functionality: N900 can't dial numbers beginning with # or *
 
Final version should be available as soon, as autobuilder builds it. There is also an article, describing how widget works:
http://kibergus.su/en/node/3
There are several advises hor to configure widget for different cases.

白い熊 2010-01-31 12:31

Re: Missing USSD functionality: N900 can't dial numbers beginning with # or *
 
How do you put in a reply to the operator?

Is it what the chain does?

I.e., to query the balance I need to dial *102#
that's easy, put that into the config. Then the operator sends back a menu, in which I need to select the 1st option, i.e. 1.

Should I put 1 into the chain box, or echo 1, or it doesn't work yet, or how?

KiberGus 2010-01-31 12:52

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

Originally Posted by 白い熊 (Post 503670)
How do you put in a reply to the operator?

Is it what the chain does?

I.e., to query the balance I need to dial *102#
that's easy, put that into the config. Then the operator sends back a menu, in which I need to select the 1st option, i.e. 1.

Should I put 1 into the chain box, or echo 1, or it doesn't work yet, or how?

USSD menu navigation is not supported.

白い熊 2010-01-31 13:00

Re: Missing USSD functionality: N900 can't dial numbers beginning with # or *
 
Damn it, so there is still no way to check the balance with Megafon in Russia, as they changed the direct access, to this stupid menu.

Is it hard to implement?

KiberGus 2010-01-31 13:05

Re: Missing USSD functionality: N900 can't dial numbers beginning with # or *
 
There is a way, but not in ussd widget, I'll think about it. I needed menu navigation too for activation of internet assistant. Here is how it is done:
Code:

Nokia-N900-42-11:/usr/bin# ussdquery.py *111*25#
Внимание! Будет произведена смена пароля. Введите новый пароль:
Nokia-N900-42-11:/usr/bin# ussdquery.py <My password>
Ваша заявка принята. Ждите СМС с результатом

So, basically, you just need to dial several numbers.


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

vBulletin® Version 3.8.8