That worked Simon. I knew there must be a simple solution. I guess I've never used a call file with a local channel before.
Regards, - John Lange www.johnlange.ca On Mon, 2008-10-27 at 14:27 -0400, Simon P. Ditner wrote: > Have the callfile create a Local/ channel instead of a SIP/ channel, then > you can set the appropriate SIP headers and then call the SIP endpoint > from your dialplan. > > On Mon, 27 Oct 2008, John Lange wrote: > > > I'd like to use asterisk to play a preset message/sound on a single > > phone at a given interval (this is hooked up to a paging system). > > > > I figure the easiest thing to do would be to use a call file dropped > > into /var/spool/asterisk/outgoing running on a cron. > > > > The problem is, the call file connects a channel (a SIP device) to a > > dialplan which is fine except it won't start executing the dialplan > > until the sip device is answered. > > > > In the call file how do I tell the sip device to auto-answer so the > > dialplan starts executing? > > > > Or maybe there is a better way to do this? > > > > -- > > John Lange > > www.johnlange.ca > > > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
