On Thu, Jul 21, 2005 at 02:09:43AM +0200, darocz gabor wrote:
> 
> 
> dear members,
> 
> i've read a lot of your archives, but
> couldn't find answeres for my problem....
> 
> i run a debian sid, so every package is new,
> and i could manage to start the bearerbox
> with a gsm modem (siemens 45).
> (i've a serial data cable, but my laptop have just
> usb, so bought a usb-serial converter, what
> after i convert to serial again with mod... :D 
> strange that with a desktop pc, with serial
> i could send sms, so everything was fine..)
> now the only problem that the smsbox
> cannot connact to it...
> the bearerbox listens and the smsbox
> sends sync to the same port, 
> (from netstat -alp)
> but nothing
> happens, just timeout after long time...
> 
> if anybody could help...
> thanks for your reading, and maybe answeres...
> 
> ps.: i can communicate with the mobile with
> minicom, at reply ok, and i see if someone rings me,
> but i can't call others... quite strange.
> the same effect in windows.
your modem will do a data-call with atdt12345, which won't be accepted
by other modems.
> 
> 
> and the config files:
> 
> -----------------------------------------------------
>                      kannel.conf
> -----------------------------------------------------
> 
> include = /usr/share/doc/kannel/examples/modems.conf
> 
> group = core
> admin-port = 13000
> admin-password = bar
> admin-deny-ip = "*.*.*.*"
> admin-allow-ip = "127.0.0.1"
> wapbox-port = 13004
> wdp-interface-name = "*"
> log-file = "/var/log/kannel/bearerbox.log"
> box-deny-ip = "*.*.*.*"
> box-allow-ip = "127.0.0.1"
> store-file="sms"
> smsbox-port=13003
> 
> group = wapbox
> bearerbox-host = localhost
> log-file = "/var/log/kannel/wapbox.log"
> 
> group = smsc
> smsc = at
> smsc-id = M55
> modemtype = M55
> device = /dev/ttyUSB0
is this present and read/writable for the kannel user?
> speed = 19200
is this the speed you've tried with minicom?
> #pin = XXXX
> 
> group = smsbox
> bearerbox-host = localhost
> sendsms-port = 13131
> sendsms-chars = "0123456789+"
> global-sender = ###########
> log-level = 0
> log-file = "/var/log/kannel/smsbox.log"
> 
> group = sms-service
> keyword = default
> get-url = "http://ghatter-inc/mycoding.html?a=%a";
> accept-x-kannel-headers = true
> # max-messages = 3
> # concatenation = true
> catch-all = true
> send-sender = true
> omit-empty = true
> # max-messages = 0
> 
> group = sendsms-user
> username = tester
> password = foobar
> 
> ---------------------------------------------------
>                     modems.conf
> ---------------------------------------------------
> group = modems
> id = M55
> name = "M55"
> detect-string = "SIEMENS"
> detect-string2 = "C45"
> init-string = "AT+CNMI=1,2,0,1,1"
> enable-hwhs = "AT\\Q3"
> keepalive-cmd = "AT+CBC;+CSQ"
> 
> 
> -----------------------------------------
>        and the log at smsbox
> -----------------------------------------
> 
your bearerbox won't start, there must be a bearerbox before smsbox
starting.


> 2005-07-21 00:17:14 [12231] [0] INFO: Added logfile
> `/var/log/kannel/smsbox.log' with level `0'.
> 2005-07-21 00:17:14 [12231] [0] INFO: Service global sender
> set as 'xxxxxxxxxxx'
> 2005-07-21 00:17:14 [12231] [0] INFO: HTTP: Opening server
> at port 13131.
> 2005-07-21 00:17:14 [12231] [0] DEBUG: Started thread 1
> (gwlib/fdset.c:poller)
> 2005-07-21 00:17:14 [12231] [0] DEBUG: Started thread 2
> (gwlib/http.c:server_thread)
> 2005-07-21 00:17:14 [12233] [1] DEBUG: Thread 1
> (gwlib/fdset.c:poller) maps to pid 12233.
> 2005-07-21 00:17:14 [12231] [0] INFO: Set up send sms
> service at port 13131
> 2005-07-21 00:17:14 [12234] [2] DEBUG: Thread 2
> (gwlib/http.c:server_thread) maps to pid 12234.
> 2005-07-21 00:17:14 [12231] [0] DEBUG: Started thread 3
> (gw/smsbox.c:sendsms_thread)
> 2005-07-21 00:17:14 [12231] [0] DEBUG:
> ----------------------------------------------
> 2005-07-21 00:17:14 [12231] [0] DEBUG: Kannel smsbox version
> 1.4.0 starting
> 2005-07-21 00:17:14 [12235] [3] DEBUG: Thread 3
> (gw/smsbox.c:sendsms_thread) maps to pid 12235.
> 2005-07-21 00:17:14 [12231] [0] DEBUG: Started thread 4
> (gw/smsbox.c:obey_request_thread)
> 2005-07-21 00:17:14 [12231] [0] DEBUG: Started thread 5
> (gw/smsbox.c:url_result_thread)
> 2005-07-21 00:17:14 [12236] [4] DEBUG: Thread 4
> (gw/smsbox.c:obey_request_thread) maps to pid 12236.
> 2005-07-21 00:17:14 [12237] [5] DEBUG: Thread 5
> (gw/smsbox.c:url_result_thread) maps to pid 12237.
> 2005-07-21 00:17:14 [12231] [0] DEBUG: Started thread 6
> (gw/smsbox.c:http_queue_thread)
> 2005-07-21 00:17:14 [12238] [6] DEBUG: Thread 6
> (gw/smsbox.c:http_queue_thread) maps to pid 12238.
> 2005-07-21 00:20:23 [12231] [0] ERROR: connect failed
> 2005-07-21 00:20:23 [12231] [0] ERROR: System error 110:
> Connection timed out
> 2005-07-21 00:20:23 [12231] [0] ERROR: error connecting to
> server `localhost' at port `13003'
> 2005-07-21 00:20:23 [12231] [0] PANIC: Couldn't connect to
> the bearerbox.
> 2005-07-21 00:20:23 [12231] [0] PANIC:
> smsbox(gw_panic+0x19a) [0x807f7f3]
> 2005-07-21 00:20:23 [12231] [0] PANIC:
> smsbox(connect_to_bearerbox+0x48) [0x80612bb]
> 2005-07-21 00:20:23 [12231] [0] PANIC: smsbox(main+0x2dc)
> [0x805c1dc]
> 2005-07-21 00:20:23 [12231] [0] PANIC:
> /lib/libc.so.6(__libc_start_main+0xc6) [0x4039de36]
> 2005-07-21 00:20:23 [12231] [0] PANIC: smsbox [0x8050cb1]
> 
> 
> 
> 
> thanks again,
> darocz gabor
> 
> _______________________________________________________________________
> [freemail] extra 1GB-os postafi?kkal, ?nnek m?r van? http://freemail.hu
> 
> 
> 
> 

-- 

Reply via email to