Re: Inject USSD when SMSd is running

gilberto dos santos alves <[email protected]>
Newsgroups gmane.linux.drivers.gammu
Message-ID <CAP9G-NKQFMpR=SvEVw4HbEbNqbovmOaFVQQZ3NLnRRAcSU2hsg@mail.gmail.com>
[1] http://www.tldp.org/LDP/abs/html/io-redirection.html
try start your script from gammu-smsd (could use your script runonce)
problem with this is device share with gammu no be exclusive you must
change device mode, and redirect your results for some handled stdoutput
and stderror.
regards.


2016-07-06 9:01 GMT-03:00 Emiliano Vazquez <[email protected]>:

> El 06/07/16 a las 08:46, gilberto dos santos alves escribió:
>
> [1] <http://www.cyberciti.biz/faq/linux-command-line-run-in-background/>
> http://www.cyberciti.biz/faq/linux-command-line-run-in-background/
> hi.
> IMHO, for kill process you need some time after kill comand, like 5
> seconds.
> for start of gammu add a char & that meaning running in background process
> for more control state.
> use some control time between commands.
>
> This scenario is already working now. Every command waits without
> time.sleep or another user interaction.
>
> The main problem is about avoid kill gammu and start it again. If i do
> this i lost at least 30 seconds to run my nasty script and gammu delete
> statistics "sent" and "received" from phones table.
>
> At this moment the only question is if there are any way to run a USSD
> command (without user interaction) and gammu-smsd at the same time. Of
> course, when you run USSD you can't still sending SMS. I would like to know
> if there is a better way to do this.
>
> Thanks for your time!
>
> Emiliano
>
>
> ------------------------------------------------------------------------------
> Attend Shape: An AT&T Tech Expo July 15-16. Meet us at AT&T Park in San
> Francisco, CA to explore cutting-edge tech and listen to tech luminaries
> present their vision of the future. This family event has something for
> everyone, including kids. Get more information and register today.
> http://sdm.link/attshape
> _______________________________________________
> Gammu-users mailing list -
> https://lists.sourceforge.net/lists/listinfo/gammu-users
>
>


-- 
gilberto dos santos alves
+55(11)9-8646-5049
sao paulo - sp - brasil

------------------------------------------------------------------------------
Attend Shape: An AT&T Tech Expo July 15-16. Meet us at AT&T Park in San
Francisco, CA to explore cutting-edge tech and listen to tech luminaries
present their vision of the future. This family event has something for
everyone, including kids. Get more information and register today.
http://sdm.link/attshape

_______________________________________________
Gammu-users mailing list - https://lists.sourceforge.net/lists/listinfo/gammu-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.