[Asterisk-Users] Queue App Patch

2003-06-07 Thread John Congdon
Hi there,

I am not a true C programmer.  PERL is my game, just hacked around at C 
for a long time.
Anyways, I digress...

Here is a patch, can you tell me:
1) Can you see any blaring security holes I may have created
2) Does it make sense.
It is for the queue app.  It will allow you to do a few things 
(currently not finished :)
1) Set an announcetimeout in queues.conf.
This variable seemed unused in app_queue.c
This is the time in seconds in which I will stop MOH, and play 
something like You are currently caller # XXX
2) I also have planned for small advertisements to cut into the MOH,  I 
am thinking of a separate directory, and
playing a random advertisement every so often, hence the 
advert_timeout and advert_dir in queues.conf.

Please give me feedback, this is my first release of a patch to ANY 
community, I want to know how badly I suck :).
 Everyone that I have talked to in the asterisk community has been 
GREAT!

Thank you,

John Congdon
congdonj (IRC)
___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users


[Asterisk-Users] Queue App Patch, addendum

2003-06-07 Thread John Congdon
Another thing I am working on is to do the timeout people have been 
asking about.
If they have been on hold for (X minutes) dump out of the Queue App, so 
that the next
priority can be a common mailbox.

And I forgot to add the patch to my last email!!! argh

http://pbx.usedontmiss.com/queue_patch

John

___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users