Playing the chanspy recordings
-
I can't get the recordings to transfer into the voicemail box. I found a post on the forum that gave instruction, and followed them. But the recordings still do not transfer. Any thoughts on what I could be doing wrong? I ensured the proper amp admin password in fop.cfg and ensured the following settings:
monitor_filename=/var/spool/asterisk/monitor/${ORIG_EXTENSION}-${DEST_EXTENSION}-${MBOX}-${UNIQUEID}
monitor_format=wav
monitor_mix=true
monitor_exec=/home/fop2/server/tovoicemail.plwhat am I missing? Thanks in advance!
-
Check the tovoicemail.pl script, it should be executable and owned by the asterisk user, it also uses sox to manipulate the recording, and some machines have different sox versions. One way to try is to run the script in the command line as the asterisk user and see if it outputs an error or not. What I do to sort this kind of thing is:
- increase debug level in asterisk: asterisk -rx "core set debug 10"
- be sure that the asteirsk full log is enabled ( /etc/asterisk/logger.conf )
- perform the action that triggers the script, in this case, leave a voicemail
- check the full log for "tovoicemail.pl", you should see a line that says something like "Executing /usr/local/fop2/tovoicemai.pl paramter1 paramter2"
- copy the command you see there , complete with all parameters
- su to the asterisk user
- paste the command in the command prompt
The problem here is that if the script actually worked when executed by asterisk , the original filenames are probably moved so repeating the command will fail with a fail not found error at some point.
I hope you get the idea on how to debug, it is not that easy...
Best regards,
-
-
At least the tovoicemail.pl script must be owned by asterisk.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login