i have changed it to 13000 and 13001 and am still getting the same error,,when 
i remove the line of smsbox port in the sql.conf it connects perfectly.i 
another thing the DRL rerouting is disable how can solve this problem?

From: rene.klu...@chimit.nl
To: bgk...@hotmail.com; spame...@gmail.com
CC: users@kannel.org
Subject: RE: kannel able to send but not receiving sms
Date: Sat, 2 Jun 2012 14:48:29 +0200


You have the ports mixed up.Also port 443 is not a wise choice, because it is 
used by https already. == Rene  From: users-boun...@kannel.org 
[mailto:users-boun...@kannel.org] On Behalf Of bilal kamoto
Sent: Monday, 28 May, 2012 21:29
To: 'spameden'
Cc: users@kannel.org
Subject: RE: kannel able to send but not receiving sms HiI’ve  installed and 
configured sqlbox but am not sure of the sequence of starting the bearerbox, 
smsbox and sqlbox.starting bearerbox and smsbox works perfectly fine but when I 
start sqlbox,,the localhost bearerbox connects perfectly but there is an error 
when connecting to smsbox “ bind system error address already# Sample 
configuration file for Kannel bearerbox on Debian. # See the documentation for 
explanations of fields. #   # HTTP administration is disabled by default. Make 
sure you set the # password if you enable it.   group = core admin-port = 443 
admin-password = bar admin-deny-ip = "*.*.*.*" admin-allow-ip = 
"127.0.0.1;192.168.0.*" smsbox-port = 444 #wapbox-port = 13004 
wdp-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 = internal   group = wapbox bearerbox-host 
= localhost log-file = "/var/log/kannel/wapbox.log"   # My modem group = smsc 
smsc = at smsc-id = Nokia 5800 XpressMusic modemtype = Nokia device = 
/dev/ttyUSB0 speed = 0 #pin = 2345 sim-buffering = true #message-storage = MT   
# My modem group group = modems id = Nokia name = 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 = MT #sim-buffering = true   
#group = sqlbox #id = mydlr #smsbox-id = bil #global-sender = "+265999307939" 
#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 #include = " 
/usr/share/doc/kannel/examples/dlr-mysql.conf"   # fake smsc group = 
smsbox-route smsbox-id = bil smsc-id = Nokia 5800 XpressMusic #port = 10000 
#connect-allow-ip = 127.0.0.1   #Send SMS group = smsbox smsbox-id = bil 
bearerbox-host = localhost sendsms-port = 13131 #sms-center-number = +29900140 
sendsms-chars = "0123456789 " global-sender = +######access-log = 
"kannel.access" log-file = "smsbox.log" log-level = 0   #Receive SMS group = 
sms-service #keyword = keyword-regex = .* catch-all = yes get-url = 
"http://localhost/receivesms.php?sender=%p& text=%b" 
accept-x-kannel-headers = true max-messages = 1   #group = mysql-connection #id 
= mydrl #host = localhost #username = root #password = boo#database = kan 
#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   #Authentication group = 
sendsms-user username = jones password = jones  sql.conf file group = sqlbox id 
= mydlr smsbox-id = bil global-sender = "+####" 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-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    From: spameden [mailto:spame...@gmail.com] 
Sent: 22 May 2012 15:45
To: bilal kamoto
Cc: Alvaro Cornejo; users@kannel.org
Subject: Re: kannel able to send but not receiving sms Please don't spam the 
list with the same messages.

Thanks.2012/5/22 bilal kamoto <bgk...@hotmail.com>Thanks the bind error managed 
to sort it out, forwarding the sms to an application then to database is what I 
need to crack  From: users-boun...@kannel.org [mailto:users-boun...@kannel.org] 
On Behalf Of bilal kamoto
Sent: 19 May 2012 17:09
To: cornejo.alv...@gmail.com
Cc: users@kannel.org
Subject: RE: kannel able to send but not receiving sms i have installed gnome 
admin network to deal with the bind am  able to see other applications running 
on it but i cant stop them really dont have a clue how..

another thing i want to be forwarding the messages from the kannel to mysql 
database and what is in the text field should be used to query information and 
it should automatically return the values to the initiator of sms.. please help

# HTTP administration is disabled by default. Make sure you set the
# password if you enable it.

group = core
admin-port = 80
admin-password = bar
admin-deny-ip = "*.*.*.*"
admin-allow-ip = "127.0.0.1;192.168.0.*"
smsbox-port = 84
#wapbox-port = 13004
wdp-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.*"

group = wapbox
bearerbox-host = localhost
log-file = "/var/log/kannel/wapbox.log"

# My modem
group = smsc
smsc = at
smsc-id = Nokia 5800 XpressMusic
modemtype = Nokia
device = /dev/ttyUSB0
speed = 0
#pin = 2345
sim-buffering = true
#message-storage = MT

# My modem group
group = modems
id = Nokia
name = 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,1,0,2,1;+CMEE=1"
init-string = "AT+CNMI=2,1,2,2,0;+CMEE=1"
#enable-mms = true
#sim-buffering = true

# fake smsc
group = smsbox-route
smsbox-id = bil
smsc-id = Nokia 5800 XpressMusic
#port = 10000
#connect-allow-ip = 127.0.0.1

#Send SMS
group = smsbox
smsbox-id = bil
bearerbox-host = localhost
sendsms-port = 13131
#receivesms-port = 13132
sendsms-chars = "0123456789 "
global-sender = +255659375093
access-log = "kannel.access"
log-file = "smsbox.log"
log-level = 0

#Receive SMS
group = sms-service
#keyword =
keyword-regex = .*
catch-all = yes
#get-url = "http://localhost/kannel/receivesms.php?sender=%p&amp; text=%b"
accept-x-kannel-headers = true
max-messages = 0

#Authentication
group = sendsms-user
username = jones
password = jonesDate: Mon, 14 May 2012 21:10:16 -0500
Subject: Re: kannel able to send but not receiving sms
From: cornejo.al...@gmail.com
To: bgk...@hotmail.com
CC: us...@vm1.kannel.org

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 <bgk...@hotmail.com> 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:cornejo.alv...@gmail.com]
> Sent: 11 May 2012 18:41
> To: bilal kamoto
> Cc: users@kannel.org
> 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 <bgk...@hotmail.com> 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                                         

Reply via email to