Re: Slow USSD
gilberto dos santos alves <[email protected]>
| Newsgroups | gmane.linux.drivers.gammu |
|---|---|
| Message-ID | <CAP9G-NKyGw2ZZkVmLsSswG69WMWNcCjiH4L3pAo8GTQhtLtBtg@mail.gmail.com> |
IMO gammu-smsd is waiting for send your ussd. please make a single test. stop gammu-smsd and test using gammu command [1] ussd direct to your device and using log options see how many seconds each ussd spend. see that ussd is a service depending of tel company. if you use 2 different devices each one with SIM. todays these devices are cheap. if you look at your log file you could see (with loglevel 255) all messages, times and what is going on gammu-smsd. [1] http://wammu.eu/docs/manual/gammu/ 2015-05-03 14:27 GMT-03:00 Jugurtha Hadjar <[email protected]>: > Hello, > > > I have wrote something that executes a USSD command upon reception of SMS. > > The way the code is working right now is: > - Check for gammu-smsd pid. > - Kill it. > - Execute USSD command. > - Restart gammu-smsd. > > There are two issues (like one and a half): > - Is there a way to avoid killing gammu-smsd: > Rationale: gammu-smsd can send messages (gammu-smsd-inject) and I'm > wondering if USSD commands can be queued like messages are.. > > But this is not a big deal, as I'm suffering this just on the testing > phase, I'll use different SIMs for SMS reception and USSD execution. > > What will be a problem though, is the following: > > - Executing USSD is slow (slower than it used to be): > From start to finish, it's waiting an average of one minute. > I'm wondering if there's any way to speed this up, for instance if > there's no prompting from the carrier, can it stop executing right when > it receives the response from the operator? > > One minute for each message is a lot. Can someone point me to a solution > that's fast? > > Thanks, > > -- > ~Jugurtha Hadjar, > > > ------------------------------------------------------------------------------ > One dashboard for servers and applications across Physical-Virtual-Cloud > Widest out-of-the-box monitoring support with 50+ applications > Performance metrics, stats and reports that give you Actionable Insights > Deep dive visibility with transaction tracing using APM Insight. > http://ad.doubleclick.net/ddm/clk/290420510;117567292;y > _______________________________________________ > 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 ------------------------------------------------------------------------------ One dashboard for servers and applications across Physical-Virtual-Cloud Widest out-of-the-box monitoring support with 50+ applications Performance metrics, stats and reports that give you Actionable Insights Deep dive visibility with transaction tracing using APM Insight. http://ad.doubleclick.net/ddm/clk/290420510;117567292;y _______________________________________________ Gammu-users mailing list - https://lists.sourceforge.net/lists/listinfo/gammu-users