Re: ARI or AMI originate for call files?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I'm sorry for my bad english :-(

You've understood my issue.
I've done "call file" and it work fine. 

I would to do a "originate an outbound call" by ARI script PHP.

I've done a originate call by post (curl), now I would to create a link between originate outbound call from asterisk to sip number (my client) and a new calling from asterisk to sip number (my call center), Do I do? 

thanks
 
_______________________________________________________________________
Oscar OXY


Da: Matthew Jordan <mjordan@xxxxxxxxxx>
A: Oscar <scriviaoscar@xxxxxxxx>; Asterisk Application Development discussion <asterisk-app-dev@xxxxxxxxxxxxxxxx>
Inviato: Giovedì 19 Febbraio 2015 16:39
Oggetto: Re: ARI or AMI originate for call files?





On Tue, Feb 17, 2015 at 3:16 PM, Oscar <scriviaoscar@xxxxxxxx> wrote:
is it better ARI or AMI originate for call files?
While into call file is it possible delete ring tone when asterisk calls?
thanks


I'm not really sure I completely understand the question, but I'll give it a shot.

There are multiple ways to generate an outbound call in Asterisk. All of these, eventually, map to the same operation: Originate. You can:
* Use a call file, which is a text file placed in a particular location that has a specific formatting. Asterisk will monitor that location, read the file, parse it, originate an outbound call, and then typically discard the file.
* Use the AMI Originate action.
* Use the ARI POST /channels operation.
* Use the Originate dialplan application.
* Use the CLI "channel originate" command.

Which one you use depends on your application. Generally, if you are creating many outbound calls and you need to monitor the calls closely, the AMI or ARI options are more attractive, as they give you more information and more control over the call. If you need to control the outbound call in an application of your design, than ARI is more attractive than AMI. If you need to have little external control over a call, than a call file solution may be appropriate.

In the end, it is up to you and what you are trying to build.

--
Matthew Jordan
Digium, Inc. | Engineering Manager
445 Jan Davis Drive NW - Huntsville, AL 35806 - USA


_______________________________________________
asterisk-app-dev mailing list
asterisk-app-dev@xxxxxxxxxxxxxxxx
http://lists.digium.com/cgi-bin/mailman/listinfo/asterisk-app-dev

[Index of Archives]     [Asterisk SS7]     [Asterisk Announcements]     [Asterisk Users]     [PJ SIP]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Linux API]

  Powered by Linux