3g data card not able to receive messages

2010-12-21 Thread parimal naigaonkar
hi,
i have a 3g data card, it is detected on ttyACM0 only when i run the package
given in it for linux.
i am able to configure and use it to send messages but kannel is not able to
receive messages instead the package itself receives messages and shows pop
up.
--
output of dmesg:
[ 3199.311902] sr 4:0:0:0: [sr1] Unhandled sense code
[ 3199.311904] sr 4:0:0:0: [sr1] Result: hostbyte=DID_OK
driverbyte=DRIVER_SENSE
[ 3199.311907] sr 4:0:0:0: [sr1] Sense Key : Medium Error [current]
[ 3199.311910] sr 4:0:0:0: [sr1] Add. Sense: Unrecovered read error
[ 3199.311913] sr 4:0:0:0: [sr1] CDB: Read(10): 28 00 00 00 20 ca 00 00 02
00
[ 3199.311920] end_request: I/O error, dev sr1, sector 33576
[ 3442.367533] usb 2-6: USB disconnect, address 7
[ 3442.367961] ehci_hcd :00:1d.7: dma_pool_free buffer-2048,
ed830080/2d830080 (bad dma)
[ 3442.401478] scsi 4:0:0:0: rejecting I/O to dead device
[ 3460.816207] usb 2-6: new high speed USB device using ehci_hcd and address
8


kannel.conf
Description: Binary data


CIMD2 questions - part II

2010-12-21 Thread dorian
With reference to ma previous mail (below).

The 'validity' problem - sorry my fault.
I've forgot that the parameter value is converted to a time period
according to the GSM 03.40 specification.
Subject fixed.

I recalled about it when I dug a little bit in the source code

Anyway I've also found that 'deferred' parameter is not handled.

Am I right?


--
I am using kannel-1.4.3 with sqlbox-0.7.2.
My problem is that values of CGI Variables 'validity' and 'deferred' are
ignored.

As a matter of fact, looking at smsc.log file, I've found that
'validity' is totally ignored whereas 'deferred' is translated into the
corresponding '050' CIMD2 protocol message but always has value = 0.

Any suggestions how to fix it?
Especially 'deferred' is important for me.






problems sending sms with http

2010-12-21 Thread ndiaye Ismaïla
Hi, I'm having problems sending sms with kannel's http interface (I used
lynx and firefox). The sms box receives the request but answers Delayed
reply : wait for bearerbox. When I send sms to a correct sms-service I
receive the answer (via the text =...). Here you'll find my config and log
files. Thanks in advance for your help.


conf
Description: Binary data


CIMD2 questions

2010-12-21 Thread dorian
I am using kannel-1.4.3 with sqlbox-0.7.2.
My problem is that values of CGI Variables 'validity' and 'deferred' are
ignored.

As a matter of fact, looking at smsc.log file, I've found that
'validity' is totally ignored whereas 'deferred' is translated into the
corresponding '050' CIMD2 protocol message but always has value = 0.

Any suggestions how to fix it?
Especially 'deferred' is important for me.




RE: DLR storage in kannel 1.4.3

2010-12-21 Thread Peter
You either use a precompiled version of kannel without mysql support or
you compiled without the --with-mysql option
ie.
configure --with-mysql --enable-start-stop-daemon
make
make install

Στις 21-12-2010, ημέρα Τρι, και ώρα 13:48 +0300, ο/η Rapture έγραψε:
> Here’s the error I’m getting
> 
>  
> 
> 2010-12-21 13:37:28 [4293] [0] PANIC: DLR: storage type 'mysql' is not
> supported!
> 
>  
> 
> What’s interesting is that I have mysql 5.0.3 which I use to run all
> other operations on kannel ie outgoing , incoming etc using php
> scripts
> 
>  
> 
> Here are my configs:
> 
>  
> 
> ###
> 
>  KANNEL CORE #
> 
> ##
> 
> group = core
> 
> admin-port = 
> 
> smsbox-port = 
> 
> admin-password = bar
> 
> box-deny-ip = "*.*.*.*"
> 
> box-allow-ip = "127.0.0.1"
> 
> log-file = "/var/log/kannel/bearerbox.log"
> 
> log-level = 3
> 
> access-log = "/var/log/kannel/bearerbox.log"
> 
> dlr-storage = mysql
> 
>  
> 
> #$$$#
> 
> #$$ DLR STORAGE  $$$#
> 
> #$$#
> 
>  
> 
> group = mysql-connection
> 
> id = mydlr
> 
> host = localhost
> 
> username = blabla
> 
> password = blabla
> 
> database = kanneldlr
> 
> max-connections = 1
> 
>  
> 
> group = dlr-db
> 
> id = mydlr
> 
> table = kanneldlr
> 
> 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:users-boun...@kannel.org [mailto:users-boun...@kannel.org] On
> Behalf Of Rapture
> Sent: Tuesday, December 21, 2010 1:05 PM
> To: 'Mohammed Saleem'
> Cc: users@kannel.org
> Subject: RE: DLR storage in kannel 1.4.3
> 
> 
> 
>  
> 
> Let me get the error :) I thought the responses would be something
> like ‘1.4.3 has issues with mysql’
> 
>  
> 
> Rapture
> 
>  
> 
> 
> From: Mohammed Saleem [mailto:mohammedsl...@gmail.com] 
> Sent: Tuesday, December 21, 2010 1:02 PM
> To: Rapture
> Cc: users@kannel.org
> Subject: Re: DLR storage in kannel 1.4.3
> 
> 
> 
>  
> 
> If we don't know the error we won't be able to help :)
> 
> 
> post your config files + error logs
> 
> 
> 
> 
> 
> Best Regards,
> Mohammed M I Sleem
> 
> http://www.abusleem.net  - Personal blog
> 
> http://www.freakle.com - The Search Freak
> 
> 
> 
>  
> 
> 
> On Tue, Dec 21, 2010 at 11:54 AM, Rapture  wrote:
> 
> 
> Hi
> 
>  
> 
> I’m using kannel 1.4.3. I tried to set my dlr engine to mysql but kept
> getting an error. I am using CentOS 5.5 64bit edition. What could be
> the issue?
> 
>  
> 
> Kind Regards,
> 
>  
> 
> Rapture
> 
>  
> 
> 
> 
>  
> 
> 




Dr. Peter Kontopoulos
CTO

LOCOTEL SA
2, Parnassou St.
10561 Athens, GREECE
T: +30 210 3258 350 F: +30 210 3258 359
www.locotel.gr  &  www.locosms.gr 


Email Disclaimer
The information in this email is confidential and is intended solely for
the addressee(s). If you have received this transmission in error, and
you are not an intended recipient, be aware that any disclosure,
copying, distribution or use of this transmission or its contents is
prohibited. Furthermore, you are kindly requested to send us back the
original message at the address portmas...@locotel.gr, and delete the
message from your system immediately. 
Internet communications are not secure and therefore LOCOTEL SA does not
accept legal responsibility for the contents of this message and for any
damage whatsoever that is caused by viruses being passed. Any views or
opinions presented are solely those of the author and do not necessarily
represent those of LOCOTEL SA. 
Thank you,
LOCOTEL SA
Think Before you Print 


RE: DLR storage in kannel 1.4.3

2010-12-21 Thread Rapture
Nope. I think that's where the problem might be. I was new to kannel when I
first installed it hence lack of knowledge on dependencies

 

From: Abdul Basit [mailto:basit.e...@gmail.com] 
Sent: Tuesday, December 21, 2010 1:59 PM
To: Rapture
Cc: users@kannel.org
Subject: Re: DLR storage in kannel 1.4.3

 

have you configured kannel --with-mysql support?

have you installed mysql-devel package?

 

On Tue, Dec 21, 2010 at 3:48 PM, Rapture  wrote:

Here's the error I'm getting

 

2010-12-21 13:37:28 [4293] [0] PANIC: DLR: storage type 'mysql' is not
supported!

 

What's interesting is that I have mysql 5.0.3 which I use to run all other
operations on kannel ie outgoing , incoming etc using php scripts

 

Here are my configs:

 

###

 KANNEL CORE #

##

group = core

admin-port = 

smsbox-port = 

admin-password = bar

box-deny-ip = "*.*.*.*"

box-allow-ip = "127.0.0.1"

log-file = "/var/log/kannel/bearerbox.log"

log-level = 3

access-log = "/var/log/kannel/bearerbox.log"

dlr-storage = mysql

 

#$$$#

#$$ DLR STORAGE  $$$#

#$$#

 

group = mysql-connection

id = mydlr

host = localhost

username = blabla

password = blabla

database = kanneldlr

max-connections = 1

 

group = dlr-db

id = mydlr

table = kanneldlr

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: users-boun...@kannel.org [mailto:users-boun...@kannel.org] On Behalf
Of Rapture
Sent: Tuesday, December 21, 2010 1:05 PM
To: 'Mohammed Saleem'
Cc: users@kannel.org
Subject: RE: DLR storage in kannel 1.4.3

 

Let me get the error :) I thought the responses would be something like
'1.4.3 has issues with mysql'

 

Rapture

 

From: Mohammed Saleem [mailto:mohammedsl...@gmail.com] 
Sent: Tuesday, December 21, 2010 1:02 PM
To: Rapture
Cc: users@kannel.org
Subject: Re: DLR storage in kannel 1.4.3

 

If we don't know the error we won't be able to help :)


post your config files + error logs




Best Regards,
Mohammed M I Sleem

http://www.abusleem.net  - Personal blog

http://www.freakle.com - The Search Freak

 

On Tue, Dec 21, 2010 at 11:54 AM, Rapture  wrote:

Hi

 

I'm using kannel 1.4.3. I tried to set my dlr engine to mysql but kept
getting an error. I am using CentOS 5.5 64bit edition. What could be the
issue?

 

Kind Regards,

 

Rapture

 

 




-- 

Regards,


Abdul Basit | +92 32 1416 4196 | +92 30 0841 1445



Re: DLR storage in kannel 1.4.3

2010-12-21 Thread Abdul Basit
have you configured kannel --with-mysql support?
have you installed mysql-devel package?


On Tue, Dec 21, 2010 at 3:48 PM, Rapture  wrote:

>  Here’s the error I’m getting
>
>
>
> 2010-12-21 13:37:28 [4293] [0] PANIC: DLR: storage type 'mysql' is not
> supported!
>
>
>
> What’s interesting is that I have mysql 5.0.3 which I use to run all other
> operations on kannel ie outgoing , incoming etc using php scripts
>
>
>
> Here are my configs:
>
>
>
> ###
>
>  KANNEL CORE #
>
> ##
>
> group = core
>
> admin-port = 
>
> smsbox-port = 
>
> admin-password = bar
>
> box-deny-ip = "*.*.*.*"
>
> box-allow-ip = "127.0.0.1"
>
> log-file = "/var/log/kannel/bearerbox.log"
>
> log-level = 3
>
> access-log = "/var/log/kannel/bearerbox.log"
>
> dlr-storage = mysql
>
>
>
> #$$$#
>
> #$$ DLR STORAGE  $$$#
>
> #$$#
>
>
>
> group = mysql-connection
>
> id = mydlr
>
> host = localhost
>
> username = blabla
>
> password = blabla
>
> database = kanneldlr
>
> max-connections = 1
>
>
>
> group = dlr-db
>
> id = mydlr
>
> table = kanneldlr
>
> 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:* users-boun...@kannel.org [mailto:users-boun...@kannel.org] *On
> Behalf Of *Rapture
> *Sent:* Tuesday, December 21, 2010 1:05 PM
> *To:* 'Mohammed Saleem'
> *Cc:* users@kannel.org
> *Subject:* RE: DLR storage in kannel 1.4.3
>
>
>
> Let me get the error :) I thought the responses would be something like
> ‘1.4.3 has issues with mysql’
>
>
>
> Rapture
>
>
>
> *From:* Mohammed Saleem [mailto:mohammedsl...@gmail.com]
> *Sent:* Tuesday, December 21, 2010 1:02 PM
> *To:* Rapture
> *Cc:* users@kannel.org
> *Subject:* Re: DLR storage in kannel 1.4.3
>
>
>
> If we don't know the error we won't be able to help :)
>
>
> post your config files + error logs
>
>
>  Best Regards,
> Mohammed M I Sleem
>
> http://www.abusleem.net  - Personal blog
>
> http://www.freakle.com - The Search Freak
>
>
>
> On Tue, Dec 21, 2010 at 11:54 AM, Rapture  wrote:
>
> Hi
>
>
>
> I’m using kannel 1.4.3. I tried to set my dlr engine to mysql but kept
> getting an error. I am using CentOS 5.5 64bit edition. What could be the
> issue?
>
>
>
> Kind Regards,
>
>
>
> Rapture
>
>
>
>
>



-- 
Regards,

Abdul Basit | +92 32 1416 4196 | +92 30 0841 1445


RE: DLR storage in kannel 1.4.3

2010-12-21 Thread Rapture
Here’s the error I’m getting

 

2010-12-21 13:37:28 [4293] [0] PANIC: DLR: storage type 'mysql' is not 
supported!

 

What’s interesting is that I have mysql 5.0.3 which I use to run all other 
operations on kannel ie outgoing , incoming etc using php scripts

 

Here are my configs:

 

###

 KANNEL CORE #

##

group = core

admin-port = 

smsbox-port = 

admin-password = bar

box-deny-ip = "*.*.*.*"

box-allow-ip = "127.0.0.1"

log-file = "/var/log/kannel/bearerbox.log"

log-level = 3

access-log = "/var/log/kannel/bearerbox.log"

dlr-storage = mysql

 

#$$$#

#$$ DLR STORAGE  $$$#

#$$#

 

group = mysql-connection

id = mydlr

host = localhost

username = blabla

password = blabla

database = kanneldlr

max-connections = 1

 

group = dlr-db

id = mydlr

table = kanneldlr

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: users-boun...@kannel.org [mailto:users-boun...@kannel.org] On Behalf Of 
Rapture
Sent: Tuesday, December 21, 2010 1:05 PM
To: 'Mohammed Saleem'
Cc: users@kannel.org
Subject: RE: DLR storage in kannel 1.4.3

 

Let me get the error :) I thought the responses would be something like ‘1.4.3 
has issues with mysql’

 

Rapture

 

From: Mohammed Saleem [mailto:mohammedsl...@gmail.com] 
Sent: Tuesday, December 21, 2010 1:02 PM
To: Rapture
Cc: users@kannel.org
Subject: Re: DLR storage in kannel 1.4.3

 

If we don't know the error we won't be able to help :)


post your config files + error logs




Best Regards,
Mohammed M I Sleem

http://www.abusleem.net  - Personal blog

http://www.freakle.com - The Search Freak

 

On Tue, Dec 21, 2010 at 11:54 AM, Rapture  wrote:

Hi

 

I’m using kannel 1.4.3. I tried to set my dlr engine to mysql but kept getting 
an error. I am using CentOS 5.5 64bit edition. What could be the issue?

 

Kind Regards,

 

Rapture

 

 



Re: DLR storage in kannel 1.4.3

2010-12-21 Thread Alejandro Guerrieri
Try googling a little bit about the error, it's probably something already
discussed.

If you're still out of luck, please post detailed information about the
error and your configuration files.

Regards,

Alex

On Tue, Dec 21, 2010 at 11:04 AM, Rapture  wrote:

>  Let me get the error :) I thought the responses would be something like
> ‘1.4.3 has issues with mysql’
>
>
>
> Rapture
>
>
>
> *From:* Mohammed Saleem [mailto:mohammedsl...@gmail.com]
> *Sent:* Tuesday, December 21, 2010 1:02 PM
> *To:* Rapture
> *Cc:* users@kannel.org
> *Subject:* Re: DLR storage in kannel 1.4.3
>
>
>
> If we don't know the error we won't be able to help :)
>
>
> post your config files + error logs
>
>
>  Best Regards,
> Mohammed M I Sleem
>
> http://www.abusleem.net  - Personal blog
>
> http://www.freakle.com - The Search Freak
>
>
>
>  On Tue, Dec 21, 2010 at 11:54 AM, Rapture  wrote:
>
> Hi
>
>
>
> I’m using kannel 1.4.3. I tried to set my dlr engine to mysql but kept
> getting an error. I am using CentOS 5.5 64bit edition. What could be the
> issue?
>
>
>
> Kind Regards,
>
>
>
> Rapture
>
>
>
>
>


RE: DLR storage in kannel 1.4.3

2010-12-21 Thread Rapture
Let me get the error :) I thought the responses would be something like ‘1.4.3 
has issues with mysql’

 

Rapture

 

From: Mohammed Saleem [mailto:mohammedsl...@gmail.com] 
Sent: Tuesday, December 21, 2010 1:02 PM
To: Rapture
Cc: users@kannel.org
Subject: Re: DLR storage in kannel 1.4.3

 

If we don't know the error we won't be able to help :)


post your config files + error logs




Best Regards,
Mohammed M I Sleem

http://www.abusleem.net  - Personal blog

http://www.freakle.com - The Search Freak





On Tue, Dec 21, 2010 at 11:54 AM, Rapture  wrote:

Hi

 

I’m using kannel 1.4.3. I tried to set my dlr engine to mysql but kept getting 
an error. I am using CentOS 5.5 64bit edition. What could be the issue?

 

Kind Regards,

 

Rapture

 

 



Re: DLR storage in kannel 1.4.3

2010-12-21 Thread Mohammed Saleem
If we don't know the error we won't be able to help :)


post your config files + error logs


Best Regards,
Mohammed M I Sleem

http://www.abusleem.net  - Personal blog

http://www.freakle.com - The Search Freak 



On Tue, Dec 21, 2010 at 11:54 AM, Rapture  wrote:

>  Hi
>
>
>
> I’m using kannel 1.4.3. I tried to set my dlr engine to mysql but kept
> getting an error. I am using CentOS 5.5 64bit edition. What could be the
> issue?
>
>
>
> Kind Regards,
>
>
>
> Rapture
>
>
>


DLR storage in kannel 1.4.3

2010-12-21 Thread Rapture
Hi

 

I'm using kannel 1.4.3. I tried to set my dlr engine to mysql but kept
getting an error. I am using CentOS 5.5 64bit edition. What could be the
issue?

 

Kind Regards,

 

Rapture