Интеграция 3CX Phone System c Microsoft CRM 4.0. Исходящие вызовы.



Similar documents
Using ilove SharePoint Web Services Workflow Action

Freight Tracking Web Service Implementation Guide

Web-Service Example. Service Oriented Architecture

Recurring Payments Manual

Dev Guide for Encrypted Swipe

Managed Rebill web services

Sage CRM. Sage CRM 2016 R1 Web Services Guide

Penetration Testing Corporate Collaboration Portals. Giorgio Fedon, Co-Founder at Minded Security

Microsoft Active Directory Oracle Enterprise Gateway Integration Guide

The BritNed Explicit Auction Management System. Kingdom Web Services Interfaces

Threat Advisory: Atlassian Crowd (CVE )

GetFormatList. Webservice name: GetFormatList. Adress:

Call Detail Record Access Service Part No R01

Middleware and the Internet

Send your request via a SOAP-Request (e.g. with DotNET/SOAP, Java, PHP) to he following URL of our server:

Standalone SAML Attribute Authority With Shibboleth

Corporate Financial & Operational Analytical and Reporting System

How To Detect A Ddos Attack On A Magazine

The JSON approach is mainly intended for intranet integration, while the xml version is for machine to machine integration.

HTTP - METHODS. Same as GET, but transfers the status line and header section only.

Save Actions User Guide

Introduction. Tom Dinkelaker, Ericsson Guido Salvaneschi, Mira Mezini, TUD

Ontology-based Web Service Composition: Part 1. Rolland Brunec Betreuerin: Sabine Maßmann Universität Leipzig, Abteilung Datenbanken

Protecting Premium Live TV Services with PlayReady

What is Distributed Annotation System?

Deriving semantics from WS-BPEL specifications of parallel business processes on an example

Web Services. Distributed Object Systems 11. Web Services, SOAP and NET. Web Applications. Web Services. Web services vs Distributed Objects

Tutorial básico del método AJAX con PHP y MySQL

Visualize Your Cloud Data Using the Graph Template Language

This three-day instructor-led course provides students with the tools to extend Microsoft Dynamics CRM 4.0.

Exploiting Access Control and Facility Management Systems. Billy Rios Director of Threat Intelligence Qualys

Core Ideas CHAPTER 1 PART. CHAPTER 2 Pre-Ajax JavaScript Communications Techniques CHAPTER 3 XMLHttpRequest Object CHAPTER 4 Data Formats

Cisco TelePresence Content Server

Filtered Views for Microsoft Dynamics CRM

iridium for Mac: the "i3 pro" application

M{ZD{ CX-5 z z MME_CX-5_COVER_14R1_V1.indd 1 23/04/ :04:59

Anleitung zur Schnellinstallation Guía de instalación rápida

How To Validate A Single Line Address On An Ipod With A Singleline Address Validation (For A Non-Profit) On A Microsoft Powerbook (For An Ipo) On An Uniden Computer (For Free) On Your Computer Or

COMET SYSTEM. Web Sensor P8510. Web Sensor P8511. Web Sensor P8541 USER GUIDE

Merchant Web Services API

Version: 1. Cellfind_MPG SDK Technical Specification

Pass4Sure.MB2-701_90Q&A. MB2-701 Extending Microsoft Dynamics CRM 2013

AJAX and JSON Lessons Learned. Jim Riecken, Senior Software Engineer, Blackboard Inc.

Chart of Accounts (COA) Validation Service. 6/11/2012 University at California, Berkeley IS&T, Application Services

File Transfer Service Monitoring System for LCG

Version: 1.1. Contact details. Simon Carmiggeltstraat DJ Amsterdam. P.O. Box EB Amsterdam The Netherlands T

Adyen Merchant Integration Manual. Version 1.60 Adyen B.V.

POSTGRESQL, A PLATFORM FOR MULTIPLE SOURCES DATA RETRIEVAL

1. User Guide API overview addon - xml Definition addon.background addon.background.script

SalesJunction.com. Sales Force Automation & CRM. SJAPI Guide

Towards, Building and Implementing a Digital Healthcare System

Storage database in cloud processing

Asset Management and Tagging API v2. User Guide Version 2.9

Welcome. Welcome to Webserver Stress Tool (Freeware)

CRM Developer Form

GCSS-AF SOA and Web Services Infrastructure & Support

An Innovative Approach to SOAP Monitoring. Written By Quest Software

dox42dynamics CRM Documentation Christian Bauer

Experience and Working Conditions of Project Managersin Poland Research Report 1

e Merchant Plug-in (MPI) Integration & User Guide

Exercise 2 Play a couple of times with interactive video to find other storylines. Also try to get the highest possible score.

Tutorial 5 Creating Advanced Queries and Enhancing Table Design

COURSE DESCRIPTION. Queries in Microsoft Access. This course is designed for users with a to create queries in Microsoft Access.

Service Oriented Computing: SOAP, WSDL and UDDI. Dr. Cristian Mateos Diaz ( ISISTAN - CONICET


CPSC Recalls Retrieval Web Services Programmers Guide: Recalls and Penalties Database

Tenrox and Microsoft Dynamics CRM Integration Guide

Integrating CRM On Demand with the E-Business Suite to Supercharge your Sales Team

DNS REBINDING DENIS BARANOV, POSITIVE TECHNOLOGIES

gsoap User Guide

Ready, Set, Go Getting started with Tuscany

Microsoft Dynamics CRM Clients

OpenOffice.org Extensions development in Java with NetBeans in practise. Jürgen Schmidt OpenOffice.org Sun Microsystems, Inc.

SharePoint Integration

WEB OF KNOWLEDGE WEB SERVICES LITE V July 2, 2013

LANGUAGE INDEPENDENT SOFTWARE COMMUNICATION IN DISTRIBUTED APPLICATIONS

Oracle Web Service Manager 11g Field level Encryption (in SOA, WLS) March, 2012

Merchant Web Services API

Developer s Guidelines for ESMA database on Shares admitted to trading on EU Regulated Markets

Custom SIS Integration Type Development. Jim Riecken Blackboard Learn Product Development

SoapHeader : s'authentifier proprement a un WebService SOAP

Integration Guide. Integrating Extole with Salesforce. Overview. Use Cases


It is highly recommended that you are familiar with HTML and JavaScript before attempting this tutorial.

CONVERTING FROM NETKEEPER ISAM v6.32 to NETKEEPER SQL

Extending Microsoft Dynamics CRM 4.0

Using Outlook Web Access

How To Use Longitudinal Database On Redcap

Microsoft Dynamics CRM - Create a Lead

Timeline for Microsoft Dynamics CRM

English. Deutsch. Français. Italiano. AV Pre Tuner AV7702

DNNCentric Custom Form Creator. User Manual

Transcription:

ICE Partners Интеграция 3CX Phone System c Microsoft CRM 4.0. Исходящие вызовы.

Краткое описание Данное руководство описывает пошаговую настройку возможности осуществления исходящих вызовов из Microsoft CRM и использование 3CX Phone System. При нажатии кнопки Позвонить происходит вызов на внутренний номер звонящего (для того чтобы он поднял трубку), далее на номер вызываемого абонента. Приведенный в руководстве скрипт, разрабатывался и тестировался для MS CRM 4.0 и 3CX v.7 Скрипт разработан www.icepartners.ru и распространяется бесплатно. Поддержка и модификация данного решения может быть осуществлена на платной основе.

Для хранения внутреннего номера используется поле Основной телефон (имя схемы address1_telephone1), сущность Пользователь.

Для сущности Контакт необходимо создать кнопку Позвонить. Создайте атрибут Call (имя схемы new_button, тип текст), для сущности Контакт.

Добавьте поле Call на форму Контакт.

Добавьте скрипт на событие OnLoad. //Определение внутреннего номера пользователя CRM function GetUserExt() { var XMLRequest = "" + "<?xml version=\"1.0\" encoding=\"utf-8\"?>" + "<soap:envelope xmlns:soap=\"http://schemas.xmlsoap.org/soap/envelope/\" xmlns:xsi=\"http://www.w3.org/2001/xmlschema-instance\" xmlns:xsd=\"http://www.w3.org/2001/xmlschema\">" + GenerateAuthenticationHeader() + " <soap:body>" + " <RetrieveMultiple xmlns=\"http://schemas.microsoft.com/crm/2007/webservices\">" + " <query xmlns:q1=\"http://schemas.microsoft.com/crm/2006/query\" xsi:type=\"q1:queryexpression\">" + " <q1:entityname>systemuser</q1:entityname>" + " <q1:columnset xsi:type=\"q1:columnset\">" + " <q1:attributes>" + " <q1:attribute>systemuserid</q1:attribute>" + " <q1:attribute>fullname</q1:attribute>" + " <q1:attribute>address1_telephone1</q1:attribute>" + " </q1:attributes>" + " </q1:columnset>" + " <q1:distinct>false</q1:distinct>" + " <q1:criteria>" + " <q1:filteroperator>and</q1:filteroperator>" + " <q1:conditions>" + " <q1:condition>" + " <q1:attributename>systemuserid</q1:attributename>" +

" <q1:operator>equaluserid</q1:operator>" + " </q1:condition>" + " </q1:conditions>" + " </q1:criteria>" + " </query>" + " </RetrieveMultiple>" + " </soap:body>" + "</soap:envelope>" + ""; try { var xmlhttprequest = new ActiveXObject("Msxml2.XMLHTTP"); xmlhttprequest.open("post", "/mscrmservices/2007/crmservice.asmx", false); xmlhttprequest.setrequestheader("soapaction","http://schemas.microsoft.com/crm/2007/webservices/retrievemultiple"); xmlhttprequest.setrequestheader("content-type", "text/xml; charset=utf-8"); xmlhttprequest.setrequestheader("content-length", XMLRequest.length); xmlhttprequest.send(xmlrequest); var Result = xmlhttprequest.responsexml; var BusinessEntityNodes = Result.selectNodes("//RetrieveMultipleResult/BusinessEntities/BusinessEntity"); if (BusinessEntityNodes.length!= 0) { var BusinessEntityNode = BusinessEntityNodes[0]; var SystemUserId = BusinessEntityNode.selectSingleNode("q1:systemuserid"); var FullName = BusinessEntityNode.selectSingleNode("q1:fullname"); var Extension = BusinessEntityNode.selectSingleNode("q1:address1_telephone1"); var SystemUserId = (SystemUserId == null)? null : SystemUserId.text; var FullName = (FullName == null)? null : FullName.text; var Extension = (Extension == null)? null : Extension.text; return Extension; catch (e) { alert(e.message); alert(getuserext()); var ext = GetUserExt(); // Скрипт для создание кнопки crmform.all.new_button.datavalue = "Позвонить"; crmform.all.new_button.style.textalign = "center"; crmform.all.new_button.valign = "middle"; //we make the mouse look as a hand when we're moving over crmform.all.new_button.style.cursor = "hand"; crmform.all.new_button.style.backgroundcolor = "#CADFFC"; crmform.all.new_button.style.color = "#FF0000"; crmform.all.new_button.style.bordercolor = "#330066"; crmform.all.new_button.style.fontweight = "bold";

crmform.all.new_button.contenteditable = false; crmform.all.new_button.attachevent("onmousedown",color1); crmform.all.new_button.attachevent("onmouseup",color2); crmform.all.new_button.attachevent("onmouseover",color3); crmform.all.new_button.attachevent("onmouseleave",color4); function color3() { crmform.all.new_button.style.backgroundcolor = "#6699FF"; function color4() { crmform.all.new_button.style.backgroundcolor = "CADFFC"; function color1() { crmform.all.new_button.style.color = "000099"; function color2() { crmform.all.new_button.style.color = "FF0000"; crmform.all.new_button.attachevent("onclick",call); //Функция вызова function call() { var to=crmform.all.telephone1.datavalue; var url = "http://192.168.0.2:5484/pbxapi.aspx?func=make_call&from=" + ext + "&pin=" + ext + "&to=" + to; alert(url); call_window=window.open(url) call_window.close(); 192.168.0.2 - необходимо заменить на адрес 3CX сервера. Скрипт работает при условии ПИН = Внутреннему Номеру.

Результат в форме контакта.