[asterisk-users] Paging for Praying
bilal ghayyad
bilmar_gh at yahoo.com
Tue Jan 1 17:39:56 CST 2013
> How many customers will be receiving these reminders?
* It is required that all the employers at the company to hear this on their IP Phones.
> What religion is this targeted to?
* Islam.
> A call file is a text file that you create. The format is
> very specific.
* How can I know this format? Because I need to know what should I place in this file so it will execute Paging for this group of Phones?
> You can
> 'schedule' a call file to be processed in the future by
> setting the file's
> 'mtime.'
* Can you explain for me please?
I am fully thanks.
Regards
Bilal
------------------
>
> > I have one more question:
> >
> > What was u meaning by call file and why it is required
> to place them in
> > the 'astspooldir.'?
>
> There are 2 methods of originating a call external to
> Asterisk: call files
> and the Asterisk Manager Interface (AMI).
>
> A call file is a text file that you create. The format is
> very specific.
> It could contain (in the context of your needs) the phone
> number to dial
> and the path of the file to play. A call file is kind of
> like a 'message
> in a bottle.' You cast it into the sea and hope for the
> best. When this
> file is "mv'ed" into the directory specified in the Asterisk
> astspooldir
> variable, Asterisk will read it and try to do what you want.
> You can
> 'schedule' a call file to be processed in the future by
> setting the file's
> 'mtime.'
>
> The Asterisk Manager Interface (AMI) is a TCP connection
> between your
> program and Asterisk. You can issue commands (like
> originate) and receive
> responses. AMI is more robust because you can make decisions
> based on the
> response.
>
> If robustness is not of primary importance, a script
> scheduled by cron to
> run after midnight could create the 5 call files for that
> day, setting the
> 'mtime' of each file before "mv'ing" the file to the
> directory specified
> by astspooldir -- usually /var/spool/asterisk/outgoing/
>
> How many customers will be receiving these reminders?
>
> What religion is this targeted to?
More information about the asterisk-users
mailing list