Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

FOP2 Community Forum

V

victorzulu

@victorzulu
Unfollow Follow
About
Posts
4
Topics
2
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Voicemails not playing - PHP Deprecated errors?
    V victorzulu
    Support

    Thanks, Nicolas. I made those changes and now the only error I get is an undefined variable "ctype" whenever I try to play the message from the voicemail browser:

    [Thu May 19 16:27:59 2011] [error] [client 192.168.58.144] PHP Notice: Undefined variable: ctype in /var/www/localhost/htdocs/download.php on line 60, referer: http://192.168.58.254/wavplayer.swf?gui=none

    As a test, I deleted this line from the script:

    header("Content-Type: $ctype");

    And it works like a charm. That is really cool...the way you've programmed it to play one party on the left speaker and the other party on the right speaker....

    THANKS!

    chris


  • Voicemails not playing - PHP Deprecated errors?
    V victorzulu
    Support

    Thanks! Yes, I'm using PHP Version 5.3.6.

    I edited download.swf with the changes you suggested and Now I'm getting these warnings. (Obviously I don't know how to code.....)

    [Fri May 13 16:05:03 2011] [error] [client 192.168.58.144] PHP Warning: preg_split() [<a href='function.preg-split'>function.preg-split</a>]: No ending delimiter '!' found in /var/www/localhost/htdocs/download.php on line 18, referer: http://192.168.58.254/wavplayer.swf?gui=none
    [Fri May 13 16:05:03 2011] [error] [client 192.168.58.144] PHP Warning: preg_replace() [<a href='function.preg-replace'>function.preg-replace</a>]: Delimiter must not be alphanumeric or backslash in /var/www/localhost/htdocs/download.php on line 19, referer: http://192.168.58.254/wavplayer.swf?gui=none
    [Fri May 13 16:05:03 2011] [error] [client 192.168.58.144] PHP Warning: preg_replace() [<a href='function.preg-replace'>function.preg-replace</a>]: No ending delimiter '%' found in /var/www/localhost/htdocs/download.php on line 20, referer: http://192.168.58.254/wavplayer.swf?gui=none
    [Fri May 13 16:05:03 2011] [error] [client 192.168.58.144] PHP Warning: preg_replace() [<a href='function.preg-replace'>function.preg-replace</a>]: No ending delimiter '/' found in /var/www/localhost/htdocs/download.php on line 21, referer: http://192.168.58.254/wavplayer.swf?gui=none


  • Voicemails not playing - PHP Deprecated errors?
    V victorzulu
    Support

    Hi! Slowly making progress with the voicemail explorer. The voicemail sound is not playing, though, and these are the apache2 errors appearing now when I press the play button.

    [Wed May 11 21:45:35 2011] [error] [client 192.168.58.4] PHP Deprecated: Function split() is deprecated in /var/www/localhost/htdocs/download.php on line 18, referer: http://192.168.58.254/wavplayer.swf?gui=none
    [Wed May 11 21:45:35 2011] [error] [client 192.168.58.4] PHP Deprecated: Function ereg_replace() is deprecated in /var/www/localhost/htdocs/download.php on line 19, referer: http://192.168.58.254/wavplayer.swf?gui=none
    [Wed May 11 21:45:35 2011] [error] [client 192.168.58.4] PHP Deprecated: Function ereg_replace() is deprecated in /var/www/localhost/htdocs/download.php on line 20, referer: http://192.168.58.254/wavplayer.swf?gui=none
    [Wed May 11 21:45:35 2011] [error] [client 192.168.58.4] PHP Deprecated: Function ereg_replace() is deprecated in /var/www/localhost/htdocs/download.php on line 21, referer: http://192.168.58.254/wavplayer.swf?gui=none
    [Wed May 11 21:45:35 2011] [error] [client 192.168.58.4] PHP Notice: Undefined variable: ctype in /var/www/localhost/htdocs/download.php on line 60, referer: http://192.168.58.254/wavplayer.swf?gui=none

    Could these PHP Deprecated errors be preventing the sound from playing?


  • Asterisk can't play recorded .wav files
    V victorzulu
    Support

    Hi! I have the tovoicemail.pl script working and the recordings are sent to the correct voicemail account but the verbose output of Asterisk is saying it can't play the .wav format. Possibly something to do with the voicemail.conf? I'm recording normal voicemails as wav|gsm|wav49.

    Here are the error logs from Asterisk:
    [May 11 08:53:30] WARNING[23941]: format_wav.c:148 check_header: Not in mono 2
    [May 11 08:53:30] WARNING[23941]: file.c:385 fn_wrapper: Unable to open format wav
    [May 11 08:53:30] WARNING[23941]: file.c:991 ast_streamfile: Unable to open /var/spool/asterisk/voicemail/default/39/INBOX/msg0000 (format 0x4 (ulaw)): No such file or directory
    [May 11 08:53:30] WARNING[23941]: app_voicemail.c:5814 play_message: Playback of message /var/spool/asterisk/voicemail/default/39/INBOX/msg0000 failed

    I can play the .wav file with a media player after transferring it out of the Asterisk server.

  • Login

  • Don't have an account? Register

  • Login or register to search.
Powered by NodeBB Contributors
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups