Spool Outgoing Call files not working


#1

I’ve been developing my Asterisk box for a while now and I was going to use the spool/asterisk/outgoing functionality. I tested it out and it worked perfectly for me. Now all of a sudden, it doesn’t work at all.

I put a file in there, and its immediately deleted.
I even try to view the file (cat) as fast as I can right before its deleted.
These are call files that worked before and now don’t work at all.
I’ll do the exact same call functionality in an Originate command and it works.

I looked at Asterisk at verbose 8, 9, 10, 20, and 40 and it never mentions it at all, nothing verboses or tells me that there is an error or anything.

It just deletes all the call files i put in the directory.

Could someone please help me in the direction to figure out how to fix this?

Thanks!!


#2

This works:

channel: Local/6169151111@from-internal
maxretries: 3
retrytime: 60
waittime: 60
callerid: “WakeUp” <*62>
application: MusicOnHold
data:

(for some reason when i hang up it calls a second time…)

This does not

channel: Local/6169151111@from-internal
maxretries: 3
retrytime: 60
waittime: 60
callerid: “WakeUp” <*62>
context: call-out
priority: 1

But when I use originate, then it does work. And the Asterisk Verbose logs nothing…


#3

check your file ownership on the call files you are dropping in. It is very sensitive to that, even if the permissions are ok.

p


#4

I finally got it to work, if i was using context, i had to also use both extension and priority…

weird…

Thanks