Problem sending messages with SMSD

Hello.

A couple of days ago, i had to upgrade my ubuntu to ver. 8.04. Before
that everything was OK with gammu, but after that when i send messages
with the following command:

echo "test" | gammu --sendsmsdsms TEXT destination MYSQL /etc/smsdrc

The message is processed by gammy daemon, it's inserted in the
database, it's processed and inserted in "sentitems" table, but the
message never get's to the destination, or it's not really sent.

Although if i send the message without smsd using the command:

echo "test" | gammu --sendsms TEXT destination

The message is sent normally and is recieved by the destination phone.

I also tried to install a newly Fedora 9 system, just to see if it was
only because of the upgrade and the behaviour is the same.

Here is my conf file (smsdrc) :

[gammu]
port = /dev/ttyUSB0
model = 6021
connection = fbus
logfile = /var/log/gammulog
logformat = textall
use_locking = yes
(Continue reading)

Michal Čihař | 6 Aug 22:55
Favicon
Gravatar

Re: Problem sending messages with SMSD

Hi

Dne Mon, 28 Jul 2008 15:13:00 +0100
"Carlos Brás" <cbras1980 <at> gmail.com> napsal(a):

> A couple of days ago, i had to upgrade my ubuntu to ver. 8.04. Before
> that everything was OK with gammu, but after that when i send messages
> with the following command:
> 
> echo "test" | gammu --sendsmsdsms TEXT destination MYSQL /etc/smsdrc
> 
> The message is processed by gammy daemon, it's inserted in the
> database, it's processed and inserted in "sentitems" table, but the
> message never get's to the destination, or it's not really sent.
> 
> Although if i send the message without smsd using the command:
> 
> echo "test" | gammu --sendsms TEXT destination
> 
> The message is sent normally and is recieved by the destination phone.
> 
> I also tried to install a newly Fedora 9 system, just to see if it was
> only because of the upgrade and the behaviour is the same.

It is most likely caused by some change in Gammu. Does it also happen
with 1.20.0 or 1.20.90?

--

-- 
	Michal Čihař | http://cihar.com | http://blog.cihar.com
(Continue reading)

Re: Problem sending messages with SMSD

Yes it does.

But the problem is now solved. The solution was to insert the data
directly into the DB with this mysql query:

INSERT INTO outbox
(UpdatedInDB,InsertIntoDB,Coding,TextDecoded,DestinationNumber) VALUES
(NOW(),NOW(),'Default_No_Compression','TEXT','PHONENR');

And this way the message get's sent. If i use the gammu --sendsmsdsms
command, it does nothing.

Cheers

On Wed, Aug 6, 2008 at 9:55 PM, Michal Čihař <michal <at> cihar.com> wrote:
> Hi
>
> Dne Mon, 28 Jul 2008 15:13:00 +0100
> "Carlos Brás" <cbras1980 <at> gmail.com> napsal(a):
>
>> A couple of days ago, i had to upgrade my ubuntu to ver. 8.04. Before
>> that everything was OK with gammu, but after that when i send messages
>> with the following command:
>>
>> echo "test" | gammu --sendsmsdsms TEXT destination MYSQL /etc/smsdrc
>>
>> The message is processed by gammy daemon, it's inserted in the
>> database, it's processed and inserted in "sentitems" table, but the
>> message never get's to the destination, or it's not really sent.
>>
(Continue reading)

Michal Čihař | 4 Sep 19:57
Favicon
Gravatar

Re: Problem sending messages with SMSD

Hi

Dne Thu, 7 Aug 2008 09:21:38 +0100
"Carlos Brás" <cbras1980 <at> gmail.com> napsal(a):

> Yes it does.
> 
> But the problem is now solved. The solution was to insert the data
> directly into the DB with this mysql query:
> 
> INSERT INTO outbox
> (UpdatedInDB,InsertIntoDB,Coding,TextDecoded,DestinationNumber) VALUES
> (NOW(),NOW(),'Default_No_Compression','TEXT','PHONENR');
> 
> And this way the message get's sent. If i use the gammu --sendsmsdsms
> command, it does nothing.

Did not SMSD log contain anything about such failure?

--

-- 
	Michal Čihař | http://cihar.com | http://blog.cihar.com
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
(Continue reading)

Re: Problem sending messages with SMSD

Hello.

That's the weird thing. The log contains nothing because no error is
displayed. Everything runs ok, but the message does not get sent.

Cheers

On Thu, Sep 4, 2008 at 6:57 PM, Michal Čihař <michal <at> cihar.com> wrote:
> Hi
>
> Dne Thu, 7 Aug 2008 09:21:38 +0100
> "Carlos Brás" <cbras1980 <at> gmail.com> napsal(a):
>
>> Yes it does.
>>
>> But the problem is now solved. The solution was to insert the data
>> directly into the DB with this mysql query:
>>
>> INSERT INTO outbox
>> (UpdatedInDB,InsertIntoDB,Coding,TextDecoded,DestinationNumber) VALUES
>> (NOW(),NOW(),'Default_No_Compression','TEXT','PHONENR');
>>
>> And this way the message get's sent. If i use the gammu --sendsmsdsms
>> command, it does nothing.
>
> Did not SMSD log contain anything about such failure?
>
> --
>        Michal Čihař | http://cihar.com | http://blog.cihar.com
>
(Continue reading)

Michal Čihař | 5 Sep 10:06
Favicon
Gravatar

Re: Problem sending messages with SMSD

Hi

Dne Thu, 4 Sep 2008 23:49:35 +0100
"Carlos Brás" <cbras1980 <at> gmail.com> napsal(a):

> That's the weird thing. The log contains nothing because no error is
> displayed. Everything runs ok, but the message does not get sent.

I just retested it and it seems to work without problems for me, so I
can't really help more....

--

-- 
	Michal Čihař | http://cihar.com | http://blog.cihar.com
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Gammu-users mailing list - https://lists.sourceforge.net/lists/listinfo/gammu-users

Gmane