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.com>wrote:

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

Reply via email to