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)
>> 
>> 
> 
> 
> 
> 
> -- 
> 
> Thanks and regards
> 
>  Virendra Bhati
> +91-9718500594
> Asterisk Developer
> E-mail-: [email protected]
> Skype id:- virbhati2
> New Delhi(India)
> 
> 

Reply via email to