|Top Previous Next|
Step 2: Configure PageGate to send Email
In this particular configuration, we're going to have PageGate check replies for the words 'subscribe' or 'unsubscribe'. If it finds 'subscribe', PageGate is going to email that reply to the 'subscribe' recipient or group. If it finds 'unsubscribe', PageGate is going to email that reply to the 'unsubscribe' recipient or group.
Step 3: Create a File carrier to pass the replies to PageGate's GetASCII API and Filter Pack for processing
1) In Windows, create a new directory for PageGate's message processing to reference. This can be any folder accessible to PageGate, whether on the local hard drive or by UNC path to a network resource. However, if PageGate will need to reference a network resource, the services relevant to these processes will need permission to access it. For more information, see the services section of the documentation. We recommend creating a directory called Replies as a sub-directory of PageGate's database directory (By default, c:\PageGateData\Replies\).
2) Right click Carriers, left click Add.
3) Specify the following:
File Path: Specify the directory you created in step 1. By default, c:\PageGateData\Replies\
Max Chars: 2000
5)Go to Carriers - reply-processing - Template.
6)In the Text section of the template, specify the following:
Step 4: Create a recipient tied to the File carrier
1)Right click Recipients, left click Add.
2)Specify the following:
Full Name: message-replies
Max Chars: 2000
3) Click Apply
Step 5: Create a Recipient or Group named GeneralReplies
If the words 'subscribe' or 'unsubscribe' do not appear in a reply message, the reply will be sent to a recipient or group named GeneralReplies. For example, you could configure a series of 5 recipients tied to 5 separate email addresses, then add each recipient as a member of a group called GeneralReplies. When a reply needs to go to GeneralReplies, PageGate would then send that as an email to the 5 email recipients in the group. Alternatively, if GeneralReplies exists as a recipient, PageGate will send those messages to the email address or device configured for that recipient.
Step 6: Set the message-replies recipient as the Reply Recipient
1)Go to Connectors - Connector X - 2-way
Note: This only applies to replies to messages sent from the cellular hardware this connector is configured to use.
2)Check 'Enable GSM-AT Replies'
3)In the Reply Recipient field, select: message-replies.
Step 7: Configure and enable the GetASCII API
1)In Windows, create a new directory for the GetASCII API's basic processing. We recommend creating a directory called ASCII as a sub-directory of PageGate's database directory (By default, c:\PageGateData\ASCII\).
2)In the PageGate Admin, go to Interfaces - GetASCII - Settings.
3)Set the 'Polling Directory' to the directory you created in step 1. By default, c:\PageGateData\ASCII\
6)Say yes, you do want this to be enabled for everyone.
7)Go to Interfaces - GetASCII - Settings - Advanced Polling - Files.
8)Click Add and specify the following:
File Type: Standard
Path: Specify the folder the reply messages will be written to. By default, C:\PageGateData\Replies\
10) Click Apply again.
11) Go to Program - Settings.
12) In the 'Run on this server' section, check GetASCII.
13) Click Apply.
14) If prompted for credentials, leave them blank and click Apply again.
Step 8: Configure the Filter Pack to process the replies based on 'subscribe' or 'unsubscribe' being in the reply message
1)Copy pgfilter.exe, pgfilter.xml and preproc.bat in to the directory you created for the reply-processing File carrier. By default, c:\PageGateData\Replies\
2)Click here for the necessary pgfilter.xml script configuration.
Once you finish this configuration, any time someone sends a reply to a message delivered by your cellular hardware, PageGate will scan the body of the reply for 'subscribe' or 'unsubscribe'. If it finds 'subscribe', it will send the reply to a specified recipient or group for delivery. If it finds 'unsubscribe', it will send the reply to a separate specified recipient or group for delivery.