.call files in /var/spool/asterisk/outgoing

Home » Asterisk Users » .call files in /var/spool/asterisk/outgoing
Asterisk Users 4 Comments

Hi !
I have a python script that create and move .call files to
/var/spool/asterisk/outgoing
Sometimes…(in this case after 500 successfull calls) Asterisk don´t make
the calls and the .call files are in the “outgoing” forever…
Any Ideas?

I’m using Asterisk 1.4.22 (in 1.4.36 was the same behavior)

In my python script I move .call files using …

import shutil
shutil.move(‘/var/tmp/1.call’,’/var/spool/asterisk/outgoing/1.call’)

4 thoughts on - .call files in /var/spool/asterisk/outgoing

  • Also, keep in mind that the spooling mechanism has “mechanical limits” based
    on processor speed, line capacity, etc. If I were doing 500 calls, I would
    use sleep to space the starting of the calls (maybe 5 or 15 second
    intervals).

  • I made 500 calls but not simultaneously. My script checks that there
    are no more
    than 3 .call files in the “outgoing”.

    I change in my python script, now move file with os.system…
    import os
    os.system (“mv”+ ” ” + tmpFile + ” ” + callFile)

    see what happens…

  • Hello,

    Check if file is owned by “asterisk” user.
    Also, don’t directly create in to /var/spool/asterisk/outgoing/
    Create in somewhere else first and then move file to outgoing folder.

    Good luck.