[asterisk-users] Call files or AMI originate for mass outbound call

2011-04-20 Thread Adolphe Cher-Aime
Hello Guys,
  In the case of a multiserver environment for outbound
automatic calls, can you share you experience and preference between call
files  and ami originate ?

thanks

-- 
*Adolphe CHER-AIME
Network / VoIP  Engineer
CCNA, CCNA VOICE, Global VSAT Forum Certified
(509) 3449-4280*
--
_
-- 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

Re: [asterisk-users] Call files or AMI originate for mass outbound call

2011-04-20 Thread Paul Belanger

On 11-04-20 12:20 PM, Adolphe Cher-Aime wrote:

   In the case of a multiserver environment for outbound
automatic calls, can you share you experience and preference between call
files  and ami originate ?

I prefer using the AMI as I have better call control.  I also get to 
monitor the AMI events are react to them.  Recently I've been using 
Python and starpy (twisted).


--
Paul Belanger
Digium, Inc. | Software Developer
twitter: pabelanger | IRC: pabelanger (Freenode)
Check us out at: http://digium.com  http://asterisk.org

--
_
-- 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


Re: [asterisk-users] Call files or AMI originate for mass outbound call

2011-04-20 Thread Adolphe Cher-Aime
Thank you for  your answer. I also  prefer AMI for its  flexibility.
However, i  have an application developped in PHP used to make more than
10 calls a day by group of 120 concurrent calls. My  problem with AMI is
that  client keeps  disconnected  to AMI server. I use astmanproxy as proxy
server. Do you to use have such  problem with your applications ?

Regards

On Wed, Apr 20, 2011 at 3:11 PM, Paul Belanger pabelan...@digium.comwrote:

 On 11-04-20 12:20 PM, Adolphe Cher-Aime wrote:

   In the case of a multiserver environment for outbound
 automatic calls, can you share you experience and preference between call
 files  and ami originate ?

  I prefer using the AMI as I have better call control.  I also get to
 monitor the AMI events are react to them.  Recently I've been using Python
 and starpy (twisted).

 --
 Paul Belanger
 Digium, Inc. | Software Developer
 twitter: pabelanger | IRC: pabelanger (Freenode)
 Check us out at: http://digium.com  http://asterisk.org

 --
 _
 -- 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




-- 
*Adolphe CHER-AIME
Network / VoIP  Engineer
CCNA, CCNA VOICE, Global VSAT Forum Certified
(509) 3449-4280*
--
_
-- 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

Re: [asterisk-users] Call files or AMI originate for mass outbound call

2011-04-20 Thread Paul Belanger

On 11-04-20 04:44 PM, Adolphe Cher-Aime wrote:

Thank you for  your answer. I also  prefer AMI for its  flexibility.
However, i  have an application developped in PHP used to make more than
10 calls a day by group of 120 concurrent calls. My  problem with AMI is
that  client keeps  disconnected  to AMI server. I use astmanproxy as proxy
server. Do you to use have such  problem with your applications ?

Not really, twisted (specifically the ClientFactory) has functions to 
handle disconnection / reconnection.  It is transparent to my 
application, so if the client is disconnected from Asterisk, and event 
is fired, I stop processing calls, then wait for the client to reconnect 
to the AMI.  Once reconnected, I begin again.


[1] http://twistedmatrix.com/documents/current/core/howto/clients.html#auto4
--
Paul Belanger
Digium, Inc. | Software Developer
twitter: pabelanger | IRC: pabelanger (Freenode)
Check us out at: http://digium.com  http://asterisk.org

--
_
-- 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


Re: [asterisk-users] Call files or AMI originate for mass outbound call

2011-04-20 Thread Adolphe Cher-Aime
Thanks Paul,
I will take a look at twisted i will let you know.


Regards

On Wed, Apr 20, 2011 at 5:38 PM, Paul Belanger pabelan...@digium.comwrote:

 On 11-04-20 04:44 PM, Adolphe Cher-Aime wrote:

 Thank you for  your answer. I also  prefer AMI for its  flexibility.
 However, i  have an application developped in PHP used to make more than
 10 calls a day by group of 120 concurrent calls. My  problem with AMI
 is
 that  client keeps  disconnected  to AMI server. I use astmanproxy as
 proxy
 server. Do you to use have such  problem with your applications ?

  Not really, twisted (specifically the ClientFactory) has functions to
 handle disconnection / reconnection.  It is transparent to my application,
 so if the client is disconnected from Asterisk, and event is fired, I stop
 processing calls, then wait for the client to reconnect to the AMI.  Once
 reconnected, I begin again.

 [1]
 http://twistedmatrix.com/documents/current/core/howto/clients.html#auto4

 --
 Paul Belanger
 Digium, Inc. | Software Developer
 twitter: pabelanger | IRC: pabelanger (Freenode)
 Check us out at: http://digium.com  http://asterisk.org

 --
 _
 -- 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




-- 
*Adolphe CHER-AIME
Network / VoIP  Engineer
CCNA, CCNA VOICE, Global VSAT Forum Certified
(509) 3449-4280*
--
_
-- 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