maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   [N900] USSD for All and Vodafone do not work (Forwarding a call) (https://talk.maemo.org/showthread.php?t=85754)

Acurus_ 2012-07-29 08:02

[N900] USSD for All and Vodafone do not work (Forwarding a call)
 
I have a german Vodafone Card. The Vodafone documentation says, with

**21*number#

I can set up a call forwarding. When I try this code with "USSD for All", I get this Information: "Error: Timeout. Modem didn't reply".

I get this message for every code, I try (for example "Status check" and so on).

Any idea?

peterleinchen 2012-07-29 09:01

Re: [N900] USSD for All and Vodafone do not work
 
Yes, forget about USSD for all, I also could not get it working.

I just released a package (sim-switcher, not yet in repos), where I use automatic script-based call forwarding.
Sth like that:
Code:

/usr/bin/dbus-send --system --print-reply --type=method_call --dest=com.nokia.csd.SS /com/nokia/csd/ss com.nokia.csd.SS.DivertActivate uint32:CODE string:"INTL_NUMBER" uint32:
See the phone control wiki for more details. Or come back here ...

Acurus_ 2012-07-29 09:23

Re: [N900] USSD for All and Vodafone do not work
 
Thanks. When I understand it right, your posted string could work with Vodafone? Because I do not see that special Vodafone code (**21*number#) inside your string.

When it should work, is it possible to put this string in a Widget?

And is this the string, to cancel the activated forwarding?

Code:

dbus-send --system --type=method_call --print-reply --dest=com.nokia.csd.SS /com/nokia/csd/ss com.nokia.csd.SS.DivertCancel uint32:1 string: uint32:

peterleinchen 2012-07-29 09:46

Re: [N900] USSD for All and Vodafone do not work
 
Yes.
Yes.
Yes.
:)


My posted code(s) will work with every GSM network (especially tested with VF DE ;)).

Just put it into DCE or Beacon or desktop.

And the above code will deactivate the call forwarding for unconditonal forwarding (all calls). Be careful to not mix that with other forwardings (will not work).

The wiki has all condition codes (GSM **21*... is dbus 1 is unconditional).

Acurus_ 2012-07-29 09:53

Re: [N900] USSD for All and Vodafone do not work
 
Okay :) Here are two different strings for "Forward all ('unconditional') calls". Two questions:

1. Which one I shall use?

2. Inside the strings are " before and after the number. Do the " have to be used inside the string?

ginggs 2012-07-29 09:54

Re: [N900] USSD for All and Vodafone do not work
 
Quote:

Originally Posted by Acurus_ (Post 1244418)
I have a german Vodafone Card. The Vodafone documentation says, with

**21*number#

I can set up a call forwarding. When I try this code with "USSD for All", I get this Information: "Error: Timeout. Modem didn't reply".

I get this message for every code, I try (for example "Status check" and so on).

Any idea?

I think the problem is these codes for diverting calls, etc. are not actually USSD queries.

It would be nice if USSD for All could recognize them and make the appropriate Dbus calls.

peterleinchen 2012-07-29 10:19

Re: [N900] USSD for All and Vodafone do not work
 
@acurus_
First:
it doesnt' matter, both do the same. Where I see the '1' as more official, even there is no documentation, just testing.
Second:
Yes, the "" are needed.

@gings
These diverting codes are standard GSM codes.
Where as USSD codes are supplementary, aiui.

And my assumption about 'USSD for all' not working is PR1.3 and starhash-enabler replacing this functionality. Just a guess, but I did a lot of testing with USSD for all and hex-editing and so, but to no avail.

Acurus_ 2012-07-29 10:22

Re: [N900] USSD for All and Vodafone do not work
 
Thanks again. Now I will try that monster BeeCon for using the strings. But that is another story ....

Acurus_ 2012-07-29 11:42

Re: [N900] USSD for All and Vodafone do not work
 
It is working!!!!! I have set up two buttons with BeeCon. The fist one is forwarding every call to another telephone number:

Code:

dbus-send --system --type=method_call --print-reply --dest=com.nokia.csd.SS /com/nokia/csd/ss com.nokia.csd.SS.DivertActivate uint32:1 string:"+12223456789" uint32:
The second one stopps the forwarding:

Code:

dbus-send --system --type=method_call --print-reply --dest=com.nokia.csd.SS /com/nokia/csd/ss com.nokia.csd.SS.DivertCancel uint32:1 string: uint32:


All times are GMT. The time now is 04:16.

vBulletin® Version 3.8.8