Kannel: +CMS ERROR: 305

53 views
Skip to first unread message

Iqbal_Ir

unread,
Mar 18, 2008, 12:44:02 AM3/18/08
to id-u...@googlegroups.com
Dear all,

Bagi teman2 yang pernah nge-configure Kannel. Tret kemaren sy pernah nanyain kannel, terutama utk disable starting Kannel ketika Ubuntu booting, Alhamdulillah kini sudah solved. Kannel sudah bisa connect...

Tetapi ketika mengirimkan sms, sy dapet error sepeti ini:

2008-03-18 11:19:21 [6316] [2] DEBUG: HTTP: Creating HTTPClient for `127.0.0.1'.
2008-03-18 11:19:21 [6316] [2] DEBUG: HTTP: Created HTTPClient area 0x785850.
2008-03-18 11:19:21 [6316] [3] DEBUG: HTTP: Destroying HTTPClient area 0x785850.
2008-03-18 11:19:21 [6316] [3] DEBUG: HTTP: Destroying HTTPClient for `127.0.0.1'.
2008-03-18 11:19:27 [6316] [6] DEBUG: AT2[maestro]: --> AT^M
2008-03-18 11:19:27 [6316] [6] DEBUG: AT2[maestro]: <-- AT
2008-03-18 11:19:27 [6316] [6] DEBUG: AT2[maestro]: <-- OK
2008-03-18 11:19:39 [6316] [6] DEBUG: AT2[maestro]: --> AT^M
2008-03-18 11:19:39 [6316] [6] DEBUG: AT2[maestro]: <-- AT
2008-03-18 11:19:39 [6316] [6] DEBUG: AT2[maestro]: <-- OK
2008-03-18 11:19:51 [6316] [6] DEBUG: AT2[maestro]: --> AT^M
2008-03-18 11:19:51 [6316] [6] DEBUG: AT2[maestro]: <-- AT
2008-03-18 11:19:51 [6316] [6] DEBUG: AT2[maestro]: <-- OK
2008-03-18 11:20:03 [6316] [6] DEBUG: AT2[maestro]: --> AT^M
2008-03-18 11:20:03 [6316] [6] DEBUG: AT2[maestro]: <-- AT
2008-03-18 11:20:03 [6316] [6] DEBUG: AT2[maestro]: <-- OK
2008-03-18 11:20:12 [6316] [8] DEBUG: boxc_receiver: sms received
2008-03-18 11:20:12 [6316] [8] DEBUG: send_msg: sending msg to box: <127.0.0.1>
2008-03-18 11:20:13 [6316] [6] DEBUG: AT2[maestro]: TP-Validity-Period: 24.0 hours
2008-03-18 11:20:13 [6316] [6] DEBUG: AT2[maestro]: --> AT+CMGS=39^M
2008-03-18 11:20:13 [6316] [6] DEBUG: AT2[maestro]: <-- AT+CMGS=39>
2008-03-18 11:20:13 [6316] [6] DEBUG: AT2[maestro]: send command status: 1
2008-03-18 11:20:13 [6316] [6] DEBUG: AT2[maestro]: --> 0031000C912658965052780011A71CD4F29C0EBABF407076383F6FCFA765371D24CE83C2E476DA0D
2008-03-18 11:20:15 [6316] [6] DEBUG: AT2[maestro]: --> ^Z
2008-03-18 11:20:15 [6316] [6] DEBUG: AT2[maestro]: <-- +CMS ERROR: 305
2008-03-18 11:20:15 [6316] [6] ERROR: AT2[maestro]: CMS ERROR: +CMS ERROR: 305
2008-03-18 11:20:15 [6316] [6] ERROR: AT2[maestro]: CMS ERROR: Invalid text mode parameter (305)
2008-03-18 11:20:15 [6316] [6] DEBUG: AT2[maestro]: send command status: 1
2008-03-18 11:20:15 [6316] [6] DEBUG: AT2[maestro]: --> AT+CMGS=39^M
2008-03-18 11:20:15 [6316] [6] DEBUG: AT2[maestro]: <-- >
2008-03-18 11:20:15 [6316] [6] DEBUG: AT2[maestro]: send command status: 1
2008-03-18 11:20:15 [6316] [6] DEBUG: AT2[maestro]: --> 0031000C912658965052780011A71CD4F29C0EBABF407076383F6FCFA765371D24CE83C2E476DA0D
2008-03-18 11:20:17 [6316] [6] DEBUG: AT2[maestro]: --> ^Z
2008-03-18 11:20:17 [6316] [6] DEBUG: AT2[maestro]: <-- > 0031000C912658965052780011A71CD4F29C0EBABF407076383F6FCFA765371D24CE83C2E476DA0D AT+CMGS=39
2008-03-18 11:20:17 [6316] [6] DEBUG: AT2[maestro]: <-- +CMS ERROR: 305
2008-03-18 11:20:17 [6316] [6] ERROR: AT2[maestro]: CMS ERROR: +CMS ERROR: 305
2008-03-18 11:20:17 [6316] [6] ERROR: AT2[maestro]: CMS ERROR: Invalid text mode parameter (305)
2008-03-18 11:20:17 [6316] [6] DEBUG: AT2[maestro]: send command status: 1
2008-03-18 11:20:17 [6316] [6] DEBUG: AT2[maestro]: --> AT+CMGS=39^M
2008-03-18 11:20:17 [6316] [6] DEBUG: AT2[maestro]: <-- >
2008-03-18 11:20:17 [6316] [6] DEBUG: AT2[maestro]: send command status: 1
2008-03-18 11:20:17 [6316] [6] DEBUG: AT2[maestro]: --> 0031000C912658965052780011A71CD4F29C0EBABF407076383F6FCFA765371D24CE83C2E476DA0D
2008-03-18 11:20:19 [6316] [6] DEBUG: AT2[maestro]: --> ^Z
2008-03-18 11:20:19 [6316] [6] DEBUG: AT2[maestro]: <-- > 0031000C912658965052780011A71CD4F29C0EBABF407076383F6FCFA765371D24CE83C2E476DA0D AT+CMGS=39
2008-03-18 11:20:19 [6316] [6] DEBUG: AT2[maestro]: <-- +CMS ERROR: 305
2008-03-18 11:20:19 [6316] [6] ERROR: AT2[maestro]: CMS ERROR: +CMS ERROR: 305
2008-03-18 11:20:19 [6316] [6] ERROR: AT2[maestro]: CMS ERROR: Invalid text mode parameter (305)
2008-03-18 11:20:19 [6316] [6] DEBUG: AT2[maestro]: send command status: 1
2008-03-18 11:20:19 [6316] [6] DEBUG: SMSC[maestro]: creating DLR message
2008-03-18 11:20:19 [6316] [6] DEBUG: SMSC[maestro]: DLR = http://localhost/playsms/plugin/gateway/kannel/dlr.php?dlr=%d&smslog_id=11&uid=1
2008-03-18 11:20:19 [6316] [9] DEBUG: send_msg: sending msg to box: <127.0.0.1>
2008-03-18 11:20:19 [6316] [9] DEBUG: boxc_sender: sent message to <127.0.0.1>
2008-03-18 11:20:19 [6316] [8] DEBUG: boxc_receiver: got ack
2008-03-18 11:20:31 [6316] [6] DEBUG: AT2[maestro]: --> AT^M
2008-03-18 11:20:31 [6316] [6] DEBUG: AT2[maestro]: <-- > 0031000C912658965052780011A71CD4F29C0EBABF407076383F6FCFA765371D24CE83C2E476DA0D AT
2008-03-18 11:20:31 [6316] [6] DEBUG: AT2[maestro]: <-- OK
2008-03-18 11:20:33 [6316] [8] DEBUG: boxc_receiver: heartbeat with load value 0 received

Sy pake Modem Maestro 100 Lite, kl diliat manualnya CMS ERROR 305 itu artinya "Invalid text mode parameter"
Kira2 apa y masalahnya...?? Apa mungkin ada yang harus di add di kannel.conf-nya...???

Abis nyari sm om gugel ngga nemu....

Thx,
Iqbal_Ir
--
+-------------------------+
 | http://iqbalir.com |
+-------------------------+

Muhammad Takdir

unread,
Mar 18, 2008, 10:02:28 AM3/18/08
to id-u...@googlegroups.com
Pada hari Selasa, tanggal 18/03/2008 pukul 11:44 +0700, Iqbal_Ir
menulis:

> 2008-03-18 11:20:15 [6316] [6] DEBUG: AT2[maestro]: --> ^Z
> 2008-03-18 11:20:15 [6316] [6] DEBUG: AT2[maestro]: <-- +CMS ERROR:
> 305
> 2008-03-18 11:20:15 [6316] [6] ERROR: AT2[maestro]: CMS ERROR: +CMS
> ERROR: 305
> 2008-03-18 11:20:15 [6316] [6] ERROR: AT2[maestro]: CMS ERROR:
> Invalid

coba cek pusat pesan nya.
contoh untuk indosat
#sms-center = +62816124

atau bisa di paste kannel.conf nya disini ? :)
--
takdir


Iqbal_Ir

unread,
Mar 19, 2008, 1:21:02 AM3/19/08
to id-u...@googlegroups.com
On 3/18/08, Muhammad Takdir <muhamma...@gmail.com> wrote:

coba cek pusat pesan nya.
contoh untuk indosat
#sms-center = +62816124

atau bisa di paste kannel.conf nya disini ? :)

Ini mas kannel.conf-nya:
--------------------------------------------------------------------------------------------
# CORE
#   - core kannel info
# ---------------------------------------------

group = core
admin-port = 13000
# wapbox-port = 13002
smsbox-port = 13001
admin-password = pwd
status-password = playsms
# password asli playsms
# log-file = "/var/log/kannel/kannel.log"
# log-level = 0
# access-log = "/var/log/kannel/access.log"
# store-file = "/var/log/kannel/kannel.store"
sms-resend-freq = 60
sms-resend-retry = 5
box-allow-ip = "127.0.0.1"

# SMSC
#   - how kannel sends/receives smses
# ---------------------------------------------

group = smsc
smsc = at
host = localhost
port = 13013
smsc-id = maestro
modemtype = auto
# modemtype = wavecom
# modemtype = nokiaphone
device = /dev/ttyUSB0
speed = 9600
connect-allow-ip = 127.0.0.1
keepalive=10
max-error-count=3
# log-file=/var/log/kannel/smsc.log
# log-level = 0
sms-center = +62855000000

# group = modems
# id = wavecom
# name = Wavecom
# detect-string = "WAVECOM"
# detect-string = WAVECOM
# init-string = "AT+CNMI=2,1,0,0,0;+CMEE=1"

# include = /etc/kannel/smsc.conf
include = /etc/kannel/modems.conf


# SMSBOX
#   - handles sms processing
# ---------------------------------------------
# SMSBOX SETUP
group = smsbox
bearerbox-host = localhost
sendsms-port = 13013
sendsms-chars = "0123456789+"
global-sender = +62855000000
log-file = "/var/log/kannel/smsbox.log"
log-level = 0
access-log = "/var/log/kannel/smsbox_access.log"


# SENDSMS-USER
#   - how to tell kannel to send an sms
# ---------------------------------------------
group = sendsms-user
username = playsms
password = playsms
max-messages = 10
concatenation = true


# SMS SERVICES
#   - what to do with smses when we get them
# ---------------------------------------------

# send everything to playsms
#
group = sms-service
keyword = default
max-messages = 0
######### line tambahan dari blog m yusuf #########
accept-x-kannel-headers = true
assume-plain-text = true
catch-all = true
############################################
get-url = "http://localhost/playsms/plugin/gateway/kannel/geturl.php?t=%t&q=%q&a=%a"
--------------------------------------------------------------------------------------------

Sy pake IM3 buat test, jd sms-centernya +62855000000

Rgds,

adi

unread,
Mar 19, 2008, 1:44:52 AM3/19/08
to id-u...@googlegroups.com
On Tue, Mar 18, 2008 at 11:44:02AM +0700, Iqbal_Ir wrote:
> Dear all,

> 2008-03-18 11:20:13 [6316] [6] DEBUG: AT2[maestro]: --> AT+CMGS=39^M
> 2008-03-18 11:20:13 [6316] [6] DEBUG: AT2[maestro]: <-- AT+CMGS=39>
> 2008-03-18 11:20:13 [6316] [6] DEBUG: AT2[maestro]: send command status: 1
> 2008-03-18 11:20:13 [6316] [6] DEBUG: AT2[maestro]: -->
> 0031000C912658965052780011A71CD4F29C0EBABF407076383F6FCFA765371D24CE83C2E476DA0D
> 2008-03-18 11:20:15 [6316] [6] DEBUG: AT2[maestro]: --> ^Z
> 2008-03-18 11:20:15 [6316] [6] DEBUG: AT2[maestro]: <-- +CMS ERROR: 305
> 2008-03-18 11:20:15 [6316] [6] ERROR: AT2[maestro]: CMS ERROR: +CMS ERROR:
> 305
> 2008-03-18 11:20:15 [6316] [6] ERROR: AT2[maestro]: CMS ERROR: Invalid text
> mode parameter (305)

coba anda periksa inisiasi modem, apakah modem sudah diset untuk
berjalan dalam PDU mode. mestinya skrg masih dalam text mode.
maaf, saya kurang paham dengan modem anda untuk bisa memberi
keterangan lebih lanjut.

mudah-mudahan membantu.

Salam,

P.Y. Adi Prasaja

Iqbal_Ir

unread,
Mar 19, 2008, 6:42:27 AM3/19/08
to id-u...@googlegroups.com

Oke deh pak, terima kasih atas saran2nya....
Sy akan kembali oprek2 lagi modemnya....

I really appreciate it....

*kalodimilisorangbuleitu,pertanyaansayacumadicuekin*

Thx,
Reply all
Reply to author
Forward
0 new messages