SMS Server Tools 3
 Menu
Basic information:
Additional information:
Support:
Get SMS Server Tools 3:
Additional Options

 Sponsored links

 Search
Custom Search

 Visitor locations
 
 SMS Server Tools 3 Community
Welcome, Guest. The forum is currently read-only, but will open soon. Sat Dec 21, 2024 17:16
SMSTools3 Community » Help and support Bottom

[fixed in 3.1.15] "S" functionality broken?

  This topic is locked

Page:  1

Author Post
Member
Registered:
Apr 2011
Location: athens, Greece
Operating system name and version: centos 5.5
Version of smsd: 3.1.14
Smsd installed from: sources
Name and model of a modem / phone: mc35
Interface: serial

I'm trying to call a short number



but log says


Obviously +s1286 is not the correct number.
Am I missing something or it is a bug?

Administrator
Registered:
May 2009
Location: Jyväskylä, Finland
It can be seen as a bug, because 's' is not handled in the code. Thanks for reporting this.

While waiting for the next version, use the header To_TOA: National and give the number without the s prefix.

Or, here is the fix, if you want to apply it to the code and keep the message as it is. File smsd.c:

        writelogfile(LOG_INFO, 0, "I have to make a voice call to %s, with (%i times) DTMF %s",
                     to,count,part_text);

        // 3.1.15: Fix: Did not make a voicecall to short number starting with 's'.
        if (*to == 's')
          sprintf(command, "ATD%s;\r", to + 1);
        else
        if (set_numberformat(NULL, to, to_type) == NF_INTERNATIONAL)
          sprintf(command, "ATD+%s;\r", to);
        else
          sprintf(command, "ATD%s;\r", to);

 
'c' Syntax Highlight powered by GeSHi


Member
Registered:
Apr 2011
Location: athens, Greece
Topic owner
Nice !

I did the code changes, recompiled and worked like a charm!.

I was able to select special program via dtmf commands.

Now, if the earphone is connected to the pc's voice card can we have an external script forked, that would record the input for the "wait" seconds and then send it via email in mp3 format?

Just an idea.... (since providers don't always provide remaining calls via sms )
next step would be to do voice recognition on the received mp3 and produce text output.

Kind regards

  This topic is locked

Page:  1

SMSTools3 Community » Help and support Top

 
Time in this board is UTC.  

Privacy Policy   SMS Server Tools 3 Copyright © Keijo Kasvi.