Re: Inject USSD when SMSd is running

Emiliano Vazquez <[email protected]>
Newsgroups gmane.linux.drivers.gammu
Organization PcCentro S.R.L.
Message-ID <[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/
> 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
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.