[Asterisk-Dev] Request for comments on CTI integration

Sunrise Ltd stsltdtyo at yahoo.co.jp
Thu Jul 15 02:19:56 MST 2004


Alex wrote:

>You are welcome to use Asterisk Manager Interface to do
>exactly the same as you described.

I agree that astman is a good candidate for getting the
info *out* of Asterisk and into the server daemon.

But I don't think it is a good idea to extend the entire
control astman gives to a client which is only supposed to
be given *information* (not control) on a *single user's*
extension.

Also, astman does not provide all the information.

The client application should be able to give the end user
information along the following lines ...

<time-stamp> via NTT: Yamamoto Yusuke (03) 5533-1234 is
calling you on extension 2105

<time-stamp> via NTT: Yamamoto Yusuke on (03) 5533-1234 is
being forwarded via YahooBB to your mobile phone 090
7755-1111

<time-stamp> via FWD: Fred Flintstone on 212345 is calling
you on FWD 354321 forwarded to extension 2105

<time-stamp> via YahooBB: Barney Smith on (050) 543-2211
is calling you on extension 2105

Astman doesn't know the names of networks, it only knows
channels. That means the client will have to be taught
about the available channels and maintain a table of
assignments of networks to channels. This would mean
replication of information not easily available to the
end-user for at each end-user device. Very bad design.

Instead, this information should be maintained server
side.

In other words, translation of channels to network names
should be server side -- translation of caller IDs to
callers' names should be client side.


So, it looks that what's needed is something along the
following lines ...

[asterisk]
      |
[astman]
      |
(127.0.0.1:5038)
      |
[CTIserver]---<---[channels&networks-DB]
      |
(0.0.0.0:5039)
      |
[CTIclient]
      |
[End-user app]---<---[callerIDs&names]


rgds
benjk

__________________________________________________
Do You Yahoo!?
http://bb.yahoo.co.jp/




More information about the asterisk-dev mailing list