[asterisk-users] script

Bruce Nik brucevoip at gmail.com
Mon Dec 21 11:15:28 CST 2009


Hi Roman,

I am trying Originate AMI command within a php file for a browser veiwing to
do a spoof call with user inputin dial number, phone number, and spoof
number but I am failing. Would you mind to share some of you AMI php code
with us that relates to originate?

Thanks a bunch,
Bruce

On Mon, Dec 21, 2009 at 10:18 AM, Roman <roman.maillist at gmail.com> wrote:

> 2009/12/21 Thomas Perron <thomas.perron at gmail.com>:
> > I want to have Asterisk Dial individual numbers and play a recording
> > if each answers.
> > If they don't answer then the code rolls to the next number.
> >
> > Should I set up a spreadsheet somewhere and load with the numbers?
> > Or, an AGI script?
> >
> > 1.  Dial number 1
> > 2.  If connect, then play message
> > 3.  If connect, finish message and move to next number
> > 4.  Dial 1 - 10,000 in succession
>
> I've developed several solutions using a combination of AMI to
> originate calls and AGI to personalize messages. If message is the
> same for all destinations, you can skip using AGI. And if you need to
> make the calls just once you might want to take a look at asterisk
> call files instead of AMI, probably they will suit your needs,
> depending on how much control do you need over the calls.
>
> Roman
> blog: http://it-result.me
>
> _______________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>   http://lists.digium.com/mailman/listinfo/asterisk-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20091221/664f1af4/attachment.htm 


More information about the asterisk-users mailing list