SendSMS Frequently Asked Questions

Why do I need a phone number for registration?
The phonenumber is a part of the registration key ans is a part of the messages to send. So you should specify the number of your modem line or of your office.

Why do I always get error -10 and/or -34 although the device seems to dial?
Maybe the service computer of your provider is overloaded. This is a common problem for all German providers, please contact the provider and ask for better access lines.

Why do I always get error -23 although there is a device defined?
You have selected a provider which reuieres a different type of device. For example if you select select a provider with LINETYPE=ISDN and there is only a modem (LINETYPE=ANALOG) defined you will get this error.

What is the meaning of error number -8?
The service computer has to answer to a request within a specified timeout. If this doesn't happen you will receive this error. If you haven't defined a PROTOCOLTIMEOUT (sendsms.pro) a default is used which is higher then the recommended protocol specification, but you can try to increase that value.

What is the meaning of error number -10?
The service computer has to send at the beginning of a TAP session the string ID=. The errornumber -10 indicates that SendSMS didn't receive that string and thatswhy was not able to continue. Maybe the workload on the service computer is too much at that time and it will work if you try it again at a later time. Maybe the service computer doesn't support the TAP protocol, then you have to edit the file sendsms.pro and change the protocol for the provider from TAP to UCP (this only happens if you specified a new provider definition which wasn't preconfigured). When both doesn't work then there is a problem reading from the device. In that case try to set WAITAFTERWRITE and/or WAITAFTERCONNECT.

What is the meaning of error number -16?
SendSMS got a connection to the service provider, but the provider didn't accept the message. This can be a temporary problem (too much workload on the service computer) or you have specified the wrong protocol for the provider. If the provider uses UCP you have to set the MODEMINIT parameter to the command to switch your modem to V.42/LAPM. If theis isn't possible set WAITAFTERCONNECT to about 2 seconds (maybe more, you have to try).

What is the meaning of error number -34?
SendSMS didn't get a connection to the service provider. Maybe your modem is blocked by another program, all incoming lines of the provder are busy or you have specified the wrong protocol (TAP) for the provider.

What is the meaning of error number -39?
SendSMS can't run in server mode. If you get this message then either SendSMS isn't able to create a PID file (not enough access rights) or there is already another regular PID file (sendsms.pid). In the first case you have to give SendSMS the required rights to generate the PID file and in the second case you have to test wether there is already a SendSMS server running or there is any other process with PID in sendsms.pid (this may happen after a system crash). If there is server already running everything is OK, if not you have to manually delete the obsolete PID file.

SendSMS seems to communicate with my modem, but always aborts with the message 'no connection'
Maybe your modem doesn't answer with a 'CONNECT' message after the connection is established. You should add a command in the INIT string to force the modem to answer with 'CONNECT'.

Why does SendSMS get a connection to the service provider, but can't send the message?
This can be a temporary problem, so try it again. If the error still occurs check the settings for the provider and the modem settings. If all is correct try differnet settings for the parameters WAITAFERCONNECT, RTSCTS and WAITAFTERWRITE.

What is the meaning of WAITAFTERCONNECT?
For the UCP protocol the modem has to use V.42/LAPM. If this isn't possible SendSMS has to wait after the modem got a CONNECT up to 15 seconds (protocol specification).

Why are in sendsms.pro the additional parameters MODEMINIT, BAUD, ...?
In sendsms.cfg you specify the global settings for your devices, which are used for all providers. But some providers need special settings which you can specify in sendsms.pro and which are only used for the corresponding provider.

I can send messages to D1 and D2 but Scall and Skyper doesn't work
Using Scall and Skyper with a modem you have to set MODEMINIT in sendsms.pro in a manner to tell the modem not to filter XON/XOFF characters.

How can I send messages to Scall, Skyper or CityRuf using ISDN?
If you are using CAPI 2.0 you can use the predefined providers with the extension _ISDN. If you are using a ISDN terminaladapter or any device driver you have to define a MODEMINT string (in sendsms.pro) to use the correct protocols (B2=X.75, B3=T.70NL/T.90NL).

Why can I receive but not send messages with my GSM card/modem?
Maybe you have to remove (or to set) the parameter PDUWITHOUTSCA=1 in sendsms.cfg chapter [Device]. Conferming to GSM 07.05 a PDU (used in a send request) should be prefixed by the SCA, but some devices require the PDU without SCA (e.g. Siemens M1, Falcom A1, Xircom CreditCard).

How can I use mutiple ISDN adapters with SendSMS?
Define multiple devices (DEVICETYPE=CAPI 2.0) in sendsms.cfg each with different values for the parameter CONTROLLER.

I'm using CAPI 2.0 and can't get any connection?
Maybe you haven't set the parameter MSN in sendsms.cfg or you have set a wrong number. Some PBX doesn't allow to connect if you are using a wrong number. Onother problem may be the parameter DIALPREFIX. Using CAPI you can't use any modem commands (for example ATDT) within this parameter. Specify ONLY the digit(s) you require to get a line.

I can send SMSs with my GSM modem, but I can't read incoming messages
Maybe you have to set a different memory address in the parameter INIT2 in the chapter [Device] in sendsms.cfg (for example: INIT2=AT+CPMS="SM").

SendSMS works fine but if I call it within a batch or in the background it does not work
You should increase the priority for SendSMS (parameter PRIORITY in sendsms.cfg). The value has to be in the range from -15 (high) to 15 (low).

I'm trying to use SendSMS with an AVM B1 ISDN adapter, but it doesn't work
Please check which B1 firmware you are using. You have to use at least version 3.06-12.

I can't start setup or sendsms on Linux
It seems that you have an old version of glibc. Please install glibc 2.0 (libc 6.0) and try again.

I can install SendSMS as a service (using WindowsNT), but the service doesn't start
Please check that the SYSTEM account has access rights to the directory where you have installed SendSMS and that this directory is on a local drive. If you wan't give access rights to the SYSTEM account, you can run the service on any local account. For that go to Settings/Control Panel/Services, select the service SendSMS, select Schedule and change the settings for "Log On As:" from SystemAccount to This Account.

I use the command line parameter -I, but the message is not shown immediately
This feature is not supported by all protocols. Using UCP it is only supported with function 51 (PROTOCOL=UCP[51] in sendsms.pro). Not all phones are able to display messages immediately.


Böcherer Angewandte Informatik
 
Scheffelstraße 17a
D-76135 Karlsruhe
Tel: +49 (0)721 9109 550
Fax: +49 (0)721 9109 555
Email: info@bai.de
WWW: http://www.bai.de