[asterisk-users] Paging for Praying
Danny Nicholas
danny at debsinc.com
Mon Jan 7 16:32:22 CST 2013
Whether you use .call file or AMI, you should still do the call/page using a
context and that context run the PHP script.
-----Original Message-----
From: asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of bilal ghayyad
Sent: Monday, January 07, 2013 4:30 PM
To: asterisk-users at lists.digium.com
Subject: Re: [asterisk-users] Paging for Praying
Thanks for the help and it seems I deleted some of my emails by mistake ! I
am sorry if I repeated my question.
As I see that the call file is used to generate calls, can I use this
technique to page the Phones?
It is one wave file only that need to be Paged for all the Phones connected
on the Asterisk PBX.
When I say Paging, I mean that they are going to hear the sound from the
speaker (without pickup the handset).
By using AMI, then I can build PHP script that will use the AMI to do the
Page?
Thanks and Regards
Bilal
> ------------------------------
>
> >> A call file is a text file that you create. The
> format is very
> >> specific.
>
> On Tue, 1 Jan 2013, bilal ghayyad wrote:
>
> > * 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?
>
> This may help:
>
> http://www.voip-info.org/wiki/view/Asterisk+auto-dial+out
>
> >> 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.
>
> In my experience, you can't just dump xxx call files into the outgoing
> directory. If you expect more than a dozen or so, you'll have to move
> them in blocks as they are processed. Another good reason to use AMI.
>
> >> You can 'schedule' a call file to be processed in
> the future by setting
> >> the file's 'mtime.'
>
> > * Can you explain for me please?
>
> Create a file named fajr containing:
>
> application: playback
> channel: sip/bilal
> data:
> fajr-in-10-minutes
>
> Copy the file to a directory we assume is on the same file system as
> /var/spool/asterisk/outgoing/:
>
> cp\
> fajr\
>
> /var/spool/asterisk/tmp/
>
> Set the file's 'mtime'
>
> touch\
> --date='now + 2
> minutes'\
> --time=mtime\
>
> /var/spool/asterisk/tmp/fajr
>
> Move it to the outgoing directory:
>
> mv\
>
> /var/spool/asterisk/tmp/fajr\
>
> /var/spool/asterisk/outgoing/
>
> Your phone should ring in about 2 minutes.
>
> You may want to look into setting 'auto-answer' or some sort of
> 'overhead paging' with a very discreet sound file like a short, single
> beep.
>
> Please consider AMI if you are looking for a robust service.
>
> --
> Thanks in advance,
> ----------------------------------------------------------------------
> --- Steve Edwards sedwards at sedwards.com
> Voice: +1-760-468-3867 PST
> Newline
--
_____________________________________________________________________
-- 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
More information about the asterisk-users
mailing list