Details

    • Type: Patches
    • Status: Closed (View Workflow)
    • Resolution: Fixed
    • Affects Version/s: 2.3
    • Fix Version/s: None
    • Component/s: Callback
    • Labels:

      Description

      I could not get asterisk to execute the /var/lib/asterisk/bin/callback ${CALL} ${DESTINATION} ${SLEEP} &

      Finaly I figured that php's output was screwing me up so I changed the command to /var/lib/asterisk/bin/callback ${CALL} ${DESTINATION} ${SLEEP} >> /tmp/callbacklog & because I wanted to keep a simple logfile you could as easily send to /dev/null

      diff functions.inc.php functions.inc.php.orig 
      46c46
      <                                       $ext->add('callback', $item['callback_id'], '', new ext_system((empty($asterisk_conf['astvarlib']) ? '/var/lib/asterisk' : $asterisk_conf['astvarlib']).'/bin/callback ${CALL} ${DESTINATION} ${SLEEP} >> /tmp/callbacklog &'));
      ---
      >                                       $ext->add('callback', $item['callback_id'], '', new ext_system((empty($asterisk_conf['astvarlib']) ? '/var/lib/asterisk' : $asterisk_conf['astvarlib']).'/bin/callback ${CALL} ${DESTINATION} ${SLEEP} &'));

        Attachments

          Activity

          Hide
          p_lindheimer Philippe Lindheimer added a comment -

          r3958 should stop the output. as a side note, callback script needs to be moved into callback module for autolinking ...

          Show
          p_lindheimer Philippe Lindheimer added a comment - r3958 should stop the output. as a side note, callback script needs to be moved into callback module for autolinking ...
          Hide
          mbrevda Moshe Brevda added a comment -

          well if this is addresses by (http://www.freepbx.org/trac/changeset/3958) i presume we can close it

          Show
          mbrevda Moshe Brevda added a comment - well if this is addresses by ( http://www.freepbx.org/trac/changeset/3958 ) i presume we can close it

            People

            • Assignee:
              Unassigned
              Reporter:
              toddejohnson toddejohnson
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: