PS.

Problem as I see it, is that nowdays it doesn't say something like: 
"bladibla successfully started up..." when the bearerbox is initiated....

/Jarl

"Jarlco" <[EMAIL PROTECTED]> wrote in message 
news:[EMAIL PROTECTED]
>
>
> Hi I'm an old user of kannel, I've recently run into a problem with 
> recieving messages, everything seems to work fine, but when I try to send 
> the modem a message nothing seems to reach it.
>
> Files and info:
> -------------
>
> Startup:
> --------
>
> pces335 gateway-1.3.2 # gw/bearerbox gw/kannel.conf &
> [1] 1852
> pces335 gateway-1.3.2 # 2004-09-24 19:19:36 [1852] [0] INFO: Debug_lvl 
> = -1, log_file = <none>, log_lvl = 0
> 2004-09-24 19:19:36 [1852] [0] WARNING: DLR: using default 'internal' for 
> storage type.
> 2004-09-24 19:19:36 [1852] [0] INFO: DLR using storage type: internal
> 2004-09-24 19:19:36 [1852] [0] DEBUG: Kannel bearerbox version `1.3.2'.
> Build `Sep 24 2004 19:02:41', compiler `3.2.3 20030422 (Gentoo Linux 1.4 
> 3.2.3-r1, propolice)'.
> System Linux, release 2.4.20-gentoo-r6, version #1 Wed Feb 11 14:47:19 GMT 
> 2004, machine i686.
> Hostname (removed).
> Libxml version 2.6.4.
> Using OpenSSL 0.9.6j 10 Apr 2003.
> Using native malloc.
>
> 2004-09-24 19:19:36 [1852] [0] INFO: Added logfile `/tmp/kannel.log' with 
> level `0'.
> 2004-09-24 19:19:36 [1852] [0] INFO: Started access logfile 
> `/tmp/kannel.access'.
> 2004-09-24 19:19:36 [1852] [0] DEBUG: Started thread 1 
> (gw/bb_store.c:store_cleanup)
> 2004-09-24 19:19:36 [1852] [0] INFO: HTTP: Opening server at port 13000.
> 2004-09-24 19:19:36 [1852] [0] DEBUG: Started thread 2 
> (gwlib/fdset.c:poller)
> 2004-09-24 19:19:36 [1852] [0] DEBUG: Started thread 3 
> (gwlib/http.c:server_thread)
> 2004-09-24 19:19:36 [1852] [0] DEBUG: Started thread 4 
> (gw/bb_http.c:httpadmin_run)
> 2004-09-24 19:19:36 [1852] [0] DEBUG: starting smsbox connection module
> 2004-09-24 19:19:36 [1852] [0] INFO: BOXC: 'smsbox-max-pending' not set, 
> using default (100).
> 2004-09-24 19:19:36 [1852] [0] DEBUG: Started thread 5 
> (gw/bb_boxc.c:sms_to_smsboxes)
> 2004-09-24 19:19:36 [1852] [0] DEBUG: Started thread 6 
> (gw/bb_boxc.c:smsboxc_run)
> 2004-09-24 19:19:36 [1852] [0] INFO: DLR rerouting for smsc id <wavecom_1> 
> disabled.
> 2004-09-24 19:19:36 [1852] [0] INFO: AT2[wavecom_1]: configuration shows 
> modemtype <wavecom>
> 2004-09-24 19:19:36 [1854] [1] DEBUG: Thread 1 
> (gw/bb_store.c:store_cleanup) maps to pid 1854.
> 2004-09-24 19:19:36 [1855] [2] DEBUG: Thread 2 (gwlib/fdset.c:poller) maps 
> to pid 1855.
> 2004-09-24 19:19:36 [1856] [3] DEBUG: Thread 3 
> (gwlib/http.c:server_thread) maps to pid 1856.
> 2004-09-24 19:19:36 [1852] [0] DEBUG: AT2[wavecom_1]: Reading modem 
> definitions from <gw/kannel.conf>
> 2004-09-24 19:19:36 [1857] [4] DEBUG: Thread 4 
> (gw/bb_http.c:httpadmin_run) maps to pid 1857.
> 2004-09-24 19:19:36 [1852] [0] DEBUG: AT2[wavecom_1]: Found <1> modems in 
> config
> 2004-09-24 19:19:36 [1852] [0] INFO: AT2[wavecom_1]: read modem definition 
> for <Wavecom>
> 2004-09-24 19:19:36 [1852] [0] DEBUG: Started thread 7 
> (gw/smsc/smsc_at.c:at2_device_thread)
> 2004-09-24 19:19:36 [1852] [0] INFO: DLR rerouting for smsc id <FAKE> 
> disabled.
> 2004-09-24 19:19:36 [1852] [0] DEBUG: Started thread 8 
> (gw/smsc/smsc_fake.c:fake_listener)
> 2004-09-24 19:19:36 [1858] [5] DEBUG: Thread 5 
> (gw/bb_boxc.c:sms_to_smsboxes) maps to pid 1858.
> 2004-09-24 19:19:36 [1859] [6] DEBUG: Thread 6 (gw/bb_boxc.c:smsboxc_run) 
> maps to pid 1859.
> 2004-09-24 19:19:36 [1852] [0] DEBUG: Started thread 9 
> (gw/bb_smscconn.c:sms_router)
> 2004-09-24 19:19:36 [1852] [0] 
> INFO: ----------------------------------------
> 2004-09-24 19:19:36 [1852] [0] INFO: Kannel bearerbox II version 1.3.2 
> starting
> 2004-09-24 19:19:36 [1860] [7] DEBUG: Thread 7 
> (gw/smsc/smsc_at.c:at2_device_thread) maps to pid 1860.
> 2004-09-24 19:19:36 [1860] [7] INFO: AT2[wavecom_1]: opening device
> 2004-09-24 19:19:37 [1861] [8] DEBUG: Thread 8 
> (gw/smsc/smsc_fake.c:fake_listener) maps to pid 1861.
> 2004-09-24 19:19:37 [1852] [0] INFO: Loading store file 
> `/tmp/kannel.store'
> 2004-09-24 19:19:37 [1852] [0] INFO: Store-file size 0, starting to unpack
> 2004-09-24 19:19:37 [1852] [0] INFO: Retrieved 0 messages, 
> non-acknowledged messages: 0
> 2004-09-24 19:19:37 [1862] [9] DEBUG: Thread 9 
> (gw/bb_smscconn.c:sms_router) maps to pid 1862.
> 2004-09-24 19:19:37 [1862] [9] DEBUG: sms_router: time to sleep
> 2004-09-24 19:19:37 [1860] [7] DEBUG: AT2[wavecom_1]: device opened
> 2004-09-24 19:19:37 [1860] [7] DEBUG: AT2[wavecom_1]: device opened
> 2004-09-24 19:19:37 [1860] [7] INFO: AT2[wavecom_1]: init device
> 2004-09-24 19:19:37 [1860] [7] INFO: AT2[wavecom_1]: speed set to 9600
> 2004-09-24 19:19:37 [1852] [0] INFO: MAIN: Start-up done, entering 
> mainloop
> 2004-09-24 19:19:37 [1852] [0] DEBUG: AT2[wavecom_1]: start called
> 2004-09-24 19:19:37 [1852] [0] DEBUG: smsc_fake: start called
> 2004-09-24 19:19:37 [1860] [7] DEBUG: AT2[wavecom_1]: --> ATZ^M
> 2004-09-24 19:19:37 [1862] [9] DEBUG: sms_router: list_len = 0
>
> ----------------------
> smsbox:
> ----------------------
> gw/smsbox gw/kannel.conf &
> [2] 1864
> pces335 gateway-1.3.2 # 2004-09-24 19:25:59 [1864] [0] INFO: Debug_lvl 
> = -1, log_file = <none>, log_lvl = 0
> 2004-09-24 19:25:59 [1864] [0] DEBUG: Kannel smsbox version `1.3.2'.
> Build `Sep 24 2004 19:02:41', compiler `3.2.3 20030422 (Gentoo Linux 1.4 
> 3.2.3-r1, propolice)'.
> System Linux, release 2.4.20-gentoo-r6, version #1 Wed Feb 11 14:47:19 GMT 
> 2004, machine i686.
> Hostname (removed).
> Libxml version 2.6.4.
> Using OpenSSL 0.9.6j 10 Apr 2003.
> Using native malloc.
>
> 2004-09-24 19:25:59 [1864] [0] INFO: HTTP: Opening server at port 13013.
> 2004-09-24 19:25:59 [1864] [0] DEBUG: Started thread 1 
> (gwlib/fdset.c:poller)
> 2004-09-24 19:25:59 [1864] [0] DEBUG: Started thread 2 
> (gwlib/http.c:server_thread)
> 2004-09-24 19:25:59 [1864] [0] INFO: Set up send sms service at port 13013
> 2004-09-24 19:25:59 [1864] [0] DEBUG: Started thread 3 
> (gw/smsbox.c:sendsms_thread)
> 2004-09-24 19:25:59 [1864] [0] 
> DEBUG: ----------------------------------------------
> 2004-09-24 19:25:59 [1864] [0] DEBUG: Kannel smsbox version 1.3.2 starting
> 2004-09-24 19:25:59 [1864] [0] DEBUG: Started thread 4 
> (gw/smsbox.c:obey_request_thread)
> 2004-09-24 19:25:59 [1864] [0] DEBUG: Started thread 5 
> (gw/smsbox.c:url_result_thread)
> 2004-09-24 19:25:59 [1864] [0] DEBUG: Started thread 6 
> (gw/smsbox.c:http_queue_thread)
> 2004-09-24 19:25:59 [1864] [0] INFO: Connected to bearerbox at localhost 
> port 13001.
> 2004-09-24 19:25:59 [1859] [6] DEBUG: Started thread 10 
> (gw/bb_boxc.c:function)
> 2004-09-24 19:25:59 [1872] [10] DEBUG: Thread 10 (gw/bb_boxc.c:function) 
> maps to pid 1872.
> 2004-09-24 19:25:59 [1872] [10] INFO: Client connected from <127.0.0.1>
> 2004-09-24 19:25:59 [1872] [10] DEBUG: Started thread 11 
> (gw/bb_boxc.c:boxc_sender)
> 2004-09-24 19:25:59 [1864] [0] DEBUG: Started thread 7 
> (gw/heartbeat.c:heartbeat_thread)
> 2004-09-24 19:25:59 [1874] [11] DEBUG: Thread 11 
> (gw/bb_boxc.c:boxc_sender) maps to pid 1874.
> 2004-09-24 19:25:59 [1866] [1] DEBUG: Thread 1 (gwlib/fdset.c:poller) maps 
> to pid 1866.
> 2004-09-24 19:25:59 [1867] [2] DEBUG: Thread 2 
> (gwlib/http.c:server_thread) maps to pid 1867.
> 2004-09-24 19:25:59 [1868] [3] DEBUG: Thread 3 
> (gw/smsbox.c:sendsms_thread) maps to pid 1868.
> 2004-09-24 19:25:59 [1869] [4] DEBUG: Thread 4 
> (gw/smsbox.c:obey_request_thread) maps to pid 1869.
> 2004-09-24 19:25:59 [1870] [5] DEBUG: Thread 5 
> (gw/smsbox.c:url_result_thread) maps to pid 1870.
> 2004-09-24 19:25:59 [1871] [6] DEBUG: Thread 6 
> (gw/smsbox.c:http_queue_thread) maps to pid 1871.
> 2004-09-24 19:25:59 [1873] [7] DEBUG: Thread 7 
> (gw/heartbeat.c:heartbeat_thread) maps to pid 1873.
>
> -------------------
> kannel.conf
> -------------------
> # Kannel configuration file, commented bits needs a new line AFTER the 
> uncommented bits,
> # or things can go VERY wrong as I've just experienced!
>
> group = core
> admin-port = 13000
> admin-password = kannel2004
> smsbox-port = 13001
> store-file = "/tmp/kannel.store"
> log-level = 0
> log-file = "/tmp/kannel.log"
> access-log = /tmp/kannel.access
> unified-prefix = "+,00"
>
> #maximum-queue-length = -1
>
> # SMSC CONNECTIONS REAL
>
> group = smsc
> smsc = at
> smsc-id = wavecom_1
> modemtype = wavecom
> device = /dev/ttyS0
> speed = 9600
>
> # SMSC CONNECTIONS FAKE
>
> group = smsc
> smsc = fake
> smsc-id = FAKE
> port = 10000
> connect-allow-ip = 127.0.0.1
>
> # MODEM GROUP
> group = modems
> id = wavecom
> name = Wavecom
> detect-string = "WAVECOM"
>
> # SMSBOX SETUP
>
> group = smsbox
> bearerbox-host = localhost
> sendsms-port = 13013
>
> #http-queue-delay = = 20
>
> # SEND SMS USER CONFIG
>
> group = sendsms-user
> username = jarlco
> password = cornell
>
> group = sendsms-user
> username = oz
> password = zo
>
> # SMS SERVICES
>
> group = sms-service
> keyword = default
> get-url = 
> "http://localhost/SMS/control.php?from=%p&keyword=%k&completemsg=%a";
> omit-empty = true
> max-messages = 0
>
> ---------------------
>
>
>
>
> 




Reply via email to