gnokii-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: how to tts


From: Daniele Forsi
Subject: Re: how to tts
Date: Fri, 7 Dec 2012 14:14:59 +0100

I wrote:

> hm, the support for TP-Validity-Period is broken in gnokii

I just committed a fix and you can use gnokii --sendsms --validity 5
PHONE-NUMBER

Franco, can you test it?
you'll need to compile the sources from GIT, for instructions see
http://gnokii.org/git.shtml

the fix converts the user provided value instead of using a constant:
-       rawsms->validity[0] = GN_SMS_VP_72H;
+       rawsms->validity[0] = minutes2validity(sms->validity);
http://git.savannah.gnu.org/cgit/gnokii.git/commit/?id=ea4ea9811ad12b741c5fef3d11d3300f4c8b5efa

the default value is set as before (meaning 72 hours) in another
function and at this time this can be changed only when using gnokii
so smsd and xgnokii will use the default value

I have some code to check user provided values and to inform the user
of wrong values and to change the fake driver and the tests to handle
--validity, but it needs more work

-- 
Daniele Forsi



reply via email to

[Prev in Thread] Current Thread [Next in Thread]