Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
sa50-00 [2024/01/23 19:35] – [Setting Up] Justin Willeysa50-00 [2024/01/23 20:07] (current) – [Setting Up] Justin Willey
Line 1: Line 1:
-====== 2-Way SMS text with SMSWorks ======+====== Two-Way SMS text with SMSWorks ======
  
 ===== Requirements ===== ===== Requirements =====
Line 13: Line 13:
  
   * Generate API key, secret & token in SMSWorks account website   * Generate API key, secret & token in SMSWorks account website
-  * Choose a UserName (normally SMSWorks) and Password that will be used by SMSWorks to call a WebHook provided by IQXHub that will receive and process incoming text messages from SMSWorks. +  * Choose a UserName (normally SMSWorks) and Password that will be used by SMSWorks to call a WebHook provided by IQXHub that will receive and process incoming text messages from SMSWorks. (NB these are not a user name and password from the SMSWorks account - they are ones we set so that SMSWorks can authenticate with us)
-  * Populate the SMSWorksConfig table with the Token (from SMSWorks) and the UserName, Password chosen above.+  * Populate the SMSWorksConfig table with the Token (from SMSWorks) and the UserName, Password chosen above. <code>INSERT INTO SMSWorksConfig ( SMSWorksConfigID,Token,ResponseURL,DivisionID,UName,PWord ) VALUES ( '1', '<Token>', 'https://pizza.iqxanywhere.net/job/IncomingSMS',  null , 'SMSWorks', '<password>' ); 
 +</code>
   * Configure the functions OutgoingSMSCETypes & CustomSMSHTTPRequest   * Configure the functions OutgoingSMSCETypes & CustomSMSHTTPRequest
   * Upload the IncomingSMS.xml job to Maintenance | Databases Setup | System Jobs and Reports   * Upload the IncomingSMS.xml job to Maintenance | Databases Setup | System Jobs and Reports
   * Use the Create Hub For Web Services button in Maintenance | IQXWeb Setup | Profiles to create a User (normally SMSWorks as above) and User Class for a user matching the details (including password) set up in SMSWorksConfig above.   * Use the Create Hub For Web Services button in Maintenance | IQXWeb Setup | Profiles to create a User (normally SMSWorks as above) and User Class for a user matching the details (including password) set up in SMSWorksConfig above.
   * In Maintenance | IQXWeb Setup | User Classes  Add IncomingSMS to the permitted jobs for the new user class   * In Maintenance | IQXWeb Setup | User Classes  Add IncomingSMS to the permitted jobs for the new user class
-  * In the SMSWorks Account | Reply Numbers - set the response URL eg: https://pizza.iqxanywhere.net/job/IncomingSMS, and the Username and Password as set up in IQX Web Setup for each response number+  * In the SMSWorks Account | Reply Numbers - set the response URL eg: https://pizza.iqxanywhere.net/job/IncomingSMS, and the Username and Password as set up in IQX Web Setup for each response number (NB in the case of non-Anywhere installations - a separate Hub will need to be configure to handle the incoming traffic)
   * In IQX Maintenance | Agency Setup - ensure that Contact Event Types are set up for SM / text messaging - you probably want incoming and outgoing.   * In IQX Maintenance | Agency Setup - ensure that Contact Event Types are set up for SM / text messaging - you probably want incoming and outgoing.
   * Check that the Applicant and other phone types for mobile numbers include the **S** Capability.   * Check that the Applicant and other phone types for mobile numbers include the **S** Capability.
  • sa50-00.1706038505.txt.gz
  • Last modified: 2024/01/23 19:35
  • by Justin Willey