|
|
SMS Server Tools 3 Community |
Welcome, Guest. The forum is currently read-only, but will open soon. |
Mon Oct 20, 2025 08:01 |
Page: 1
Keywords: Mode: All keywords (AND) |
Fri Jul 01, 2011 09:51
|
frank42: Operating system name and version: SUSE Linux Enterprise Server 11.1 (x86_64)
Version of smsd: 3.1.14
Smsd installed from: sources
Name and model of a modem / phone: ISDN
Interface: serial
Hi,
For redundancy and fallback reasons, I'm trying to configure smsd to use a GSM _and_ an ISDN modem. I configured like that:
[ISDN1]
device = /dev/ttyS0
mode = old
smsc = 491722278020
pre_init = no
init = ATE1Q0V1M1X3
incoming = yes
pin = ignore
baudrate = 19200
report = yes
queues = DE
Currently, it doesn't seem to work, because I'm getting "Modem did not accept mode selection" even though I set "mode = old".
So, is there any howto or configuration reference specific to ISDN modem setup or has someone a hint on doing this? The second problem will be how to set this up - based on the existing YAPS configuration it seems that I need different smsc configuration for the different recipient networks (D1, D2, o2 etc.). Don't know how to handle this either (yet).
Frank
|
Fri Jun 17, 2011 16:20
|
frank42: Fsck, screw it - the ATZ didn't come through correctly - now it works.
|
Fri Jun 17, 2011 14:50
|
frank42: Hmmm, looks like that didn't do the trick. I even restarted the server but the warning messages are present again...
|
Fri Jun 17, 2011 13:58
|
frank42:
Use a modem setting loglevel_lac_ci = 8 which disables CREG=2 feature. You also need to reset the modem, as it is in CREG=2 state currently (smsd does not reset it).
Thanks, seems to help.
( PRIVATE BLOCK )
Fixed. Sorry and thanks for the hint.
|
Thu Jun 16, 2011 13:01
|
frank42: Moin,
Operating system name and version: SUSE Linux Enterprise Server 11 Patchlevel 1 (x86_64)
Version of smsd: 3.1.14
Smsd installed from: sources
Name and model of a modem / phone: Siemens M20T
Interface: USB
After successful installation and testing all runs fine, except one thing that's strange to me. After different time delays I'm getting lots of messages like that:
2011-06-16 14:47:03,3, GSM1-M20T: Unexpected input: +CREG: 1,"019D","B484"
2011-06-16 14:50:38,3, GSM1-M20T: Unexpected input: +CREG: 1,"019D","B484"
2011-06-16 14:50:58,3, GSM1-M20T: Unexpected input: +CREG: 1,"019D","B483"
2011-06-16 14:53:14,3, GSM1-M20T: Unexpected input: +CREG: 1,"019D","B484"
2011-06-16 14:53:34,3, GSM1-M20T: Unexpected input: +CREG: 1,"019D","B483"
2011-06-16 14:56:32,3, GSM1-M20T: Unexpected input: +CREG: 1,"019D","B484"
2011-06-16 14:58:10,3, GSM1-M20T: Unexpected input: +CREG: 1,"019D","B484"
2011-06-16 14:58:30,3, GSM1-M20T: Unexpected input: +CREG: 1,"019D","B483"
2011-06-16 14:58:50,3, GSM1-M20T: Unexpected input: +CREG: 1,"019D","B484"
2011-06-16 15:00:49,3, GSM1-M20T: Unexpected input: +CREG: 1,"019D","B484"
Does anyone know what this comes from and how to fix that?
Regards
Frank
|
Wed Jun 15, 2011 12:32
|
frank42: Ok, for the ones that already read this - forget it - the problem was so simple - wrong number in smsc configured ...
|
Wed Jun 15, 2011 12:17
|
frank42: Hmmm, I just accidentially detected a possible cause for the "error 500" thing... when trying to use the modem manually (e.g. with kermit) the same things happen, but when I try to init a voice call into the mobile network, then NO CARRIER occurs, while a voice call to a landline number works fine. Looks to me like a problem with the SIM card, but what kind of problem could cause that?
|
Wed Jun 15, 2011 11:04
|
frank42: Hi there,
I would like to get some advice in using a Siemens M20 modem, my details are:
Operating system name and version: SUSE Linux Enterprise Server 11 Patchlevel 1
Version of smsd: 3.1.14
Smsd installed from: sources
Name and model of a modem / phone: Siemens M20
Interface: USB
My modem is currently configured like this:
[GSM1]
device = /dev/ttyUSB0
incoming = yes
pre_init = yes
init = AT+CBC;+CSQ
pin = ****
smsc = 49173*******
baudrate = 19200
report = yes
When trying to send an SMS, the following error log output occurs:
2011-06-15 12:40:57,5, smsd: Moved file /var/spool/sms/outgoing/send_XJaFEI to /var/spool/sms/DEFAULT
2011-06-15 12:40:57,6, GSM1: I have to send 1 short message for /var/spool/sms/DEFAULT/send_XJaFEI
2011-06-15 12:40:57,6, GSM1: Sending SMS from to 49172*******
2011-06-15 12:40:57,6, GSM1: Checking if modem is ready
2011-06-15 12:40:57,7, GSM1: -> AT
2011-06-15 12:40:57,7, GSM1: Command is sent, waiting for the answer
2011-06-15 12:40:57,7, GSM1: <- OK
2011-06-15 12:40:57,6, GSM1: Pre-initializing modem
2011-06-15 12:40:57,7, GSM1: -> ATE0+CMEE=1;+CREG=2
2011-06-15 12:40:57,7, GSM1: Command is sent, waiting for the answer
2011-06-15 12:40:58,7, GSM1: <- OK
2011-06-15 12:40:58,6, GSM1: Checking if modem needs PIN
2011-06-15 12:40:58,7, GSM1: -> AT+CPIN?
2011-06-15 12:40:58,7, GSM1: Command is sent, waiting for the answer
2011-06-15 12:40:58,7, GSM1: <- +CPIN: READY OK
2011-06-15 12:40:58,6, GSM1: Initializing modem
2011-06-15 12:40:58,7, GSM1: -> AT+CBC;+CSQ
2011-06-15 12:40:58,7, GSM1: Command is sent, waiting for the answer
2011-06-15 12:40:59,7, GSM1: <- +CBC: 1,100 +CSQ: 22,0 OK
2011-06-15 12:40:59,7, GSM1: -> AT+CSQ
2011-06-15 12:40:59,7, GSM1: Command is sent, waiting for the answer
2011-06-15 12:41:00,7, GSM1: <- +CSQ: 22,0 OK
2011-06-15 12:41:00,6, GSM1: Signal Strength Indicator: (22,0) -69 dBm (Excellent), Bit Error Rate: less than 0.2 %
2011-06-15 12:41:00,6, GSM1: Checking if Modem is registered to the network
2011-06-15 12:41:00,7, GSM1: -> AT+CREG?
2011-06-15 12:41:00,7, GSM1: Command is sent, waiting for the answer
2011-06-15 12:41:00,7, GSM1: <- +CREG: 2,1,"019D","B484" OK
2011-06-15 12:41:00,6, GSM1: Modem is registered to the network
2011-06-15 12:41:00,6, GSM1: Selecting PDU mode
2011-06-15 12:41:01,7, GSM1: -> AT+CMGF=0
2011-06-15 12:41:01,7, GSM1: Command is sent, waiting for the answer
2011-06-15 12:41:01,7, GSM1: <- OK
2011-06-15 12:41:01,6, GSM1: Changing SMSC
2011-06-15 12:41:01,7, GSM1: -> AT+CSCA="+49173*******"
2011-06-15 12:41:01,7, GSM1: Command is sent, waiting for the answer
2011-06-15 12:41:02,7, GSM1: <- OK
2011-06-15 12:41:02,7, GSM1: -> AT+CMGS=23
2011-06-15 12:41:02,7, GSM1: Command is sent, waiting for the answer
2011-06-15 12:41:02,7, GSM1: <- >
2011-06-15 12:41:03,7, GSM1: -> 0031000C919471521140650000FF0A6276180D12B3EB6231.
2011-06-15 12:41:03,7, GSM1: Command is sent, waiting for the answer
2011-06-15 12:41:07,7, GSM1: <- +CMS ERROR: 500 (Unknown error)
2011-06-15 12:41:07,3, GSM1: The modem answer was not OK: +CMS ERROR: 500 (Unknown error)
2011-06-15 12:41:07,5, GSM1: Waiting 10 sec. before retrying
Does anyone have a hint on this "error 500" thing?
|
Page: 1
Time in this board is UTC.
|
|
|
 |
|
 |
|