ICTContact is a marketing and broadcasting autodialer software solution. ICTContact use open source asterisk gateway in back end. ICTContact is a unified broadcasting communication software solution, it broadcast sms , voice, email and fax. ICTContact support Voip and PSTN lines as a trunk/gateway. ICTContact has multiple features its blast thousand of call at a time, it support multi service billing,it has unique IVR designer survey and appointment reminder modules,it provide live monitoring AMD support and scalability feature. ICTContact has also many other features which should be avilable in any marketing software autodialer.

ICTContact autodialer software is flexible solution, it give the freedom to integrate externally with top CRM solutions like VtigerCRM, EspoCRM, flatefreeCRM, CivicCRM, flarepointCRM, EspoCRM, Yetiforce CRM , SugarCRM and other CRM’s by using ICTContact REST APIs . Integration of ICTContact with these CRM is not a difficult task for professional who has basic knowledge that how to use API’s as CRM integration will be fulfilled by the use ICTContact REST APIs . This integration adds more intelligence, efficiency , flexibility and performance in solution also it is scale able and customize-able as per requirements. By using ICTContact marketing autodialer software with these two CRMs is a great opportunity to increase sales and long term relationship with customer.

ICTContact REST Api’s
ICTContact REST APIs enable you to integrate with any third party application including Open source CRMs like SugarCRM, SuiteCRM, EspoCRM, YetiforceCRM, Civic CRM , Flatefree CRM and others r without compromising quality and services of ICTContact. To integrate and access ICTContact in SugaCRM and Vtiger needs to write some code on these CRM. ICTContact provides three different types of Rest based API to integrate with SugarCRM and Vtiger.

  1. API_User
  2. API_Contact
  3. API_Campaign

Lets see how we use some external ICTContact REST APIs in SugarCRM and Vtigar for creating contacts,contact groups,recording and simple campaign.

Contact_Create

This function creates a new contact in a group whose contact_group_id is provided while calling this method.

Input Parameters

contact: An array containing the contact data. For example, first_name, last_name, phone, email, address, description etc.
contact_group_id: ID of the contact group whose contacts are to be dialed by this campaign

Output

Returns json encoded string containing contact_id if successful. In case of any failure, it will return false.

Sample Code

 $contact = array(<br>
            'phone' =&gt; '12345678',<br>
            'first_name'=&gt;'first',<br>
            'last_name'=&gt;'last',<br>
            'email'=&gt; '<a href="mailto:test@test.com">test@test.com</a>'<br>
 );<br>
 $arguments = array('contact'=&gt;$contact, 'contact_group_id'=&gt; $group_id);<br>
 $result  = broadcast_api('Contact_Create', $arguments);<br>
 if($result[0] == true) {<br>
   $contact_id = $result[1];<br>
   print_r($contact_id);<br>
 } else {<br>
   $errmsg = $result[1];<br>
   print_r($errmsg);<br>
 }<br>
?&gt;

Campaign_Create

This function creates a message (voice) campaign. It requires a recording message and a contact group to run campaign.

Input Parameters

campaign: An array of campaign containing IDs of the message (recording_id in this case) and contact_group_id as mandatory fields. campaign array can contain following optional fields: name, contact_repeat, campaign_mode, am_action, am_message etc.

Output

Returns json encoded string containing campaign_id if successful. In case of any failure, it will return false.

Sample Code

 $campaign = array(<br>
    'contact_group_id'  =&gt; 1,     //  contact_group_id<br>
    'message'           =&gt; 1,     //  recording_id<br>
 );<br>
 $arguments = array('campaign'=&gt;$campaign);<br>
 $result = broadcast_api('Campaign_Create', $arguments);<br>
 if($result[0] == true) {<br>
   $campaign_id = $result[1];<br>
   print_r($campaign_id);<br>
 } else {<br>
   $errmsg = $result[1];<br>
   print_r($errmsg);<br>
 }<br>
?&gt;<br><strong>Contact_Group_Create</strong>

This function creates a new contact groups.

Input Parameters

contact_group: An array containing the contact group data. For example, name and description.

Output

Returns json encoded string containing true and contact_group_id if successful. In case of any failure, it will return false.

Sample Code

 $arguments = array('contact_group'=&gt; array('name' =&gt; 'mygroup'));<br>
 $result  = broadcast_api('Contact_Group_Create', $arguments);<br>
 if($result[0] == true) {<br>
   $contact_group_id = $result[1];<br>
   print_r($contact_id);<br>
 } else {<br>
   $errmsg = $result[1];<br>
   print_r($errmsg);<br>
 }<br>
?&gt;