Re: [SLUG] Queuing under Linux

2000-10-09 Thread tom burkart

On Mon, 9 Oct 2000, Peter Rundle wrote:

> I want to create a queue for an SMS messaging system. Can anyone point
Some of the carriers will actually accept email messages and resend them
as SMS.  Hutchinson is one of them - from memory.

tom.
Consultant

AUSSECPhone: 61 4 1768 2202
339 Blaxland Rd., Ryde NSW 2112
Email: [EMAIL PROTECTED]



--
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://slug.org.au/lists/listinfo/slug



Re: [SLUG] Queuing under Linux

2000-10-08 Thread Rodos

On Mon, 9 Oct 2000, Peter Rundle wrote:

> I want to create a queue for an SMS messaging system. Can anyone point
> me towards documentation about queues under linux. I've done a man on 
> lpq, fifo & batch but I need more info.

Freshmeat has an entry for a package called sms-queue.

sms-queue handles an SMS queue for small networks or single user
machines. It is designed for areas where many SMS messages are
sent. It does not actually send the SMS itself, but instead calls
an external application (depending on the SMS gateway you want to
use) via a simple standard interface."

If you can use "qpage" to send the SMS massage for you via TAP it has a
daemon that runs a queue (well so the man page says). 

Rodos



--
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://slug.org.au/lists/listinfo/slug



Re: [SLUG] Queuing under Linux

2000-10-08 Thread John Ferlito

On Mon, Oct 09, 2000 at 11:05:47AM +1100, Peter Rundle wrote:
> Sluggers,
> 
> I want to create a queue for an SMS messaging system. Can anyone point
> me towards documentation about queues under linux. I've done a man on 
> lpq, fifo & batch but I need more info.
> 
> Basically sms messages to be sent enter the queue (probably via e-mail)
> At the head of the queue a process dials out and sends the next message, 
> it should also keep the dialup open and send all messages in the queue 
> before closing the connection. If the dial-out fails, or any errors occur
> the message needs to be re-queued (remaining in order I guess). After x
> number of failures the message needs to be returned to sender. Sounds a
> bit like how mail works, perhaps I could use program delivery under
> sendmail in some fashion? But I need to stop sendmail from moving onto
> the next item in the mail queue, once it's dispatched the current message
> to the program, and I need for the program to be able to read the current
> queue and pull all the messages out of it.
> 

Gus has a really good anwser to this one. I think it involves
using lprng , anyway basically you just print to the printer and it
determines the file type. So you could set it up to play an mp3 or send
an SMS dpending on file type.


-- 
John


--
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://slug.org.au/lists/listinfo/slug



[SLUG] Queuing under Linux

2000-10-08 Thread Peter Rundle

Sluggers,

I want to create a queue for an SMS messaging system. Can anyone point
me towards documentation about queues under linux. I've done a man on 
lpq, fifo & batch but I need more info.

Basically sms messages to be sent enter the queue (probably via e-mail)
At the head of the queue a process dials out and sends the next message, 
it should also keep the dialup open and send all messages in the queue 
before closing the connection. If the dial-out fails, or any errors occur
the message needs to be re-queued (remaining in order I guess). After x
number of failures the message needs to be returned to sender. Sounds a
bit like how mail works, perhaps I could use program delivery under
sendmail in some fashion? But I need to stop sendmail from moving onto
the next item in the mail queue, once it's dispatched the current message
to the program, and I need for the program to be able to read the current
queue and pull all the messages out of it.


Many TIA's

Pete


--
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://slug.org.au/lists/listinfo/slug