[Asterisk-Users] Queue App Patch

John Congdon john at z1g.com
Sat Jun 7 05:20:15 MST 2003


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)




More information about the asterisk-users mailing list