views:

99

answers:

3

I am trying out some IP PBX systems, Asterisk, Freeswitch, and Yate,to register for events in the PBX, and I want to know which of these components is the better one.

The component is supposed to register with the PBX for events, receive them, send some responses and issues some commands. Which of the two would be the more appropriate?

+2  A: 

The difference between a TCP server and client is who initiates the connection. The client connects to the server. So I'm guessing you should use the TIdTCPClient.

compie
+1  A: 

Another option would be to use Synapse which is a blocking TCPIP library which is very easy to use and supports free pascal, as well as Delphi.

skamradt
+1  A: 

Asterisk has a well-defined network TCP/IP event-driven protocol which supports SSL communications. This module is called the Asterisk AMI, and is widely used to do exactly what you want.

You can read the documentation on the AMI here: http://www.voip-info.org/wiki/view/Asterisk+manager+API

Also, if you want to check out some products which use the AMI events as their core product, check out:

  1. Flash Operator Panel http://www.fop2.com/
  2. HUD http://www.fonality.com/products/hud
  3. Asterisk Assistant http://blogs.digium.com/2008/12/22/asterisk-desktop-assistant-windows-click-to-call-and-more/

Enjoy :)

b14ck