Reply
Thread Tools
eitama's Avatar
Posts: 702 | Thanked: 334 times | Joined on Feb 2010 @ Israel.
#1
Hi,

Some of you may know, I am the author of horizontal-call (in the sig),
I have had some people ask me for the ability to add an option to append or prepend numbers/chars to all outgoing calls made by horizontal call.

Specifically, codes that control if your number is sent or the caller ID is hidden. I tried adding the following string
Code:
#31#
inside the C++/Qt code of the app just to test it, but the call won't go through.

Also if i try to add that to the contact, and dial it with horizontal-call it also fails, I get a message from my operator that "This number is not a valid number and cannot be dialed".

So my question is, what does one need to send to the dbus call to the gsm module in order to call for example :
Code:
#31#0544724972
Fictional number ofc :0)

I'd appreciate any help in the field.

Thanks,
Eitam.
__________________
| Developer of Horizontal-Call - Call your contacts, fast! |
| Reverse SSH - access your N900 from anywhere, anytime |
| Using Samsung Galaxy S GT-i9000 and Nokia N900 |
| DonateMe - If you feel I helped you in a very good way, feel free to donate |
 

The Following User Says Thank You to eitama For This Useful Post:
Posts: 5 | Thanked: 0 times | Joined on Jun 2010
#2
Hello eitama,

Actually i see a mistake in the way you are trying to dial and that's the reason your operator sends error.

First off:
#31# - Hide ID
*31# - Show ID

So if my number is 0898 123 456 and my country code is 359 the number you have to dial looks like this - +359 898 123 456
When you add the code it should look like this - *31#+359898123456

I have tested the exact same way with the N900 official dialing program and it works .... doesn't work without the + before the country code.

Hope this helps.
Best regards!
 
eitama's Avatar
Posts: 702 | Thanked: 334 times | Joined on Feb 2010 @ Israel.
#3
Originally Posted by chillout View Post
Hello eitama,

Actually i see a mistake in the way you are trying to dial and that's the reason your operator sends error.

First off:
#31# - Hide ID
*31# - Show ID

So if my number is 0898 123 456 and my country code is 359 the number you have to dial looks like this - +359 898 123 456
When you add the code it should look like this - *31#+359898123456

I have tested the exact same way with the N900 official dialing program and it works .... doesn't work without the + before the country code.

Hope this helps.
Best regards!
Dialing #31#05447246135 from the built in app works, dialing that from horizontal-call doesn't. I am using a standard dbus call to make the calls, I guess i Just doesn't support it, or makes changes before dialing that I am not making.

Still need more info sadly.
__________________
| Developer of Horizontal-Call - Call your contacts, fast! |
| Reverse SSH - access your N900 from anywhere, anytime |
| Using Samsung Galaxy S GT-i9000 and Nokia N900 |
| DonateMe - If you feel I helped you in a very good way, feel free to donate |
 

The Following User Says Thank You to eitama For This Useful Post:
Posts: 5 | Thanked: 0 times | Joined on Jun 2010
#4
Hello there eitama and all that have my problem,

I am puzzled about why i didn't think of this simple fix to my problem earlier, i could have spared you the time and efford to help me.
I've just found out that deactivating/activating my CLIR function takes about 10 secs and considering i don't hide my number at all i guess this could pass for a solution

Horizontal-Call works like a charm now, thanks for this great app!!

Thanks eitama!
 
Posts: 1,341 | Thanked: 708 times | Joined on Feb 2010
#5
There is also starhash-enabler application which brings support to these *#-codes.
http://my-maemo.com/software/applica...to=1622&faq=42
 
MohammadAG's Avatar
Posts: 2,473 | Thanked: 12,265 times | Joined on Oct 2009 @ Jerusalem, PS/IL
#6
Originally Posted by zimon View Post
There is also starhash-enabler application which brings support to these *#-codes.
http://my-maemo.com/software/applica...to=1622&faq=42
He knows the codes are supported, he's asking if there's a way to use dbus calls to dial them, using dbus here just fails with the codes, I even tried escaping the # with a \ but it didn't work
 
peterleinchen's Avatar
Posts: 4,118 | Thanked: 8,901 times | Joined on Aug 2010 @ Ruhrgebiet, Germany
#7
Sorry for reviving this thread. But I do want exactly that. Set the call forwarding (with USSD codes) by means of dbus call from within a script.
(I have dual SIM adapter and want the forwarding to be en-/disabled automatically on switching.)

Already puzzled with USSD packages, but no success. Also tried to escape/bundle those characters in string....

So, anybody got a solution here?
Could also be anything else, but I need to get those codes activated from within a script.

P.S.: of course got *#-enabler installed and working fine fom call-ui...
 
peterleinchen's Avatar
Posts: 4,118 | Thanked: 8,901 times | Joined on Aug 2010 @ Ruhrgebiet, Germany
#8
So, no chance to use *# from a dbus call (just call-ui)?
If anybody is out there who knows, then he may speak now ...

--edit
this is how a call with dbus works
/usr/bin/dbus-send --system --dest=com.nokia.csd.Call --type=method_call /com/nokia/csd/call com.nokia.csd.Call.CreateWith string:"0123456789" uint32:0

and this is what I want to achieve, e.g.:
/usr/bin/dbus-send --system --dest=com.nokia.csd.Call --type=method_call /com/nokia/csd/call com.nokia.csd.Call.CreateWith string:"*21*0987654321#" uint32:0
or simply just
string:"*21#"
string:"#21#"

Last edited by peterleinchen; 2011-11-05 at 11:50.
 
Posts: 567 | Thanked: 2,966 times | Joined on Oct 2009
#9
For USSD, you need to use com.nokia.csd.SS.USSD
And no I dont know how you use that.
 
peterleinchen's Avatar
Posts: 4,118 | Thanked: 8,901 times | Joined on Aug 2010 @ Ruhrgebiet, Germany
#10
Thanks for the hint, but could not get it...
Maybe because of case-sensitivity or wrong type/function call?

Is there anywhere a list with those dbus destinations, types and functions?
 
Reply

Thread Tools

 
Forum Jump


All times are GMT. The time now is 11:07.