hie i've managed to install kannel am able to send and receive sms, now i have installed slqbox everything seems to be configured properly. when i insert values in the send_sms table nothing happens it does not send the sms. what can be the problem. please help....
From: [email protected] To: [email protected] Subject: RE: kannel able to send but not receiving sms Date: Thu, 31 May 2012 10:02:53 +0000 CC: [email protected] hi am trying to forward sms using the sqlbox but i get this error " DRL:mysl connection settings for mydlr are not specified! am lost here are my kannel.conf and sql.confpleaase help. HTTP administration is disabled by default. Make sure you set the# password if you enable it. group = coreadmin-port = 443admin-password = baradmin-deny-ip = "*.*.*.*"admin-allow-ip = "127.0.0.1;192.168.0.*"smsbox-port = 446#wapbox-port = 13004wdp-interface-name = "*"log-file = "/var/log/kannel/bearerbox.log"access-log="/var/log/kannel/access.log"box-deny-ip = "*.*.*.*"box-allow-ip = "127.0.0.1;192.168.0.*"dlr-storage = mysql group = wapboxbearerbox-host = localhostlog-file = "/var/log/kannel/wapbox.log" # My modemgroup = smscsmsc = atsmsc-id = Nokia 5800 XpressMusicmodemtype = Nokiadevice = /dev/ttyUSB0speed = 0#pin = 2345sim-buffering = true#message-storage = MT # My modem groupgroup = modemsid = Nokianame = Nokia#detect-string = NOKIA#keepalive-cmd = "AT+CBC;+CSQ"init-string = "ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0"#init-string = "AT S7=45 S0=0 L1 V1 X4 &c1 E1 Q0"#init-string = "AT+CMGL=0,1,2"#init-string = "AT+CNMI=1,2,0,1,0;+CMEE=1"init-string = "AT+CNMI=2,1,2,2,0;+CMEE=1"message-storage = sm#sim-buffering = true # fake smscgroup = smsbox-routesmsbox-id = bilsmsc-id = Nokia 5800 XpressMusic#port = 10000#connect-allow-ip = 127.0.0.1 #Send SMSgroup = smsboxsmsbox-id = bilbearerbox-host = localhostsendsms-port = 13131#sms-center-number = +2659900140sendsms-chars = "0123456789 "global-sender = +265999307939access-log = "kannel.access"log-file = "smsbox.log"log-level = 0 #Receive SMSgroup = sms-service#keyword =keyword-regex = .*catch-all = yesget-url = "http://localhost/receivesms.php?sender=%p& text=%b"accept-x-kannel-headers = truemax-messages = 5 #group = sqlbox#id = mydlr#smsbox-id = bil#global-sender = "+2###"#bearerbox-host = localhost#bearerbox-port = 443#smsbox-port = 444#smsbox-port-ssl = false#sql-log-table = sent_sms#sql-insert-table = send_sms#log-file = "/var/log/kannel/kannel-sqlbox.log"#log-level = 0 group = mysql-connectionid = mydrlhost = localhostusername = rootpassword = bookertdatabase = kanmax-connections = 1 group = dlr-dbid = mydlrtable = dlrfield-smsc = smscfield-timestamp = tsfield-destination = destinationfield-source = sourcefield-service = servicefield-url = urlfield-mask = maskfield-status = statusfield-boxc-id = boxc #Authenticationgroup = sendsms-userusername = jonespassword = jones sql.conf group = sqlboxid = mydlrsmsbox-id = bilglobal-sender = "+2##"bearerbox-host = localhostbearerbox-port = 443smsbox-port = 13131smsbox-port-ssl = falsesql-log-table = sent_smssql-insert-table = send_smslog-file = "/var/log/kannel/kannel-sqlbox.log"log-level = 0 #group = mysql-connection#id = mydlr#host = localhost#username = root#password = bookert#database = dlr#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 = boxc > Date: Mon, 21 May 2012 08:52:43 -0500 > Subject: Re: kannel able to send but not receiving sms > From: [email protected] > To: [email protected]; [email protected] > > Hi > > AGAIN: PLEASE CC the list !!! You can benefit from faster and multiple > responses and others in list can also benefit of them !!! > > Kannel can not insert MO to a database --nor handle dlrs outside > itself--. You need to do that yourself. You can use get-url for > defining what you want to insert to the database, Your script can be > in any language you know. > > About kannel restart each time you do a change a config, it is the > normal behaviour for kannel; however if you only change SMSC > parameters, you can just restart the smsc. Check kannel http admin. > > Im both cases, refer to user guide for more info & details. > > Regards > > Alvaro > > > > |-----------------------------------------------------------------------------------------------------------------| > Envíe y Reciba Datos y mensajes de Texto (SMS) hacia y desde cualquier > celular y Nextel > en el Perú, México y en mas de 180 paises. Use aplicaciones 2 vias via > SMS y GPRS online > Visitenos en www.perusms.NET www.smsglobal.com.mx y > www.pravcom.com > > > On Sun, May 20, 2012 at 4:49 PM, bilal kamoto <[email protected]> wrote: > > Am able to receive now but I want to be able to forward the messages to > > database. Can I forward them directly from kannel to database or I need to > > create a php script to do the job. > > > > Am still failing to deal with the bind error which is really annoying I need > > to restart my system every time I make changes > > > > > > > > Thanks in advance > > > > > > > > > > > > From: Alvaro Cornejo [mailto:[email protected]] > > Sent: 15 May 2012 05:10 > > To: bilal kamoto > > Cc: [email protected] > > > > > > Subject: Re: kannel able to send but not receiving sms > > > > > > > > Allways cc list. Others can benefiy from it > > > > I have no experience with huawei modems. Seach the list for coments. > > > > Bind error is because you have another instance of the offending box > > running. You can either use the http admin interface or use a init script to > > handle this. Check userguide for detail. > > > > Regards > > > > Alvaro > > > > On Monday, May 14, 2012, bilal kamoto <[email protected]> wrote: > >> Hi > >> I've tried sim-buffering still doesn't work. Am thinking of changing the > >> modem to Huawei but am not sure of the model that will support commands to > >> receive sms in the kannel. > >> Another problem every time I re-run the the bearerbox it show address > >> already in use: bind system error do you have a permanent solution rather > >> than using < kill pid... to kill the processes > >> > >> -----Original Message----- > >> From: Alvaro Cornejo [mailto:[email protected]] > >> Sent: 11 May 2012 18:41 > >> To: bilal kamoto > >> Cc: [email protected] > >> Subject: Re: kannel able to send but not receiving sms > >> > >> Hi > >> > >> If your modem does not support CNMI command --common in nokia phones--, it > >> is not possible to configure it to fwd messages to kannel and form there > >> to > >> your app. > >> > >> Try with sim-buffering=true in your modem config so kannel will search for > >> inc messages in the modem from time to time. > >> > >> Regards > >> > >> Alvaro > >> > >> > >> > >> |--------------------------------------------------------------------------- > >> --------------------------------------| > >> Envíe y Reciba Datos y mensajes de Texto (SMS) hacia y desde cualquier > >> celular y Nextel en el Perú, México y en mas de 180 paises. Use > >> aplicaciones > >> 2 vias via SMS y GPRS online > >> Visitenos en www.perusms.NET www.smsglobal.com.mx y > >> www.pravcom.com > >> > >> > >> On Fri, May 11, 2012 at 8:01 AM, bilal kamoto <[email protected]> wrote: > >>> Hi am using Nokia 5800 xpressmusic, I tried using Mincom to initialize > >>> the modem with AT+CNM=? It gave me an error what should be my next > >>> move > >>> > >>> Please help > >> > >> > > > > -- > > |-----------------------------------------------------------------------------------------------------------------| > > Envíe y Reciba Datos y mensajes de Texto (SMS) hacia y desde cualquier > > celular y Nextel > > en el Perú, México y en mas de 180 paises. Use aplicaciones 2 vias via SMS y > > GPRS online > > Visitenos en www.perusms.NET www.smsglobal.com.mx y > > www.pravcom.com
