You are not logged in.

#1 2016-01-25 04:20:28

Docbroke
Member
From: India
Registered: 2015-06-13
Posts: 1,438

[solved] Gammu getussd gives blank reply

@Mods: I am not sure if this post is in right place (networking), feel free to move!

I am using Dell latitude E6230, with mobile-broadband card and a 3G sim. I used to check my pre-paid balance with gammu getussd command, but since last 1-2 months it gives only blank reply,

gammu getussd *112*06#
Press Ctrl+C to break...
USSD received
Status               : No action needed
Service reply        : ""

The same ussd code still works as I checked from mobile phone.

My .gammurc is as follows

[gammu]

device = /dev/ttyACM0
model =
connection = at
synchronizetime = yes
logfile =
logformat = nothing
use_locking =
gammuloc =

Last edited by Docbroke (2016-01-26 09:05:19)

Offline

#2 2016-01-25 13:57:10

R00KIE
Forum Fellow
From: Between a computer and a chair
Registered: 2008-09-14
Posts: 4,734

Re: [solved] Gammu getussd gives blank reply

Check if gammu was updated around the time you started having problems. If yes, try downgrading gammu and check if it works again. If it does work with an older version then you may have found a bug and should report it and/or seek further help upstream [1].

[1] http://wammu.eu/support/lists/


R00KIE
Tm90aGluZyB0byBzZWUgaGVyZSwgbW92ZSBhbG9uZy4K

Offline

#3 2016-01-25 15:03:04

Docbroke
Member
From: India
Registered: 2015-06-13
Posts: 1,438

Re: [solved] Gammu getussd gives blank reply

thanks ROOKIE, I downgraded to gammu-1.36.6-1-x86_64.pkg.tar.xz (13 Oct) from current gammu-1.36.8-1 and it worked.

gammu getussd *112*02#
Press Ctrl+C to break...
USSD received
Status               : No action needed
Service reply        : "On DATA Pack u have 4Gb 96Mb 906kb valid until 21/05/2016   upto time of data recharge done by u."

issue posted on github, marking this as solved

Last edited by Docbroke (2016-01-26 09:04:54)

Offline

Board footer

Powered by FluxBB