Hi!

I currently trying to setup Kannel (along with Mbuni) to send and
receive SMS/MMS messages using a Sony GC83 GSM modem..

Currently SMS seems to be working fine in both directions, but when an
MMS message comes into bearerbox, it looks like the notification is
coming in as two seperate messages and bearerbox is treating them
seperately, even after adding the "concatination = true" and the max-
messages lines to my config..

Below is both the log output from bearerbox and the config file I'm
using.. Let me know if there's anything else I could provide that would
be helpful..

Thanks!!
jim

BEARERBOX LOG
-------------
2005-09-07 07:53:42 [9285] [6] DEBUG: AT2[gc83]: <-- +CMT: ,159
2005-09-07 07:53:42 [9285] [6] DEBUG: AT2[gc83]: <--
07914140279510F6440A8111110301003BF55090707035738A8C0B05040B8423F00003A802010106276170706C69636174696F6E2F766E642E7761702E6D6D732D6D65737361676500AF848D0197B4848C82985178375F38516F75475151414147514A41414141426741437559494141414141008D908918802B31343235373830393236342F545950453D504C4D4E009641205069637475726520536861726521008A808E02
2005-09-07 07:53:42 [9285] [6] DEBUG: AT2[gc83]: Numeric sender
<1111301000>
2005-09-07 07:53:42 [9285] [6] DEBUG: AT2[gc83]: User data length read
as (140)
2005-09-07 07:53:42 [9285] [6] DEBUG: AT2[gc83]: Udh decoding done
len=128 udhi=1 udhlen=11 udh='

#�
2005-09-07 07:53:42 [9285] [6] DEBUG: AT2[gc83]: --> AT+CNMA^M
2005-09-07 07:53:42 [9285] [12] DEBUG: send_msg: sending msg to box:
<127.0.0.1>
2005-09-07 07:53:42 [9285] [12] DEBUG: boxc_sender: sent message to
<127.0.0.1>
2005-09-07 07:53:42 [9285] [11] DEBUG: boxc_receiver: sms received
2005-09-07 07:53:42 [9285] [11] DEBUG: send_msg: sending msg to box:
<127.0.0.1>
2005-09-07 07:53:42 [9285] [11] DEBUG: boxc_receiver: got ack
2005-09-07 07:53:42 [9285] [6] DEBUG: AT2[gc83]: <-- OK
2005-09-07 07:53:42 [9285] [6] DEBUG: AT2[gc83]: TP-Validity-Period:
24.0 hours
2005-09-07 07:53:42 [9285] [6] DEBUG: AT2[gc83]: --> AT+CMGS=31^M
2005-09-07 07:53:42 [9285] [6] DEBUG: AT2[gc83]: <-- >
2005-09-07 07:53:42 [9285] [6] DEBUG: AT2[gc83]: send command status: 1
2005-09-07 07:53:42 [9285] [6] DEBUG: AT2[gc83]: -->
0011000A8111110301000000A714CE37685E96DBD3E332680E2F8FD3E674990C
2005-09-07 07:53:43 [9285] [6] DEBUG: AT2[gc83]: --> ^Z
2005-09-07 07:53:43 [9285] [6] DEBUG: AT2[gc83]: <-- >
2005-09-07 07:53:43 [9285] [6] DEBUG: AT2[gc83]: <-- +CMS ERROR: 111
2005-09-07 07:53:43 [9285] [6] ERROR: AT2[gc83]: CMS ERROR: +CMS ERROR:
111 (Protocol error, unspecified)
2005-09-07 07:53:43 [9285] [6] DEBUG: AT2[gc83]: send command status: 1
2005-09-07 07:53:43 [9285] [6] DEBUG: AT2[gc83]: --> AT+CMGS=31^M
2005-09-07 07:53:43 [9285] [6] DEBUG: AT2[gc83]: <-- >
2005-09-07 07:53:43 [9285] [6] DEBUG: AT2[gc83]: send command status: 1
2005-09-07 07:53:43 [9285] [6] DEBUG: AT2[gc83]: -->
0011000A8111110301000000A714CE37685E96DBD3E332680E2F8FD3E674990C
2005-09-07 07:53:43 [9285] [6] DEBUG: AT2[gc83]: --> ^Z
2005-09-07 07:53:50 [9285] [6] DEBUG: AT2[gc83]: <-- >
2005-09-07 07:53:50 [9285] [6] DEBUG: AT2[gc83]: <-- +CMT: ,96
2005-09-07 07:53:50 [9285] [6] DEBUG: AT2[gc83]: <--
07914140279510F6440A8111110301003BF55090707035838A4D0B05040B8423F00003A80202800088058103093A8083687474703A2F2F36362E3130322E3137312E3135302F5178375F38516F75475151414147514A4141414142674143755949414141414100
2005-09-07 07:53:50 [9285] [6] DEBUG: AT2[gc83]: Numeric sender
<1111301000>
2005-09-07 07:53:50 [9285] [6] DEBUG: AT2[gc83]: User data length read
as (77)
2005-09-07 07:53:50 [9285] [6] DEBUG: AT2[gc83]: Udh decoding done
len=65 udhi=1 udhlen=11 udh='

#�
2005-09-07 07:53:50 [9285] [6] DEBUG: AT2[gc83]: --> AT+CNMA^M
2005-09-07 07:53:50 [9285] [12] DEBUG: send_msg: sending msg to box:
<127.0.0.1>
2005-09-07 07:53:50 [9285] [12] DEBUG: boxc_sender: sent message to
<127.0.0.1>
2005-09-07 07:53:50 [9285] [11] DEBUG: boxc_receiver: sms received
2005-09-07 07:53:50 [9285] [11] DEBUG: send_msg: sending msg to box:
<127.0.0.1>
2005-09-07 07:53:50 [9285] [11] DEBUG: boxc_receiver: got ack
2005-09-07 07:53:50 [9285] [6] DEBUG: AT2[gc83]: <-- +CME ERROR: 513
2005-09-07 07:53:50 [9285] [6] ERROR: AT2[gc83]: Error occurs: +CME
ERROR: 513 (error number not known to us. ask google and add it.)
2005-09-07 07:53:50 [9285] [6] DEBUG: AT2[gc83]: send command status: -1
2005-09-07 07:53:50 [9285] [6] DEBUG: AT2[gc83]: --> AT+CMGS=31^M
2005-09-07 07:53:50 [9285] [6] DEBUG: AT2[gc83]: <--
2005-09-07 07:53:50 [9285] [6] DEBUG: AT2[gc83]: <-- +CME ERROR: 513
2005-09-07 07:53:50 [9285] [6] ERROR: AT2[gc83]: Error occurs: +CME
ERROR: 513 (error number not known to us. ask google and add it.)
2005-09-07 07:53:50 [9285] [6] DEBUG: AT2[gc83]: send command status: -1
2005-09-07 07:53:50 [9285] [6] DEBUG: AT2[gc83]: TP-Validity-Period:
24.0 hours
2005-09-07 07:53:50 [9285] [6] DEBUG: AT2[gc83]: --> AT+CMGS=31^M
2005-09-07 07:53:50 [9285] [6] DEBUG: AT2[gc83]: <--
2005-09-07 07:53:50 [9285] [6] DEBUG: AT2[gc83]: <-- +CME ERROR: 513
2005-09-07 07:53:50 [9285] [6] ERROR: AT2[gc83]: Error occurs: +CME
ERROR: 513 (error number not known to us. ask google and add it.)
2005-09-07 07:53:50 [9285] [6] DEBUG: AT2[gc83]: send command status: -1
2005-09-07 07:53:50 [9285] [6] DEBUG: AT2[gc83]: --> AT+CMGS=31^M
2005-09-07 07:53:50 [9285] [6] DEBUG: AT2[gc83]: <--
2005-09-07 07:53:50 [9285] [6] DEBUG: AT2[gc83]: <-- +CME ERROR: 513
2005-09-07 07:53:50 [9285] [6] ERROR: AT2[gc83]: Error occurs: +CME
ERROR: 513 (error number not known to us. ask google and add it.)
2005-09-07 07:53:50 [9285] [6] DEBUG: AT2[gc83]: send command status: -1
2005-09-07 07:53:50 [9285] [6] DEBUG: AT2[gc83]: --> AT+CMGS=31^M
2005-09-07 07:53:50 [9285] [6] DEBUG: AT2[gc83]: <--
2005-09-07 07:53:50 [9285] [6] DEBUG: AT2[gc83]: <-- +CME ERROR: 513
2005-09-07 07:53:50 [9285] [6] ERROR: AT2[gc83]: Error occurs: +CME
ERROR: 513 (error number not known to us. ask google and add it.)
2005-09-07 07:53:50 [9285] [6] DEBUG: AT2[gc83]: send command status: -1
2005-09-07 07:53:51 [9285] [11] DEBUG: boxc_receiver: heartbeat with
load value 0 received
2005-09-07 07:53:51 [9285] [6] DEBUG: AT2[gc83]: <-- +CMGS: 130
2005-09-07 07:53:51 [9285] [6] DEBUG: AT2[gc83]: <-- OK
2005-09-07 07:55:59 [9285] [6] DEBUG: AT2[gc83]: <-- +CMT: ,96
2005-09-07 07:55:59 [9285] [6] DEBUG: AT2[gc83]: <--
07914140279510F6440A8111110301003BF55090707035838A4D0B05040B8423F00003A80202800088058103093A8083687474703A2F2F36362E3130322E3137312E3135302F5178375F38516F75475151414147514A4141414142674143755949414141414100
2005-09-07 07:55:59 [9285] [6] DEBUG: AT2[gc83]: Numeric sender
<1111301000>
2005-09-07 07:55:59 [9285] [6] DEBUG: AT2[gc83]: User data length read
as (77)
2005-09-07 07:55:59 [9285] [6] DEBUG: AT2[gc83]: Udh decoding done
len=65 udhi=1 udhlen=11 udh='

#�
2005-09-07 07:55:59 [9285] [6] DEBUG: AT2[gc83]: --> AT+CNMA^M
2005-09-07 07:55:59 [9285] [12] DEBUG: send_msg: sending msg to box:
<127.0.0.1>
2005-09-07 07:55:59 [9285] [12] DEBUG: boxc_sender: sent message to
<127.0.0.1>
2005-09-07 07:55:59 [9285] [11] DEBUG: boxc_receiver: sms received
2005-09-07 07:55:59 [9285] [11] DEBUG: send_msg: sending msg to box:
<127.0.0.1>
2005-09-07 07:55:59 [9285] [11] DEBUG: boxc_receiver: got ack
2005-09-07 07:55:59 [9285] [6] DEBUG: AT2[gc83]: <-- OK
2005-09-07 07:55:59 [9285] [6] DEBUG: AT2[gc83]: TP-Validity-Period:
24.0 hours
2005-09-07 07:55:59 [9285] [6] DEBUG: AT2[gc83]: --> AT+CMGS=31^M
2005-09-07 07:55:59 [9285] [6] DEBUG: AT2[gc83]: <-- >
2005-09-07 07:55:59 [9285] [6] DEBUG: AT2[gc83]: send command status: 1
2005-09-07 07:55:59 [9285] [6] DEBUG: AT2[gc83]: -->
0011000A8111110301000000A714CE37685E96DBD3E332680E2F8FD3E674990C
2005-09-07 07:55:59 [9285] [6] DEBUG: AT2[gc83]: --> ^Z
2005-09-07 07:56:00 [9285] [6] DEBUG: AT2[gc83]: <-- >
2005-09-07 07:56:00 [9285] [6] DEBUG: AT2[gc83]: <-- +CMS ERROR: 111
2005-09-07 07:56:00 [9285] [6] ERROR: AT2[gc83]: CMS ERROR: +CMS ERROR:
111 (Protocol error, unspecified)
2005-09-07 07:56:00 [9285] [6] DEBUG: AT2[gc83]: send command status: 1
2005-09-07 07:56:00 [9285] [6] DEBUG: AT2[gc83]: --> AT+CMGS=31^M
2005-09-07 07:56:00 [9285] [6] DEBUG: AT2[gc83]: <-- >
2005-09-07 07:56:00 [9285] [6] DEBUG: AT2[gc83]: send command status: 1
2005-09-07 07:56:00 [9285] [6] DEBUG: AT2[gc83]: -->
0011000A8111110301000000A714CE37685E96DBD3E332680E2F8FD3E674990C
2005-09-07 07:56:00 [9285] [6] DEBUG: AT2[gc83]: --> ^Z
2005-09-07 07:56:03 [9285] [6] DEBUG: AT2[gc83]: <-- >
2005-09-07 07:56:03 [9285] [6] DEBUG: AT2[gc83]: <-- +CMGS: 132
2005-09-07 07:56:03 [9285] [6] DEBUG: AT2[gc83]: <-- OK
2005-09-07 07:56:03 [9285] [6] DEBUG: AT2[gc83]: send command status: 0
2005-09-07 07:56:21 [9285] [11] DEBUG: boxc_receiver: heartbeat with
load value 0 received

MMSC.CONF FILE
--------------
group = mmsbox
name = "MMSC"
hostname = activesymbols.homelinux.net
host-alias = mmsc
local-mmsc-domains = "homelinux.net"
local-prefixes = "+1"
storage-directory = /var/spool/kannel
max-send-threads = 5
send-mail-prog = /usr/sbin/sendmail -f '%f' '%t'
unified-prefix = "+1,01,1"
maximum-send-attempts = 5
default-message-expiry = 360000
queue-run-interval = 0.1
send-attempt-back-off = 300
sendsms-url =  http://localhost:13013/cgi-bin/sendsms
sendsms-username = tester
sendsms-password = foobar
mms-port = 1981
allow-ip = 127.0.0.1
notify-unprovisioned = yes
mms-notify-text = "You have received a multimedia message from %S, go to
XXX to view it"
mm-box-host = localhost
mms-notify-unprovisioned-text = "This is a test"
mms-to-email-txt = "This is a multimedia message (HTML suppressed)"
mms-to-email-html = "This is a multimedia message"
mms-message-too-large-txt = "You have received a multimedia message from
%S that is too large for your phone. Go to xxx to view it"
optimize-notification-size = true

group = core
admin-port = 13000
smsbox-port = 13001
wapbox-port = 13002
admin-password = bar
log-file = "/var/log/kannel/kannel.log"
log-level = 1
box-deny-ip = "*.*.*.*"
box-allow-ip = "127.0.0.1"

# SMSC CONNECTIONS
group = smsc
smsc = at
smsc-id = gc83
port = 10000
connect-allow-ip = 127.0.0.1
modemtype = auto
device = /dev/ttyS3

group = modems
broken = true 
detect-string = "gc83"
name = "gc83"
id = gc83
init-string = "AT+CFUN=1+CNMI=2,2,0,1,1"
reset-string = "AT+CFUN=1"
#need-sleep = true
enable-mms = true

# SMSBOX SETUP
group = smsbox
bearerbox-host = localhost
sendsms-port = 13013
global-sender = 13013
log-file = "/var/log/kannel/smsbox.log"
log-level = 0

# WAPBOX SETUP
group = wapbox
bearerbox-host = localhost
log-file = "/var/log/kannel/wapbox.log"
syslog-level = none
map-url = "" http://mmsc/*";>http://mmsc/* http://localhost:1981/*";;

# SEND-SMS USERS
group = sendsms-user
username = tester
password = foobar
concatenation = true
max-messages = 10

# SERVICES
group = sms-service
keyword = default
text = "No service specified"

                                                                                
       

Reply via email to