USB GSM Modems

For users of the SMS connector for WinGate

Moderator: Qbik Staff

USB GSM Modems

Postby Thomas Illies » Oct 09 12 2:43 am

Hello WinGate community,

we are trying to let the SMS Connector send SMS over a Falcom SAMBA55 http://www.falcom.de/products/discontinued-items/samba5556/.
The modem is listed in the device manager under "Modems" and we can send SMS with the Microsoft (TM) SMS Sender and with "AT+CMGS=" commands per HyperTerm.

We have stripped the event processing down to an absolute minumum (explicit entered phone number and text) - but we don't get a SMS through from the Connector...

The SMS Connector lists the SAMBA in it's dropdown list and seems to poll the device; the modem log (Modem Driver Properties / Diagnostics / View log) shows activity each 15 seconds.

Has anyone of you some hints for us ?

Best regards

Thomas
Thomas Illies
 
Posts: 5
Joined: Oct 09 12 2:20 am
Location: Hamburg

Re: USB GSM Modems

Postby adrien » Oct 10 12 7:40 am

Hi Thomas

Did you try enabling debug logging for the SMS connector and see if there is any error logged?

Also, are you able to receive messages into WinGate from this device? E.g. if you send that device a message, WinGate should poll the message out and trigger an OnSMS event. Also the content would be logged in the debug logs for the SMS connector.

Regards

Adrien de Croy
adrien
Qbik Staff
 
Posts: 5183
Joined: Sep 03 03 2:54 pm
Location: Auckland

Re: USB GSM Modems

Postby Thomas Illies » Oct 10 12 6:55 pm

Hi Adrian,

the SMS log file details (Control Panel / Looging / SMS) look like this:

1 32213 10.10.2012 07:28:44.093 SMS 304 Error 0 Error 33140 in call to Receive
2 32214 10.10.2012 07:28:59.109 SMS 304 Error 0 Error 33140 in call to Receive
3 32215 10.10.2012 07:29:00.500 SMS 2968 Debug 0 Posting message to SMS engine thread, recipient "01712345678", message: "test"
4 32216 10.10.2012 07:29:00.500 SMS 304 Debug 0 Sending message: recipient "01712345678", message: "test"
5 32217 10.10.2012 07:29:14.015 SMS 304 Error 0 Error 33140 in call to Receive

Are there other SMS log files I should look for ?

In the SMS Connector help file I stumbled upon the term "Drivers allowing the telephone to be used as an SMS modem.".
The SAMBA is registered as a modem (Class=Modem, ClassGUID={4D36E96D-E325-11CE-BFC1-08002BE10318}) and can be used with TAPI etc.
Must there be a kind of SMS send / receveive API or does the SMS connector work on the serial interface with "AT+C.." commands ?

Best regards

Thomas
Thomas Illies
 
Posts: 5
Joined: Oct 09 12 2:20 am
Location: Hamburg

Re: USB GSM Modems

Postby adrien » Oct 11 12 9:22 am

Hi

the SDK we use for SMS is provided by ActiveXperts www.activexperts.com

from their support pages, error 33140 is "There is no SIM card in the GSM device"

I presume there's a SIM in the modem?

Regards

Adrien de Croy
adrien
Qbik Staff
 
Posts: 5183
Joined: Sep 03 03 2:54 pm
Location: Auckland

Re: USB GSM Modems

Postby adrien » Oct 11 12 9:23 am

p.s. I believe it uses AT commands to send SMS, but there are 2 methods, binary and text. As far as I know, both are supported though.

Adrien
adrien
Qbik Staff
 
Posts: 5183
Joined: Sep 03 03 2:54 pm
Location: Auckland

Re: USB GSM Modems

Postby Thomas Illies » Oct 12 12 9:17 pm

Right you are,
it seems I fired the SIM card - it was not recognized by the GSM modem any longer.

Now it is replaced by a valid one, and I can send manually messages to my mobile phone (terminal program and "AT+CMSGS=" command using the national number format: "0170...").

In order to check possible driver problems, I connected a GSM terminal with RS232 interface to Wingate and configured a standard 33600 bps modem.
In that configuration SMS connector receives a SMS, but the sent SMS is not delivered to my mobile phone:
114 1 12.10.2012 08:18:41.110 SMS 3324 Info 0 Starting SMS engine
115 2 12.10.2012 08:18:41.157 SMS 2100 Debug 0 Found device Standard 33600 bps Modem
116 30 12.10.2012 08:20:00.110 SMS 2340 Debug 0 Posting message to SMS engine thread, recipient 01701234567, message: "test"
117 31 12.10.2012 08:20:00.110 SMS 2100 Debug 0 Sending message: recipient 01701234567, message: "test"
118 32 12.10.2012 08:22:42.516 SMS 2100 Debug 0 1 message in mailbox
119 33 12.10.2012 08:22:42.516 SMS 2100 Debug 0 message received
120 34 12.10.2012 08:22:42.516 SMS 2100 Debug 0 Starting event worker
121 35 12.10.2012 08:22:42.516 SMS 4020 Debug 0 In SMS event worker, Incoming Message Test 2, from +491701234567
122 37 12.10.2012 08:23:00.735 SMS 2560 Debug 0 Posting message to SMS engine thread, recipient 01701234567, message: "test"
123 38 12.10.2012 08:23:00.735 SMS 2100 Debug 0 Sending message: recipient 01701234567, message: "test"
124 39 12.10.2012 08:26:00.032 SMS 3956 Debug 0 Posting message to SMS engine thread, recipient 01701234567, message: Sample event...
125 40 12.10.2012 08:26:00.032 SMS 2100 Debug 0 Sending message: recipient 01701234567, message: Sample event...


After testing some hours I just tried to specify the recipient number in the international format ("+49170...") - and that works fine:

203 56 12.10.2012 10:05:00.938 SMS 2192 Debug 0 Posting message to SMS engine thread, recipient +491701234567, message: Sample event...
204 57 12.10.2012 10:05:00.938 SMS 3140 Debug 0 Sending message: recipient +491701234567, message: Sample event...


Perhaps it is a good idea to mention this in the helpfile sms.chm and in the knowledge base...

Best regards

Thomas
Last edited by Thomas Illies on Oct 15 12 5:38 pm, edited 1 time in total.
Thomas Illies
 
Posts: 5
Joined: Oct 09 12 2:20 am
Location: Hamburg

Re: USB GSM Modems

Postby adrien » Oct 14 12 7:28 pm

Hi

yes, all numbers need to be in international format.

Sorry it wasn't more clear, I might even put it on the dialog. Glad it's working now though!

Adrien
adrien
Qbik Staff
 
Posts: 5183
Joined: Sep 03 03 2:54 pm
Location: Auckland


Return to SMS Connector for WinGate

Who is online

Users browsing this forum: No registered users and 1 guest

cron