Re: CGP как офисная АТС - ???

: Alexey Naidyonov <CGatePro_at_mx_ru>
: Wed 02 Aug 2006 - 15:56:37 MSD

On Wed, 2006-08-02 at 04:09 -0700, Vladimir A. Butenko wrote:

.

> , , -
>

? - , , XIMSS? , , ?

, , :

( , , " ") CG/PL settings (, , ), , CLI IM XIMSS: CGP XIMSS CLI, CLI, XIMSS: var Task = cliConn.startPBXTask("webpanelconn", "Main", sessId); ...
> ximssConn.onpacketreceived["readIM"] = function(packet) {

      try {
        var data = CGPDict.cgpToJS(getPacketBody(packet));
        if (data != null && data.sessId == sessId) {
           ...
           if (data.cmd == 'requestvoice') {
              Panel.setBlinking(data.user);
           } else ...
        }
      } catch (e) {
        Logger.log("Error processing incoming packet: "+e);
      }

  }
...
  ConfUser.prototype.giveVoice = function() {
      var data = new Object();
      data.cmd = 'givevoice';
      data.user = this.userId;
      data.sessId = sessId;
>      Task.sendEvent(data.cmd, CGPDict.JStoCgp(data));
  }

CG/PL SendInstantMessage CGP . :

1. , XIMSS CLI. 2. IM . , , , , . , account, Windows Messenger cgp .
3. .

XIMSS CG/PL .

, ( ) :

1. IM , . SIP, , , XMPP, , , ţ ( -- SIP URI, : sip:growler@itoolabs.com;branch=home0123456) , CG/PL ReadInput() IM .

-- CG/PL , XIMSS, . 2. " " -- XIMSS , ( ) task stub, CG/PL . XIMSS : spawn, , CG/PL <spawn name="name" entry="entry">
  <parameter>....</>
</>

spawn, , taskRef CG/PL <spawn taskRef="..."/>

sendEvent , <sendEvent taskRef="..." name="...">
  <parameter>...</>
</>

readEvent, , <readEvent taskRef="..." name="...">
  <parameter>...</>
</>

, , XIMSS ݣ , createmeeting, activatemeeting, createqueue, enqueue.

, CGP, ݣ ( - ), ( ), - .

CGP, .

, , , .

.

,

-- 
 Alexey Naidyonov
 ITooLabs
Wed Aug 02 11:56:43 2006

hypermail 2.1.8 : Wed 02 Aug 2006 - 16:13:53 MSD