Update configuration parameters
To configure your environment, you can update the following
nds.plugin.fax
parameters. The AthocDeliveryService and IIS must be restarted after you make any updates to these parameters.Parameter | Steps |
---|---|
twilioFromNumber |
|
responseUrl | Replace "https://www.myndsserver.com/R/" with your server name. |
pdfUrl | Replace "https://www.myndsserver.com/PDFService" with your server name. |
ndsHTTPAuthEnabled | For information about this setting, see Enable-basic-authentication-for-pdf-and-response-service.html#Task-template-BlackBerry.dita_f7e9a893-81c8-4b29-87e3-b0b725e354ea. |
twilioSigningKey | Enter your Twilio signing key, signing secret, and the public key. For information about getting keys, see Twilio. |
twilioSigningSecret | |
ndsPublicKeySID | |
ndsHTTPUsername | For information about this setting, see Enable-basic-authentication-for-pdf-and-response-service.html#Task-template-BlackBerry.dita_f7e9a893-81c8-4b29-87e3-b0b725e354ea. |
ndsHTTPPassword | For nformation about this this setting, see Enable-basic-authentication-for-pdf-and-response-service.html#Task-template-BlackBerry.dita_f7e9a893-81c8-4b29-87e3-b0b725e354ea. |
The following is an example showing the parameters described above:
<FaxConfig xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <requestsPerSec>50</requestsPerSec> <maxTasksPerExecution>200</maxTasksPerExecution> <maxBacklog>1000</maxBacklog> <minBatchSize>10</minBatchSize> <taskTimeout>600</taskTimeout> <configKey>FaxPlugIn</configKey> <selfTestInterval>30</selfTestInterval> <!-- Provide validated From number for the Twilio account. --><twilioFromNumber>+15555552530</twilioFromNumber> <!-- For following 2 URLS provide the correct hostname in the URL --><responseUrl>https://myndsserver.com/R/</responseUrl> <pdfUrl>https://myndsserver.com/PDFService</pdfUrl> <!-- This zoom level of the PDF generated for fax. Keep it's value as 1 ( default value) --> <pdfZoomLevel>1</pdfZoomLevel> <!-- If this is set to true, HTTP Basic Auth will be used for all incoming requests (Webhook status callbacks, PDF requests) to NDS from Twilio --> <ndsHTTPAuthEnabled>true</ndsHTTPAuthEnabled> <encryptCredential>false</encryptCredential> <!-- Parameters given below will be encrypted by AtHocDeliveryService on first run if encryptCredential is set to false --><!-- SID of Twilio Account & its auth code to be used for fax submision --><twilioAccountSID>ACb8959fec31218c7ad37ad4f094a55538</twilioAccountSID><!-- Twilio Authcode is not used for public key authentication. It is used for validating X-Twilio-Signatures of incoming status call backs & PDF requests from Twilio --><twilioAuthCode>88c6b6a4d006ff41f031b088dbc492a2</twilioAuthCode><!-- Twilio Signing key (i.e, API Key) & its secret --><twilioSigningKey>SKbb2509a2188d0d8200f3a6e1ec8bc034</twilioSigningKey><twilioSigningSecret>pj7Pc7ie5aA36N17ykynLhw2pvA7b7uI</twilioSigningSecret><!-- SID of NDS Public key. This SID is provided by Twilio, after we upload NDS public key to Twilio--><ndsPublicKeySID>CR7fe078b7d4ee7c8fbad0d1bb9f90c5d1</ndsPublicKeySID><!-- HTTP Basic Auth Username/Password of NDS IIS (R & PDF service). --> <ndsHTTPUsername>faxplugin</ndsHTTPUsername> <ndsHTTPPassword>Test1234*</ndsHTTPPassword> </FaxConfig>