Andreas, I have attached my configuration file for more details..
*BearBox Log:-* 2012-10-10 15:00:12 [3099] [7] DEBUG: sms_router: gwlist_len = 14 2012-10-10 15:00:12 [3099] [7] DEBUG: sms_router: handling message (0x855e568 vs 0x855e568) 2012-10-10 15:00:12 [3099] [7] DEBUG: Routing failed, re-queued. 2012-10-10 15:00:12 [3099] [7] DEBUG: sms_router: handling message (0x8578d30 vs 0x855e568) 2012-10-10 15:00:12 [3099] [7] DEBUG: Routing failed, re-queued. 2012-10-10 15:00:12 [3099] [7] DEBUG: sms_router: handling message (0x85605c0 vs 0x855e568) 2012-10-10 15:00:12 [3099] [7] DEBUG: Routing failed, re-queued. 2012-10-10 15:00:12 [3099] [7] DEBUG: sms_router: handling message (0x8560040 vs 0x855e568) 2012-10-10 15:00:12 [3099] [7] DEBUG: Routing failed, re-queued. 2012-10-10 15:00:12 [3099] [7] DEBUG: sms_router: handling message (0xb56011c0 vs 0x855e568) 2012-10-10 15:00:12 [3099] [7] DEBUG: Routing failed, re-queued. 2012-10-10 15:00:12 [3099] [7] DEBUG: sms_router: handling message (0x857ae78 vs 0x855e568) 2012-10-10 15:00:12 [3099] [7] DEBUG: Routing failed, re-queued. 2012-10-10 15:00:12 [3099] [7] DEBUG: sms_router: handling message (0x8568730 vs 0x855e568) 2012-10-10 15:00:12 [3099] [7] DEBUG: Routing failed, re-queued. 2012-10-10 15:00:12 [3099] [7] DEBUG: sms_router: handling message (0x8568a00 vs 0x855e568) 2012-10-10 15:00:12 [3099] [7] DEBUG: Routing failed, re-queued. 2012-10-10 15:00:12 [3099] [7] DEBUG: sms_router: handling message (0x857b0f8 vs 0x855e568) 2012-10-10 15:00:12 [3099] [7] DEBUG: Routing failed, re-queued. 2012-10-10 15:00:12 [3099] [7] DEBUG: sms_router: handling message (0x855cc80 vs 0x855e568) 2012-10-10 15:00:12 [3099] [7] DEBUG: Routing failed, re-queued. 2012-10-10 15:00:12 [3099] [7] DEBUG: sms_router: handling message (0x857ed08 vs 0x855e568) 2012-10-10 15:00:12 [3099] [7] DEBUG: Routing failed, re-queued. 2012-10-10 15:00:12 [3099] [7] DEBUG: sms_router: handling message (0x85694d0 vs 0x855e568) 2012-10-10 15:00:12 [3099] [7] DEBUG: Routing failed, re-queued. 2012-10-10 15:00:12 [3099] [7] DEBUG: sms_router: handling message (0x8569790 vs 0x855e568) 2012-10-10 15:00:12 [3099] [7] DEBUG: Routing failed, re-queued. 2012-10-10 15:00:12 [3099] [7] DEBUG: sms_router: handling message (0x85602f8 vs 0x855e568) 2012-10-10 15:00:12 [3099] [7] DEBUG: Routing failed, re-queued. 2012-10-10 15:00:12 [3099] [7] DEBUG: sms_router: handling message (0x855e568 vs 0x855e568) 2012-10-10 15:00:12 [3099] [7] DEBUG: Routing failed, re-queued. 2012-10-10 15:00:12 [3099] [7] DEBUG: sms_router: time to sleep 30.00 secs. *SMSBox:-* 2012-10-10 14:55:00 [3108] [0] DEBUG: <password> = <bhati> 2012-10-10 14:55:00 [3108] [0] DEBUG: Started thread 4 (gw/smsbox.c:obey_request_thread) 2012-10-10 14:55:00 [3108] [0] DEBUG: Started thread 5 (gw/smsbox.c:url_result_thread) 2012-10-10 14:55:00 [3108] [0] DEBUG: Started thread 6 (gw/smsbox.c:http_queue_thread) 2012-10-10 14:55:00 [3108] [0] INFO: Connected to bearerbox at localhost port 13001. 2012-10-10 14:55:00 [3108] [0] DEBUG: Started thread 7 (gw/heartbeat.c:heartbeat_thread) 2012-10-10 14:55:00 [3108] [4] DEBUG: Thread 4 (gw/smsbox.c:obey_request_thread) maps to pid 3108. 2012-10-10 14:55:00 [3108] [5] DEBUG: Thread 5 (gw/smsbox.c:url_result_thread) maps to pid 3108. 2012-10-10 14:55:00 [3108] [6] DEBUG: Thread 6 (gw/smsbox.c:http_queue_thread) maps to pid 3108. 2012-10-10 14:55:00 [3108] [2] DEBUG: Thread 2 (gwlib/http.c:server_thread) maps to pid 3108. 2012-10-10 14:55:00 [3108] [7] DEBUG: Thread 7 (gw/heartbeat.c:heartbeat_thread) maps to pid 3108. 2012-10-10 14:55:13 [3108] [2] DEBUG: HTTP: Creating HTTPClient for `115.115.95.162'. 2012-10-10 14:55:13 [3108] [2] DEBUG: HTTP: Created HTTPClient area 0xb53005c8. 2012-10-10 14:55:13 [3108] [3] INFO: smsbox: Got HTTP request </cgi-bin/sendsms> from <115.115.95.162> 2012-10-10 14:55:13 [3108] [3] INFO: sendsms used by <virendra> 2012-10-10 14:55:13 [3108] [3] INFO: sendsms sender:<virendra:9718500594> (115.115.95.162) to:<00919718500594> msg:<"Hi Virendra Bhati, SMS gateway is working now"> 2012-10-10 14:55:13 [3108] [3] DEBUG: Stored UUID f70cb417-6ba2-4217-a489-19547ebe68f2 2012-10-10 14:55:13 [3108] [3] DEBUG: message length 47, sending 1 messages 2012-10-10 14:55:13 [3108] [3] DEBUG: Status: 202 Answer: <Sent.> 2012-10-10 14:55:13 [3108] [3] DEBUG: Delayed reply - wait for bearerbox 2012-10-10 14:55:13 [3108] [0] DEBUG: Got ACK (3) of f70cb417-6ba2-4217-a489-19547ebe68f2 2012-10-10 14:55:13 [3108] [0] DEBUG: HTTP: Resetting HTTPClient for `115.115.95.162'. 2012-10-10 14:55:13 [3108] [3] INFO: smsbox: Got HTTP request </favicon.ico> from <115.115.95.162> 2012-10-10 14:55:13 [3108] [3] DEBUG: Status: 404 Answer: <Unknown request.> 2012-10-10 14:55:13 [3108] [3] DEBUG: HTTP: Resetting HTTPClient for `115.115.95.162'. 2012-10-10 14:55:31 [3108] [3] INFO: smsbox: Got HTTP request </cgi-bin/status> from <115.115.95.162> 2012-10-10 14:55:31 [3108] [3] DEBUG: Status: 404 Answer: <Unknown request.> 2012-10-10 14:55:31 [3108] [3] DEBUG: HTTP: Resetting HTTPClient for `115.115.95.162'. 2012-10-10 14:56:04 [3108] [3] INFO: smsbox: Got HTTP request </cgi-bin/status=hariom> from <115.115.95.162> 2012-10-10 14:56:04 [3108] [3] DEBUG: Status: 404 Answer: <Unknown request.> 2012-10-10 14:56:04 [3108] [3] DEBUG: HTTP: Resetting HTTPClient for `115.115.95.162'. 2012-10-10 14:57:04 [3108] [1] DEBUG: Timeout for fd:24 appeares. 2012-10-10 14:57:04 [3108] [1] DEBUG: HTTP: Destroying HTTPClient area 0xb53005c8. 2012-10-10 14:57:04 [3108] [1] DEBUG: HTTP: Destroying HTTPClient for `115.115.95.162'. If anything is required from my side then let me know.. On Tue, Oct 9, 2012 at 9:42 AM, Andreas Fink <[email protected]> wrote: > you have > > modemtype = Bluocean > > but no modem definition with that name in the config file. > Try adding this: > > group = modems > id = Bluocean > name = Bluocean > speed = 115200 > detect-string = "Bluocean" > detect-string2 = "" > init-string = "AT+CNMI=2,2,2,1,0" > enable-hwhs = "" > need-sleep = true > no-pin = true > no-smsc = false > sendline-sleep = 100 > keepalive-cmd = "AT" > broken = false > message-storage = "SM" > hardware-flow-control = false > reset-string = "AT+CFUN=1" > > > You might have to play with the init string, hardware handshake, speed > etc. > Above settings is what I use with my wavecom modems which are pretty much > following the GSM standards. > > Trial and error helps there. Just set it up and watch the bearerbox > logfile to see what kannel does do when talking to the modem and how the > modem reacts. Especially in cases where you have lots of incoming SMS or > delivery reports. > > On 09.10.2012, at 06:04, virendra bhati <[email protected]> wrote: > > *1) do you have a manual for it?* > > http://www.bluocean.biz/gsm_modem.html#usb_gprs > model 2 is the GSM modem.. > > *2) what kind of GSM modem options have you configured?* > > group = core > admin-port = 13000 > smsbox-port = 13001 > admin-password = hariom > status-password = foo > admin-deny-ip = "" > admin-allow-ip = "" > log-level = 0 > log-file = "/var/log/kannel/kannel.log" > box-deny-ip = "*.*.*.*" > box-allow-ip = "127.0.0.1" > access-log = "/var/log/kannel/access.log" > store-location= "/var/log/kannel/a-z.log" > smsbox-max-pending = 10 > unified-prefix = "91,0091,+91,091" > > group = smsc > smsc = at > smsc-id = Bluocean > modemtype = Bluocean > device = /dev/ttyUSB0 > my-number = "+6583640330" > speed = 115200 > log-level = 0 > log-file = "/var/log/kannel/smsc.log" > > group = wapbox > bearerbox-host = localhost > log-file = "/var/log/kannel/wapbox.log" > log-level = 0 > > # MODEM DEFINITIONS > group = modems > id = wavecom > name = "wavecom" > detect-string = "wavecom" > init-string = "ATZ" > reset-string = "ATZ" > > group = smsbox > bearerbox-host = localhost > sendsms-port = 13003 > global-sender = 9718500594 > #sendsms-url = "http://localhost:13003/cgi-bin/sendsms" > access-log = /var/log/kannel/smsaccess.log > log-file = "/var/log/kannel/smsbox.log" > log-level = 0 > > > # SEND-SMS USERS > > group = sendsms-user > username = virendra > password = bhati > > #--------------------------------------------- > # SERVICES > > group = sms-service > keyword = default > text = "This facility is down for maintenance." > accept-x-kannel-headers = true > max-messages = 1 > concatenation = true > get-url = " > http://localhost/playsms/plugin/gateway/kannel/geturl.php?t=%t&q=%q&a=%a" > > group = mysql-connection > id = mydlr > host = localhost > username = root > password = > database = playsms > max-connections = 1 > > group = dlr-db > id = mydlr > table = dlr > field-smsc = smsc > field-timestamp = ts > field-destination = destination > field-source = source > field-service = service > field-url = url > field-mask = mask > field-status = status > field-boxc-id = boxc3)what does the bearerbox.log say if you enable > log-level = 0 ? > > *what does the bearerbox.log say if you enable log-level = 0 ?* > Right now dedicated server center is down when come up then I will provide > that details as well. > On Mon, Oct 8, 2012 at 11:12 PM, Andreas Fink <[email protected]> wrote: > >> >> On 08.10.2012, at 19:39, virendra bhati <[email protected]> wrote: >> >> Hi Team, >> >> I have installed Kannel and working perfectly with *Ubuntu 12.04.1 LTS*. >> But I am not able to installed *BluOcean™ USB GSM / GPRS Modem*. Could >> you please help me so that I will configure and used my GSM modem for >> sending SMS from Kannel. >> >> >> do you have a manual for it? >> what kind of GSM modem options have you configured? >> what does the bearerbox.log say if you enable log-level = 0 ? >> >> Usually its only a question of finding the right init strings...(which >> can be tricky at times...) >> >> >> >> >> -- >> >> Thanks and regards >> >> Virendra Bhati >> +91-9718500594 >> Asterisk Developer >> E-mail-: [email protected] >> Skype id:- virbhati2 >> New Delhi(India) >> [image: View my profile on >> LinkedIn]<http://in.linkedin.com/pub/virendra-bhati/6/a30/755> >> >> >> > > > -- > > Thanks and regards > > Virendra Bhati > +91-9718500594 > Asterisk Developer > E-mail-: [email protected] > Skype id:- virbhati2 > New Delhi(India) > [image: View my profile on > LinkedIn]<http://in.linkedin.com/pub/virendra-bhati/6/a30/755> > > > -- Thanks and regards Virendra Bhati +91-9718500594 Asterisk Developer E-mail-: [email protected] Skype id:- virbhati2 New Delhi(India) [image: View my profile on LinkedIn]<http://in.linkedin.com/pub/virendra-bhati/6/a30/755>
b.conf
Description: Binary data
