Uploaded image for project: 'FreePBX'
  1. FreePBX
  2. FREEPBX-6556

Incoming faxes with " ' " in CallerID Fail due to Bash Error

    XMLWordPrintable

    Details

    • Distro:
      FreePBX Distro

      Description

      Any time a fax is received from a DID that happens to have an " ' " in the callerID the fax will fail.

      Failed Example:
      [~|root@pbx]# php /var/lib/asterisk/bin/fax2mail.php --to "test@example.com" --dest "13213635381" --callerid '"TEST'S,CID" <13154240345>' --file /var/spool/asterisk/fax/1368124926.46408.tif --exten "Example
      - John Doe (3035)" --delete "true"

      {{-bash: syntax error near unexpected token `(' }}

      Successful Example:
      [~|root@pbx]# php /var/lib/asterisk/bin/fax2mail.php --to "test@example.com" --dest "13213635381" --callerid '"TESTS,CID" <13154240345>' --file /var/spool/asterisk/fax/1368124926.46408.tif --exten "Example
      - John Doe (3035)" --delete "true"

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                GameGamer43 Bryan Walters
                Reporter:
                flightnut5304 Jonathan Sullivan
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  NextupJiraPlusStatus

                  Error rendering 'slack.nextup.jira:nextup-jira-plus-status'. Please contact your Jira administrators.