|
Hello, I have a trouble with sending SMS via Kannel configured
to work with SONY/Ericsson GR47 GSM modem. See Kannel configuration below. When I’m
sending simple SMS – I’m getting error ‘304 Invalid PDU mode
parameter’. URL is ‘http://localhost:13013/cgi-bin/sendsms?username=smsuser&password=smspass&text=test&to=xxxxxxxx' OS Linux RHAS3. Would anybody you help me? What I’m doing
wrong? Note: The same configuration is working on the
different location with different SIM card. __ Sincerely, Egor. === Config === group = core admin-port = 13000 smsbox-port=13001 admin-password = xxxxxx admin-deny-ip = "*.*.*.*" admin-allow-ip = "127.0.0.1" log-file = "/var/kannel/log/bearerbox.log" log-level = 0 box-allow-ip = "*.*.*.*" access-log = "/var/kannel/log/bearerbox-access.log" store-file = "/var/kannel/kannel.store" ssl-server-cert-file = "/var/kannel/test.crt" ssl-server-key-file = "/var/kannel/key" udp-allow-ip="*.*.*.*" group = smsc smsc = at modemtype = sonyericsson_gr47 device = /dev/ttyS0 speed = 9600 log-file = "/var/kannel/log/smsc.log" log-level = 0 group=smsbox bearerbox-host = 127.0.0.1 sendsms-port = 13013 sendsms-url=""> log-file = "/var/kannel/log/smsbox.log" log-level = 0 access-log = "/var/kannel/log/smsbox-access.log" group = sms-service keyword = nop text = "You asked
nothing and I did it!" catch-all = true group=sendsms-user username="smsuser" password="smspass" user-deny-ip = "*.*.*.*" user-allow-ip = "127.0.0.1" default-sender="1234" group = modems id = sonyericsson_gr47 name = "Sony Ericsson GR47" detect-string = "GR47" message-storage = "ME" #Use this if sim-buffering = true init-string = "AT+CNMI=3,1,0,0" #Use this if sim-buffering = false #init-string = "AT+CNMI=3,2,0,0" reset-string = "ATZ" broken = true no-pin = true no-smsc = true === Log smsc.log === 2005-04-22 13:40:09 [5821] [7] DEBUG:
AT2[/dev/ttyS0]: TP-Validity-Period: 24.0 hours 2005-04-22 13:40:09 [5821] [7] DEBUG: AT2[/dev/ttyS0]:
--> AT+CMGS=18^M 2005-04-22 13:40:09 [5821] [7] DEBUG:
AT2[/dev/ttyS0]: <-- > 2005-04-22 13:40:09 [5821] [7] DEBUG:
AT2[/dev/ttyS0]: send command status: 1 2005-04-22 13:40:09 [5821] [7] DEBUG:
AT2[/dev/ttyS0]: --> 11000B919731192278F80000A704F4F29C0E 2005-04-22 13:40:09 [5821] [7] DEBUG:
AT2[/dev/ttyS0]: --> ^Z 2005-04-22 13:40:09 [5821] [7] DEBUG:
AT2[/dev/ttyS0]: <-- > 2005-04-22 13:40:09 [5821] [7] DEBUG:
AT2[/dev/ttyS0]: <-- +CMS ERROR: 304 2005-04-22 13:40:09 [5821] [7] ERROR:
AT2[/dev/ttyS0]: CMS ERROR: +CMS ERROR: 304 (Invalid PDU mode parameter) 2005-04-22 13:40:09 [5821] [7] DEBUG:
AT2[/dev/ttyS0]: send command status: 1 2005-04-22 13:40:09 [5821] [7] DEBUG:
AT2[/dev/ttyS0]: --> AT+CMGS=18^M 2005-04-22 13:40:09 [5821] [7] DEBUG:
AT2[/dev/ttyS0]: <-- > 2005-04-22 13:40:09 [5821] [7] DEBUG:
AT2[/dev/ttyS0]: send command status: 1 2005-04-22 13:40:09 [5821] [7] DEBUG:
AT2[/dev/ttyS0]: --> 11000B919731192278F80000A704F4F29C0E 2005-04-22 13:40:09 [5821] [7] DEBUG:
AT2[/dev/ttyS0]: --> ^Z 2005-04-22 13:40:10 [5821] [7] DEBUG:
AT2[/dev/ttyS0]: <-- > 2005-04-22 13:40:10 [5821] [7] DEBUG:
AT2[/dev/ttyS0]: <-- +CMS ERROR: 304 2005-04-22 13:40:10 [5821] [7] ERROR:
AT2[/dev/ttyS0]: CMS ERROR: +CMS ERROR: 304 (Invalid PDU mode parameter) 2005-04-22 13:40:10 [5821] [7] DEBUG:
AT2[/dev/ttyS0]: send command status: 1 2005-04-22 13:40:10 [5821] [7] DEBUG:
AT2[/dev/ttyS0]: --> AT+CMGS=18^M 2005-04-22 13:40:10 [5821] [7] DEBUG:
AT2[/dev/ttyS0]: <-- > 2005-04-22 13:40:10 [5821] [7] DEBUG:
AT2[/dev/ttyS0]: send command status: 1 2005-04-22 13:40:10 [5821] [7] DEBUG:
AT2[/dev/ttyS0]: --> 11000B919731192278F80000A704F4F29C0E 2005-04-22 13:40:10 [5821] [7] DEBUG: AT2[/dev/ttyS0]:
--> ^Z 2005-04-22 13:40:10 [5821] [7] DEBUG:
AT2[/dev/ttyS0]: <-- > 2005-04-22 13:40:10 [5821] [7] DEBUG:
AT2[/dev/ttyS0]: <-- +CMS ERROR: 304 2005-04-22 13:40:10 [5821] [7] ERROR:
AT2[/dev/ttyS0]: CMS ERROR: +CMS ERROR: 304 (Invalid PDU mode parameter) 2005-04-22 13:40:10 [5821] [7] DEBUG:
AT2[/dev/ttyS0]: send command status: 1 |
smime.p7s
Description: S/MIME cryptographic signature
