çµç¹ã«æ°ããè€éãªã·ã¹ãã ãã€ã³ã¹ããŒã«ãããã¹ãŠã®äººã¯ããœãããŠã§ã¢éçºè ã管çãŸãã¯ãŠãŒã¶ãŒã€ã³ã¿ãŒãã§ã€ã¹ã«å¯Ÿããç¹å®ã®ããŒãºãæäŸããªãã£ããšããäºå®ã«çŽé¢ããŠããŸããã
éä¿¡ã®å Žåãããã¯éåžžãã»ãã¥ãªãã£ãåŸæ¥å¡ã®ç£èŠãããã³çµ±èšã®åéãç®çãšããŠãéä¿¡ãé話ãããã³ã¡ãã»ãŒãžã®è¿œå åŠçã®å¿ èŠæ§ã«ãã£ãŠéåžžè£å®ãããŸãã
ãã®èšäºã§ã¯ãCommuniGate ProãµãŒããŒã®ããŒã«ãããã«ã€ããŠèª¬æããŸã
- 管çã¿ã¹ã¯ãèªååãã
- æçŽãšé»è©±ã®åŠç
- ãµãŒãããŒãã£ã®ããã°ã©ã ãšã¹ã¯ãªããã®æ¥ç¶
- HTMLã€ã³ã¿ãŒãã§ã€ã¹ã®æ§ç¯
- ããŸããŸãªãã©ãããã©ãŒã ã§ã®UCã¯ã©ã€ã¢ã³ãããã³ãŠãŒãã£ãªãã£ã®äœæ
CLI
ã³ãã³ãã©ã€ã³ã€ã³ã¿ãŒãã§ã€ã¹ã¯ãå€ãã®è£œåã管çããæšæºçãªæ¹æ³ã§ãã 管çã¿ã¹ã¯ã®èªååã«äŸ¿å©ã§ãã ã³ãã³ãã®åœ¢åŒãšå®å šãªèª¬æã¯èšäºã®ç¯å²ãè¶ ããŠããŸããã ããã¥ã¢ã«ã§ããããèŠãããšãã§ããŸããããã€ãã®äŸãæããŸãïŒ
poppwdã«ããã¢ã¯ã»ã¹
ãµãŒããŒã§CLIã«ã¢ã¯ã»ã¹ããã«ã¯ãããã€ãã®æ¹æ³ããããŸãã ã³ãã³ãã«æ £ããã®ã«æã䟿å©ãªãã®ã®1ã€ã¯ãPWDã¢ãžã¥ãŒã«ãšèããããšãã§ããŸãã æšæºã®ãµãŒããŒæ§æã§ã¯ãOSã®ã³ãã³ãã©ã€ã³ã«ãtelnet server.address 8106ããšå ¥åããã ãã§ãïŒãŸãã¯OSãšããŒãžã§ã³ã«å¿ããŠãtelnet server.address 106ãïŒã åœåããã®ã¢ãžã¥ãŒã«ã¯åã«ãã¹ã¯ãŒãå€æŽãããã³ã«ã®å®è£ ã§ãã-poppwdïŒ
$ telnet localhost 8106 Trying 127.0.0.1... Connected to localhost. Escape character is '^]'. 200 mymac.ru CommuniGate Pro PWD Server 6.0.5 ready <1.1381912847@mymac.ru> user postmaster 300 please send the PASS pass ****** 200 login OK, proceed newpass ****** 200 Password updated
ãããã1ã€ã®ããã¹ãã³ãã³ãã«ã€ããŠèª¬æããçç±ã¯ãããŸããã
listdomains 200 data follow (mymac.ru) listaccounts mymac.ru 200 data follow { pbx = macnt; postmaster = macnt; user1 = macnt; user2 = macnt; }
ãã®åçã®macntãšããèšèã¯ã ãã«ãã¡ãŒã«ããã¯ã¹ã¢ã«ãŠã³ããæå³ããŸã
HTTPã¢ã¯ã»ã¹
CLIã³ãã³ãã¯ãserver.nameïŒ[http port] / CLI /ã«ãcommandããã©ã¡ãŒã¿ãŒãæå®ããåçŽãªPOSTãŸãã¯GETèŠæ±ãéä¿¡ããããšã§ãå®è¡ã§ããŸãã
å³æžé€š
ãã¢ããã¹ãã¢ã¯ã»ã¹ã¯å®éã®ã¿ã¹ã¯ã«ã¯ããŸã䟿å©ã§ã¯ãªããããCLIãæäœããããã®Perlããã³Javaã©ã€ãã©ãªãäœæããŸããã
åœç€Ÿã®Webãµã€ãã«ã¯ãé »ç¹ã«çºçããã¿ã¹ã¯ã解決ããããã®CLIã¹ã¯ãªããã®äŸãæäŸããç¹å¥ãªã»ã¯ã·ã§ã³ããããŸãã
CLIã³ãã³ãã¯ãXIMSSãããã³ã«ïŒcliExecuteã³ãã³ãïŒããã³CG / PLããã°ã©ã ïŒExecuteCLIïŒïŒé¢æ°ïŒã§ãå®è¡ã§ããŸããããã«ã€ããŠã¯ã察å¿ããã»ã¯ã·ã§ã³ã§èª¬æããŸãã
éµäŸ¿ããã³ä¿¡å·èŠå
ãããããAPIã«ã«ãŒã«ãè¿œå ããããšãã¹ãã¬ãããšåŒã¶ããšãã§ããŸãããCommunigate Proã§ã¯ãã«ãŒã«ã¯ã¢ã«ãŠã³ããšã¡ãŒã«ããã¯ã¹éã§æåãåŒã³åºãããªãã€ã¬ã¯ãããã ãã§ãªãããµãŒãããŒãã£ããã°ã©ã ïŒããŸããŸãªãã£ã«ã¿ãŒãªã©ïŒã«æåãéä¿¡ããããCG / PLããã°ã©ã ãå®è¡ããããã¹ã¯ãªãããå®è¡ãããããããã«ã䜿çšãããŸããªãã¬ãŒãã£ã³ã°ã·ã¹ãã ã§-äžè¬ã«ããããã¯åç¬ã§ããŸãã¯ä»ã®APIãšã®äž¡æ¹ã§çµ±åã®ããã«ç©æ¥µçã«äœ¿çšãããŸãã
Communigate Proã®ä¿¡å·ã¯ããªã¢ã«ã¿ã€ã éä¿¡ã§äœ¿çšãããç¹å¥ãªãªããžã§ã¯ãã§ãã ä¿¡å·ã¯ããªã¢ã«ã¿ã€ã éä¿¡ã®åäœã§ãã ããŸããŸãªåå è ïŒSIPãXMPPã¯ã©ã€ã¢ã³ããPBXã¢ããªã±ãŒã·ã§ã³ãªã©ïŒãäºãã«ä¿¡å·ãéä¿¡ããŠããã€ã¢ãã°ããã®ä»ã®ã¢ã¯ã·ã§ã³ã®ã¹ããŒã¿ã¹ãæŽçãäžæãæŽæ°ããŸãã
ã«ãŒã«ã®ä»çµã¿
ã«ãŒã«ã¯ããµãŒããŒããã¡ã€ã³ãã¢ã«ãŠã³ãïŒã¢ã«ãŠã³ãïŒã¬ãã«ã®3ã€ã®ã¬ãã«ã«åãããŠããŸãã ãããã®åã¬ãã«ã«ã¯ãã·ã°ãã«ãšã¡ãŒã«ã«åå¥ã®ã«ãŒã«ããããŸãã
åã«ãŒã«ã«ã¯ååãšåªå 床ããããã·ã°ãã«ã«ãŒã«ã«ã¯ããã€ãæ¡ä»¶ããããŸãã åªå 床ãé«ãã»ã©ãåãæ®ãã®æ¡ä»¶ã®äžã§ãã«ãŒã«ã¯æ©èœããŸãã ããã€ãæ¡ä»¶ã¯ãã«ãŒã«ãåäœããç¬éã決å®ããŸã-ä¿¡å·ãåŠçãããç§ããŸãã¯ç¹å®ã®ã³ãŒãã§ãšã©ãŒãçºçãããšãïŒå¿çããªããããžãŒãŸãã¯ãã®ä»ã®ãšã©ãŒïŒïŒ
ã¡ãŒã«ã¡ãã»ãŒãžãåŠçããæé ïŒ
- ãã¹ãŠã®ãµãŒããŒã«ãŒã«ãé©çšãããŸã
- ã«ãŒãã£ã³ã°ã®çµæãšããŠããŒã«ã«ã¢ã«ãŠã³ãã«å
¥ã£ããããã®æåã¯ããã¡ã€ã³ã«ãŒã«ããã³ã¢ã«ãŠã³ãã®ã«ãŒã«ã«ãã£ãŠæ¬¡ã®ããã«åŠçãããŸãã
- åªå 床ã5ãè¶ ãããã¡ã€ã³ã«ãŒã«
- ã¢ã«ãŠã³ãã«ãŒã«
- åªå 床ã5以äžã®ãã¡ã€ã³ã«ãŒã«
ä¿¡å·åŠçé åºïŒ
- ãµãŒããŒã·ã°ããªã³ã°ã«ãŒã«ã¯ã空ã®ããã€ããã£ãŒã«ãã䜿çšããŠé©çšãããŸãïŒã€ãŸããããã«é©çšãããŸãïŒ
- ã«ãŒãã£ã³ã°ã®çµæãšããŠããŒã«ã«ã¢ã«ãŠã³ãã«ãªã£ãã·ã°ãã«ã¯ãæ®ãã®ãµãŒããŒã«ãŒã«ïŒç©ºã®ãã£ãŒã«ãã§ã¯ãªãå ŽåïŒããã¡ã€ã³ã«ãŒã«ãããã³ã¢ã«ãŠã³ãå
ã®ã«ãŒã«ã«ãã£ãŠæ¬¡ã®ããã«åŠçãããŸãã
- åªå 床> 5ã®ãµãŒããŒã«ãŒã«
- åªå 床ã5ãè¶ ãããã¡ã€ã³ã«ãŒã«
- ã¢ã«ãŠã³ãã«ãŒã«
- åªå 床ã5以äžã®ãã¡ã€ã³ã«ãŒã«
- åªå 床ã5以äžã®ãµãŒããŒã«ãŒã«
䜿çšäŸ
ãã¡ã€ã³è»¢éã®å¶éïŒ
ç¹å®ã®ãã¡ã€ã³å€ã®åä¿¡è ãšã®ãã¹ãŠã®åŒã³åºãã¯ãæå®ãããã¢ãã¬ã¹ã«ãªãã€ã¬ã¯ããããŸãã
ãã«ããŒ
Communigate Proã¯ãã«ããŒãããã³ã«ãå®è£ ããŠããããããµãŒããŒã®å€éšã®ããã°ã©ã ãããŸããŸãªã¿ã¹ã¯ã«äœ¿çšã§ããŸãã
ããšãã°ãç¹å®ã®æ¡ä»¶äžã§ãã¡ãŒã«ã«ãŒã«ããã¡ã€ã³ã§åŠçããã¡ãã»ãŒãžãŸãã¯å€éšèªèšŒãããªã¬ãŒãããã¡ãã»ãŒãžã®ãã£ã«ã¿ãŒãéå§ãããšããµãŒããŒã¯ãã«ããŒããã°ã©ã ãéå§ããŸãã ãã®åŸãæšæºå ¥åããéå§ããŠãã«ããŒãããã³ã«ã³ãã³ããéä¿¡ããæšæºåºåããå¿çãèªã¿åããŸãã
ãã«ããŒãããã³ã«ã®äžè¬çãªã»ãã·ã§ã³ã®äŸïŒI-ããã°ã©ã ãžã®å ¥åãO-åºåïŒïŒ
O: * My Helper program started I: 00001 INTF 1 O: 00001 INTF 1 I: 00002 COMMAND parameters O: 00002 OK I: 00003 COMMAND parameters I: 00004 COMMAND parameters O: * processing 00003 will take some time O: 00004 ERROR description O: 00003 OK I: 00005 QUIT O: * processed: 5 requests. Quitting. O: 00005 OK
ããã§ãINTFã³ãã³ãã¯ãããã³ã«ããŒãžã§ã³ã«åæããQUITã¯ã»ãã·ã§ã³ãçµäºããŸãã*ã¯æ å ±ã¡ãã»ãŒãžã§ããããµãŒããŒã¯å¿çããŸãããããã°ã«æžã蟌ã¿ãŸãã
ãã®ãããã³ã«ã§ã¯ã次ã®ç®çã®ããã«ãããå°éçãªãããã³ã«ãéçºãããŠããŸãã
- ããã£å å·¥æçŽ
- å€éšèªèšŒ
- ãããŒã·ã¹ãã æ¥ç¶
- èªèšŒãžã®RADIUSèŠæ±ã®è¿œå
- ã¯ã©ã¹ã¿ãŒè² è·åæ£ç®¡ç
ãããã¯ãã¹ãŠãèšå®->äžè¬->ãã«ããŒWebAdminã€ã³ã¿ãŒãã§ãŒã¹ããŒãžã§æ¥ç¶ãããŠããŸãã
å®è¡å¯èœãã¡ã€ã«ãžã®ãã¹ãŠã®ãã¹ã¯ãCommunigate ProããŒã¹ãã£ã¬ã¯ããªïŒãŠãŒã¶ãŒããŒã¿ãå«ããã£ã¬ã¯ããªïŒããã«ãŠã³ããããŸãã
ããã£å å·¥æçŽ
ã¡ãŒã«ãã³ãã©ã¯ãããšãã°æ¬¡ã®ãããªã¡ãŒã«ã«ãŒã«ã«ãã£ãŠããªã¬ãŒãããŸãã
ãããšä»ã®ãã«ããŒã®ã³ãã³ãã®è©³çŽ°ãªèª¬æã¯ããã¥ã¢ã«ã«ãããŸã ã ãã®èšäºã§ã¯ãäžè¬çãªèª¬æã®ã¿ãæäŸããŸãã
ãã®ã¿ã€ãã®ãã«ããŒã¯ãäž»ã«ã¢ã³ããŠã€ã«ã¹ããã³ã¢ã³ãã¹ãã ãšã³ãžã³ãCGProã«æ¥ç¶ããããã«äœ¿çšãããŸãã
å€éšèªèšŒ
éåžžãå€éšèªèšŒã®ãã«ããŒãããã³ã«ã¯æ¬¡ã®å Žåã«äœ¿çšãããŸãã
- ãµãŒããŒã§çŽæ¥ãµããŒããããŠããªãèªèšŒæ¹æ³ãå¿ èŠã§ã
- äžéšã®ã¢ã«ãŠã³ãã¯å¥ã®ã·ã¹ãã ïŒADãªã©ïŒã«ãããŸã
- è€éãªã«ãŒãã£ã³ã°ãå¿ èŠ
- ãµãŒãã¹\ã¢ã«ãŠã³ãèšå®ã®å€éšç®¡çãå¿ èŠ
ãã®ã¿ã€ãã®ãã«ããŒã®äŸã¯ã ãã®ããŒãžã«ãããŸã ã
ãã®ä»ã®å©æ
ãããŒã·ã¹ãã ã®ãã«ããŒã¯ããµãŒããŒã«XIMSSããã³ä»ã®ïŒããšãã°ãHTTPïŒã¯ã©ã€ã¢ã³ãã®ãããŒãæäŸããŸãã
RADIUSãã«ããŒã䜿çšãããšãRADIUSãããã³ã«ã䜿çšããŠèªèšŒããã»ã¹ã«è¿œå ã®ãã§ãã¯ãè¿œå ã§ããŸãã
ããŒããã©ã³ãµãŒã¯ã Communigate Pro ã¯ã©ã¹ã¿ãŒæ§æã§ã®ããŒããã©ã³ãµãŒã®ç®¡çã«åœ¹ç«ã¡ãŸã ã
WSP
WSSPïŒWebãµãŒããŒåŽããŒãžïŒã¯ãWebããŒãžãã³ãã¬ãŒãçšã®èšèªã§ãã
WSSPã«ã€ããŠèª¬æããåã«ããµãŒããŒäžã§Webã¹ãã³ãæŽçããããšã«ã€ããŠå°ã説æããå¿ èŠããããŸãã
åWebã¹ãã³ã¯ã3çš®é¡ã®ãã¡ã€ã«ã§æ§æãããŠããŸãã
- éçãã¡ã€ã«-ã°ã©ãã£ãã¯ã¹ãã¹ã¿ã€ã«ã...
- WSSPãã¡ã€ã«
- èšèªãšæååãã¡ã€ã«
Communigate Proé åžãããã«ã¯ãæšæºïŒã¹ããã¯ïŒWebã€ã³ã¿ãŒãã§ã€ã¹ã®å°ããªã»ãããä»å±ããŠããŸãã ãããã®1ã€ã¯å¿åïŒååãªãïŒã§ãæ®ãã¯ååä»ãã§ãã ãããã®ãã¢ã¹ãã³ã¯ããµãŒããŒã®ã¢ããªã±ãŒã·ã§ã³ãã©ã«ããŒïŒå®è¡å¯èœãã¡ã€ã«ãååšããOSå ã®ãã©ã«ããŒïŒã«æ ŒçŽãããŠããããããµãŒããŒãæŽæ°ããããšçœ®ãæããããŸãã 管çè 㯠ãæ§æã®ãã¢ã¹ãã³ãå€æŽããªãã§ãã ãã ãæŽæ°ãã€ã³ã¹ããŒã«ãããšããããã®å€æŽã倱ãããå¯èœæ§ããããŸãã 代ããã«ãã¹ãã³ãã¡ã€ã«ãéå±€ã圢æãããšããäºå®ãå©çšããŠãã ããã
ã¹ãã³ã®ãã¡ã€ã«éå±€
åã¹ãã³ã¯ããµãŒããŒããã¡ã€ã³ããŸãã¯æšæºã«ããããšãã§ããŸãã
ãŠãŒã¶ãŒã®ãã©ãŠã¶ããã®ãªã¯ãšã¹ããåŠçãããšãããµãŒããŒã¯éåžžãã¹ãã³ããç¹å®ã®ååã®ãã¡ã€ã«ãååŸããå¿ èŠããããŸãã ããã«ããã¡ã€ã³ã¹ãã³ã§ãã¡ã€ã«ãèŠã€ãããªãå Žåãåãååã®ãµãŒããŒã¹ãã³ã§æ€çŽ¢ãããŸãã ãµãŒããŒã«ãŒã ã§ãããèŠã€ããããªãã£ãå Žåã¯ãã¹ããã¯ã«ãŒã ãæ¢ããŸãã ããã§ããã¡ã€ã«ãèŠã€ããããçŸåšã®ã¹ãã³ã«ååãä»ããããŠããå Žåããã¡ã€ã«ã¯ååã®ãªãã¹ãã³ã§æ€çŽ¢ãããŸãã
ãããã£ãŠãç¬èªã®ãã¡ã€ã«ãååã®ãªããµãŒããŒã¹ãã³ã«ã¢ããããŒããããšããµãŒããŒç®¡çè ã¯æšæºã®ãã¡ã€ã«ã§ã¯ãªãèªåã®ãã¡ã€ã«ã䜿çšãããŠããããšã確èªã§ããŸãã
ã€ãŸãããã®ã¢ãããŒãã䜿çšãããšãæšæºã¹ãã³ã«å°ããªå€æŽãå ããããšããç¬èªã®ã¹ãã³ããŒãããéçºããããšãã§ããŸãã
æååãã¡ã€ã«
.dataãã¡ã€ã«ã«ã¯ã CG / PLèŸæžåœ¢åŒã®ããã¹ãããŒã¿ïŒUFT-8ïŒãå«ãŸããŠããŸã;ãããã®ããŒã¿ã¯ãããŸããŸãªãµãŒããŒã¢ãžã¥ãŒã«ã«ãã£ãŠäœ¿çšãããã€ã³ã¿ãŒãã§ã€ã¹ã§æååã圢æããããå€ãèšå®ãããããŸãã
ãããã®ãã¡ã€ã«ãéå±€ã圢æããŸããããã§ã«ãã£ã¯ã·ã§ããªã®ããŒã¬ãã«ã«ãããŸããã€ãŸãããã¡ã€ã³ã®strings.dataãã¡ã€ã«ã«ããŒããªãå ŽåããµãŒããŒã¯ãµãŒããŒã¬ãã«ã®strings.dataãã¡ã€ã«ãªã©ã§ãããèŠã€ããããšããŸãã
ã€ã³ã¿ãŒãã§ã€ã¹å ã®æååã®ããã©ã«ãèšèªã¯è±èªã§ãã ãŠãŒã¶ãŒïŒã»ãã·ã§ã³ïŒã®èšèªãè±èªãšç°ãªãå Žåãèšèªãã¡ã€ã«ïŒfrench.dataãrussian.dataïŒã®ããŒã®å€ããstrings.dataãã¡ã€ã«ã®å€ã眮ãæããŸãã
ãã®ãããªã·ã¹ãã ã§ã¯ããããã«å€æŽãããã€ã³ã¿ãŒãã§ã€ã¹ïŒstrings.dataãã¡ã€ã«ïŒã«ãå®å šãªã»ããã§ã¯ãªããå€ãå€æŽãããããŒïŒäŒç€Ÿåããã©ã³ãåãªã©ïŒã®ã¿ãå«ããããšãã§ããŸãã
ãªã¯ãšã¹ãåŠç
ãã©ãŠã¶ãHTTPãããã³ã«ã䜿çšããŠãµãŒããŒã«æ¥ç¶ãããšããµãŒããŒã¯ãªã¯ãšã¹ããããã¹ãåãæœåºãããã®ååã®ãã¡ã€ã³ãæ¢ããŸãã ãã¡ã€ã³ãèŠã€ãã£ãå ŽåããµãŒããŒã¯ãã®ãã¡ã€ã³ã®ãŠãŒã¶ãŒã®ããã©ã«ãWebã€ã³ã¿ãŒãã§ãŒã¹ãšããŠéžæãããã¹ãã³ãèŠã€ããŸãã login.wsspããŒãžãéå§ããŸãã
Wsspãã¡ã€ã«ã¯ãããã€ãã®è¿œå èŠçŽ ãå«ãããŒã¯ã¢ããã³ãŒãïŒéåžžã¯HTMLïŒã§æ§æãããŸãã
- äž¡åŽãäºéæåïŒ ã§åºåãããããã¹ãïŒ%%èŠçŽ %%ïŒ
- ãã®åœ¢åŒã®æ§é -
ãã®ãããªææžã®äŸïŒ
<html> <body> <h1> %%server%%. %%ID%%.</h1> <!--%%IF EXISTS(lastLogin)--> %%lastLogin%% <!--%%ENDIF--> </body> </html>
ãµãŒããŒã«ããåŠçåŸããã¹ãŠã®ç¹å¥ãªæ§é ã¯ãç°å¢ãããã®æååãŸãã¯æååã®é åã«çœ®ãæããããŸã-ã¹ãã³ã®.dataãã¡ã€ã«ã®ããŒå€ããµãŒããŒã®ãã¡ã€ã³åãŸãã¯ä»ã®ãªããžã§ã¯ããèšå®å€ã
ä»ã®ãã¡ã€ã«ã¯ãã¹ãŠã¯ã©ã€ã¢ã³ãã«æž¡ãããŸãã
åºæ¬çãªãã¢Webã€ã³ã¿ãŒãã§ãŒã¹ã¯ãWSSPããŒãžã®æ©èœã®åªããäŸãšããŠèŠãããšãã§ããŸãã ããããWSSPã¯ãããŒã¿åœ¢åŒã®å€æãããŸããŸãªã¢ãžã¥ãŒã«ãžã®ã¢ã¯ã»ã¹ããµãŒããŒäžã§ã®ã¢ã¯ã·ã§ã³ã®å®è¡ã«é¢ããŠããªãå¶éãããŠããŸãã ãããŠããã匷åãªããŒã«ãå©ãã«ãªããŸãã
Cg / pl
CG / PLèšèªãšãã®äžã§ã®PBXã¢ããªã±ãŒã·ã§ã³ã®éçºã«ã€ããŠã¯ã ãã®èšäºã§ãã§ã«Habréã«ã€ããŠè©±ããŸããã
PBXã«å ããŠãWebã€ã³ã¿ãŒãã§ã€ã¹Communigate Proã®éçºã«ç©æ¥µçã«äœ¿çšãããŠããŸãã åºæ¬çãªWebã¹ãã³ïŒãŠãŒã¶ãŒ->ã€ã³ã¿ãŒãã§ã€ã¹ïŒã®ãã¡ã€ã«ã®ãªã¹ããéããšãHTTPãªã¯ãšã¹ããåŠçããå°ããªCG / PLããã°ã©ã ã®14åã®ãã¡ã€ã«ããããŸãã
HTTPèŠæ±ãåŠçããããã«CG / PLããã°ã©ã ãåŒã³åºãã«ã¯ãããã¹ããšãã£ã¿ãŒã§ãããèšè¿°ãã.wcgpãšããŠä¿åããWebã¹ãã³ã«ããŒãããå¿ èŠããããŸãã
ãã®åŸããã©ãŒã ã®URLãžã®ãªã¯ãšã¹ãïŒ
http://domain.name:[port]/programFile.wcgp/?Skin=skin_name
å®è¡ããããã°ã©ã ãå®è¡ããŸãã
http://domain.name:[port]/auth/programFile.wcgp/?Skin=skin_name
äºåèªèšŒã§ã¢ã«ãŠã³ãã«ä»£ãã£ãŠå®è¡ãã
http://domain.name:[port]/sys/programFile.wcgp
ãã®èŠæ±ã¯ããµãŒããŒã®ååã®ãªãã¹ãã³ã§ã®ã¿ããã°ã©ã ãæ€çŽ¢ãããŠãŒã¶ãŒãšããŠpostmasterïŒãµãŒããŒç®¡çè ïŒãå®è¡ããŸã
äŸãšããŠããlistaccountsãCLIã³ãã³ããå®è¡ããçµæãJSON圢åŒã«å€æããå°ããªã¹ã¯ãªãããèããŸãã
entry sysEntry is void(executeCLI("listaccounts mymac.ru")); accountList = Vars().executeCLIResult; SetHTTPResponseCode(200); SetHTTPResponseData(ObjectToJSON(accountList)); end entry;
Ximss
é³å£°ãã€ã³ã¹ã¿ã³ãã¡ãã»ãŒãžïŒSMSãå«ãïŒãã«ã¬ã³ããŒãé£çµ¡å ãã¡ãŒã«ããã¡ã€ã«ãµãŒããŒãªã©ããã®ãããªå€§éã®ãµãŒããŒåŽæ©èœã䜿çšãããšããµãŒãã¹ãããã€ããŒã¯çµ±åã¯ã©ã€ã¢ã³ãã®äœæã«ç¹å®ã®å°é£ãçµéšããŸãã SIPãDAVãããã³ã«ã®ã»ãããSMTPãIMAPãXMPPãå®è£ ããã©ã€ãã©ãªãéžæãŸãã¯éçºããå¿ èŠããããŸãã ãã®å Žåããããã®ãããã³ã«ããã®ã¡ãã»ãŒãžãšããŒã¿åœ¢åŒã解æããè² æ ã¯ã¯ã©ã€ã¢ã³ãã«ãããŸãã
ãããã®åé¡ã解決ããããã«ã XIMSSãããã³ã«ïŒã¡ãã»ãŒãžã³ã°ãã¹ã±ãžã¥ãŒãªã³ã°ãããã³ã·ã°ããªã³ã°ãžã®XMLã€ã³ã¿ãŒãã§ã€ã¹ïŒãéçºããŸãã ã
ãã®ãããã³ã«ã®ãã¹ãŠã®ã³ãã³ãã¯ãééçãªå±æ§ãæã€åçŽãªXMLããã¥ã¡ã³ãã§ãã ããšãã°ã次ã®åçŽãªã³ãã³ãã¯ãçä¿¡ã³ãŒã«ã2人ã®ãŠãŒã¶ãŒã«ãªãã€ã¬ã¯ãïŒåå²ïŒããŸãã
C:<callRedirect id="A018" callLeg="inp003" > <To>user1@example.com</To><To>user2@example.com</To> </callRedirect> S:<response id="A018"/>
ãã¹ãŠã®ããŒã¿åœ¢åŒïŒMIMEãvCardïŒã¯ã䜿ãããã圢åŒã§XIMSSã¯ã©ã€ã¢ã³ãã«éãããŸãã
ãã®ãããã³ã«ã«ããããµãŒããŒã§äœ¿çšå¯èœãªãã¹ãŠã®CLIã³ãã³ããå®è¡ããããšãã§ããŸããããã«ããã管çè ãå«ãããããçš®é¡ã®èšå®ã調æŽã§ããŸãã
å€ãã®ãã©ãããã©ãŒã ã§ãæ¢è£œã®XIMSSã©ã€ãã©ãªãéçºããŸããã
XIMSSã¯ã©ã€ã¢ã³ãã®æ©èœã®äŸãšããŠãWebããŒãžã§ã³ïŒHTML5ããã³FlashïŒãããŒã¹bestvoip.ruã§è©Šãããšãã§ããäžé£ã®ProntoïŒã¢ããªã±ãŒã·ã§ã³ããå§ãããŸãã
çµè«ãšããŠ
Communigate Proã¯ãããŸããŸãªã¬ãã«ã§åäœãå¶åŸ¡ã§ãããã©ãããã©ãŒã ã§ãã ã¯ã©ã€ã¢ã³ãããã¡ã€ã³éä¿¡ã¢ãžã¥ãŒã«ãžã®ã¢ã¯ã»ã¹ãããã³æšæºãããã³ã«ã«åºã¥ããç¬èªã®æ©èœã®éçºã åæã«ããœãªã¥ãŒã·ã§ã³ã¯å®å®ããŠãããéãè² è·ã«èããããšãã§ããŸãã
ãã¹ãŠã®Communigate APIã®åèšã®ãããå€ã¯ããªã倧ããããã«èŠãããããããŸããããéä¿¡ãµãŒãã¹ç®¡çè ãçŽé¢ããã»ãšãã©ã®ã¿ã¹ã¯ãã«ããŒããŠããŸãã