call divert / injecting AT command to gammu SMS daemon

Michał Woźniak <[email protected]>
Newsgroups gmane.linux.drivers.gammu
Message-ID <[email protected]>
Hello,

I need to do call diverts(redirects) on SIM card which is used by gammu sms
daemon all the time. The divert operation can be done few times per day.
Gammu sms daemon is occupying communication with GSM modem 24h/day. I
cannot send any AT command to port, while daemon is running. Gammu tool(not
daemon) have ready to use commands to divert calls, and they work
perfectly, while daemon is stopped. Of course, when daemon is running
command correctly claims, that port is busy.

Is there any way to gently inject AT commands to gammu-smsd, and read the
response?

My idea is to: 1. Stop daemon. 2. Perform call divert, read the result 3.
Start daemon but this idea don't look like smart or elegant solution.

If injecting commands to sms daemon is not possible, is there any gentle
way to stop the daemon not by killing process? I don't want to interrupt
daemon work, while it is sending SMS.





Best Regards,

Michal

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most 
engaging tech sites, SlashDot.org! http://sdm.link/slashdot

_______________________________________________
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.