[Asterisk-Dev] Anything wrong with sleep()ing in pbx_spool.c

Eric Wieling eric at fnords.org
Mon Oct 6 16:24:38 MST 2003


If you set the time of the outgoing spool file to some time in the
future Asterisk will not do the outcall until that time has passed.

On Mon, 2003-10-06 at 17:11, James Sharp wrote:
> I added some hacks into pbx_spool.c so I could read a "delay" value from
> the call spool file.  I currently sleep() for that number of seconds
> before placing the outgoing call.  Is this going to affect anything other
> than it might bottleneck the outgoing spool if there's lots of queued up
> calls in it?
> _______________________________________________
> Asterisk-Dev mailing list
> Asterisk-Dev at lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-dev
-- 
Sample configs and more: http://www.fnords.org/~eric/asterisk/

BTEL Consulting
+1-850-484-4535 x2111 (Pensacola)
+1-504-595-3916 x2111 (New Orleans)
+1-877-677-9643 x2111 (Toll Free)




More information about the asterisk-dev mailing list