On Wed, 30 Jun 2010, Steve Edwards wrote: >> Now I whipped up a C program to create a call file to do the same thing >> from the command line: >> >> [snip] >> fprintf(callfile, "Channel: Local/*...@custom-callfwd/n\n"); > > I don't see exten "*71" in custom-callfwd.
Doh! That was the problem. In FreePBX I made *71 the "feature code" to access that context, and it was still in my head when I made the callfile. > > Why are you using a local channel in your call file? > That was the meat of the question, actually. I want to create a single leg with a callfile - just the outbound call. All other times I have used callfiles I was creating two legs and bridging them. Is there a better way to do what I am attempting? >> fprintf(callfile, "Application: Playback\n"); >> fprintf(callfile, "Data: hello-world\n"); >> [snip] >> >> When I run this it creates the call file and I see this in the console: >> >> -- Attempting call on Local/*...@custom-callfwd/n for application >> Playback(hello-world) (Retry 1) > > What does the call file look like before you mv it to the spool directory? > Exactly the above fprintf lines... Thanks, j -- _____________________________________________________________________ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users