Hello, I've tried adding smsbox-route configuration but it seems the kannel is not working (not producing any log/can't send outgoing either) are there any mistakes in my kannel configuration ?.
group = smsbox-route smsbox-id = SMSbox smsc-id = GSMModem group = smsbox smsbox-id = SMSbox sendsms-port = 13013 sendsms-chars = "0123456789+" log-file = "/var/log/kannel/smsbox.log" log-level = 0 #SMS Connection group = smsc smsc = at smsc-id = GSMModem modemtype = iTegno device = /dev/ttyUSB0 speed = 115200 sim-buffering = true log-level = 0 pin = 1234 Thanks -adhit- On Tue, Mar 3, 2009 at 8:09 AM, Adhityo Priyambodo < [email protected]> wrote: > Hi Nikos Balkanas, > > Thanks for your fast replies, i will try to configure according to your > direction. > > Regards > > -adhit- > > > On Tue, Mar 3, 2009 at 8:04 AM, Nikos Balkanas <[email protected]>wrote: > >> Hi, >> >> Bearerbox doesn't know where to route your incoming messages. You need to >> define an smsbox-route group. You may also need to define a catch-all in >> your default sms-service group. >> >> Lastly, please post relevant log entries, citing the problem from your >> bearerbox. Your posted bearerbox logs are irrelevant and make helping you >> difficult. >> >> BR, >> Nikos >> >> ----- Original Message ----- >> *From:* Adhityo Priyambodo <[email protected]> >> *To:* [email protected] >> *Sent:* Tuesday, March 03, 2009 2:37 AM >> *Subject:* Re: Can't Execute get-url from sms-service (sending OK) with >> ITegno 3800 >> >> I forgot to tell my testing environment: >> >> Ubuntu Server Gutsy >> Kannel 1.4.2 >> ITegno 3800 >> >> Thanks >> >> -adhit- >> >> On Tue, Mar 3, 2009 at 7:29 AM, Adhityo Priyambodo < >> [email protected]> wrote: >> >>> Dear All, >>> >>> I would like to ask about handling incoming message that received by >>> kannel. >>> >>> I have setup kannel with ITegno 3800 GSM Modem and i have tested it for >>> sms outgoing and it works fine. >>> >>> But when the modem received incoming messages, it didn't execute get-url >>> i have stated at the configuration. >>> >>> It's quite strage since there were no errors popped out at the >>> bearerbox.log. >>> >>> If i take a look at access.log i have these messages which indicate that >>> the modem received messages. >>> >>> I'm still wondering what makes it can't execute the get-url? >>> configuration or the GSM modem compatibility? >>> >>> Any help is really appreciated. >>> >>> >>> Best Regards >>> >>> -adhit- >>> >>> ---------------------------------- LOG SNIPPET >>> ------------------------------------- >>> >>> access.log >>> >>> 2009-03-03 07:53:20 Receive SMS [SMSC:GSMModem] [SVC:] [ACT:] [BINF:] >>> [from:+628389066XXXX] [to:1234] [flags:-1:0:-1:0:-1] [msg:6:Test i] [udh:0:] >>> 2009-03-03 08:06:47 Log ends >>> 2009-03-03 08:06:50 Log begins >>> 2009-03-03 08:07:30 Receive SMS [SMSC:GSMModem] [SVC:] [ACT:] [BINF:] >>> [from:+628389066XXXX] [to:1234] [flags:-1:0:-1:0:-1] [msg:10:RJ TESTING] >>> [udh:0:] >>> 2009-03-03 09:54:53 Log ends >>> 2009-03-03 09:54:53 Log begins >>> 2009-03-03 14:32:25 Log begins >>> 2009-03-03 14:32:56 Receive SMS [SMSC:GSMModem] [SVC:] [ACT:] [BINF:] >>> [from:+628389066XXXX] [to:1234] [flags:-1:0:-1:0:-1] [msg:7:RJ TEST] >>> [udh:0:] >>> 2009-03-03 14:34:29 Receive SMS [SMSC:GSMModem] [SVC:] [ACT:] [BINF:] >>> [from:+628389066XXXX] [to:1234] [flags:-1:0:-1:0:-1] [msg:7:RM TEST] >>> [udh:0:] >>> >>> >>> bearerbox.log >>> >>> >>> 2009-03-03 14:32:56 [3440] [6] DEBUG: AT2[GSMModem]: <-- +CMT: ,27 >>> 2009-03-03 14:32:56 [3440] [6] DEBUG: AT2[GSMModem]: <-- >>> 0791263851000023240D91263898605621F3000090303060637582075225885A9C5201 >>> 2009-03-03 14:32:56 [3440] [6] DEBUG: AT2[GSMModem]: received message >>> from SMSC: +628315000032 >>> 2009-03-03 14:32:56 [3440] [6] DEBUG: AT2[GSMModem]: Numeric sender >>> (international) <+6283890665123> >>> 2009-03-03 14:32:56 [3440] [6] DEBUG: AT2[GSMModem]: User data length >>> read as (7) >>> 2009-03-03 14:32:56 [3440] [6] DEBUG: AT2[GSMModem]: Udh decoding done >>> len=7 udhi=0 udhlen=0 udh='' >>> 2009-03-03 14:32:56 [3440] [6] WARNING: smsbox_list empty! >>> 2009-03-03 14:32:56 [3440] [6] DEBUG: AT2[GSMModem]: --> AT+CNMA^M >>> 2009-03-03 14:32:56 [3440] [6] DEBUG: AT2[GSMModem]: <-- OK >>> 2009-03-03 14:32:58 [3440] [6] DEBUG: AT2[GSMModem]: --> AT+CPMS?^M >>> 2009-03-03 14:32:58 [3440] [6] DEBUG: AT2[GSMModem]: <-- +CPMS: >>> "SM",0,25,"SM",0,25,"SM",0,25 >>> 2009-03-03 14:32:58 [3440] [6] DEBUG: AT2[GSMModem]: <-- OK >>> 2009-03-03 14:33:10 [3440] [15] DEBUG: Dumping 9 messages to store >>> >>> >>> >>> This is my kannel configuration content >>> >>> >>> # >>> # Sample configuration file for Kannel bearerbox on Debian. >>> # See the documentation for explanations of fields. >>> # >>> >>> # HTTP administration is disabled by default. Make sure you set the >>> # password if you enable it. >>> >>> group = core >>> admin-port = 13000 >>> smsbox-port = 13001 >>> admin-password = bar >>> admin-deny-ip = "*.*.*.*" >>> admin-allow-ip = "" >>> wapbox-port = 13002 >>> wdp-interface-name = "*" >>> log-file = "/var/log/kannel/bearerbox.log" >>> access-log = "/var/log/kannel/access.log" >>> store-file = "/var/log/kannel/kannel.log" >>> box-deny-ip = "*.*.*.*" >>> box-allow-ip = "127.0.0.1" >>> log-level = 0 >>> >>> group = wapbox >>> bearerbox-host = localhost >>> log-file = "/var/log/kannel/wapbox.log" >>> >>> #SMS Connection >>> group = smsc >>> smsc = at >>> smsc-id = GSMModem >>> modemtype = iTegno >>> device = /dev/ttyUSB0 >>> speed = 115200 >>> sim-buffering = true >>> pin = 1234 >>> >>> #Modems >>> group = modems >>> id = iTegno >>> detect-string = "WAVECOM" >>> detect-string2 = "MODEM" >>> need-sleep = true >>> log-level = 0 >>> >>> group = wapbox >>> bearerbox-host = localhost >>> log-file = "/var/log/kannel/wapbox.log" >>> >>> #SMS Connection >>> group = smsc >>> smsc = at >>> smsc-id = GSMModem >>> modemtype = iTegno >>> device = /dev/ttyUSB0 >>> speed = 115200 >>> sim-buffering = true >>> pin = 1234 >>> >>> #Modems >>> group = modems >>> id = iTegno >>> detect-string = "WAVECOM" >>> detect-string2 = "MODEM" >>> need-sleep = true >>> sendline-sleep = 10 >>> message-storage = "SM" >>> init-string = "AT+CNMI=1,2,0,1,0;+CMEE=1" >>> >>> #SMSBOX >>> group = smsbox >>> smsbox-id = SMSbox >>> sendsms-port = 13013 >>> sendsms-chars = "0123456789+" >>> log-file = "/var/log/kannel/smsbox.log" >>> log-level = 0 >>> >>> #SEND SMS USERS >>> group = sendsms-user >>> username = smsgateway >>> password = 5m5gatew4y >>> >>> #group = sms-service >>> #keyword = "RJ" >>> #get-url = "http://192.168.15.213/TPA/sms?jenis=RJ&sender=%p&isi=%a" >>> #accept-x-kannel-headers = true >>> #max-messages = 0 >>> #contatenation = true >>> >>> >>> group = sms-service >>> keyword = default >>> get-url = "http://192.168.15.213/TPA/sms?jenis=RM&sender=%p&isi=%a" >>> >>> >> >
