Open Source Training Seminar FreePBX Paid Support

Ticket #1329 (closed Bugs: fixed)

Opened 2 years ago

Last modified 1 year ago

Unable to add /var/lib/asterisk/sounds/custom/FindMe.wav - Can not read file!

Reported by: AsteriskSeller Assigned to:
Priority: minor Milestone:
Component: System Recordings Version: 2.3-branch
Keywords: Cc:
Confirmation: SVN Revision (if applicable):
Backend Engine: All Backend Engine Version:

Description

Unable to add /var/lib/asterisk/sounds/custom/FindMe.wav - Can not read file!

Freepbx 2.2beta2 Trixbox 2.0beta

Tried to record a greeting from X-Lite softphone. Error Returned

Change History

11/13/06 07:17:40 changed by robr

most likely a duplicate of 1303

11/13/06 10:10:25 changed by p_lindheimer

can you check the display name on the extension you are trying to do this from, and make sure that it is NOT in the format of Name <5552331234> - if it is, get rid of the <5552331234> part where that can be any number. (e.g. it doesn't like the <> which is a different bug)

11/13/06 10:15:17 changed by AsteriskSeller

Display name is name only Are you referring to the Outbound Caller ID by any chance? I will try changing that to see if it works.

11/13/06 16:39:53 changed by p_lindheimer

  • status changed from new to closed.
  • resolution set to worksforme.

Try this:

  • Make sure the Display Name on the extension is a Name only (no <xxx>) in the display name.
  • Remove any outbound callerid that is configured with the extension.

Now try it. If it works, and then when you put back the outbound callerid it fails, you need to uprgrade to the 2.2 branch svn head where this is fixed. If it is still broken, reopen this bug (and provide any additional details you might have).

This sounds like it is coming indirectly from another bug that was fixed which is why I'm asking you to do those.

07/14/07 22:22:47 changed by dziny

  • status changed from closed to reopened.
  • resolution deleted.

Encountered this issue again with 2.3beta1 today (all my modules are up-to-date). I was connecting from IAX2 softphone which had CID number alias. Got the error message "Unable to add /var/lib/asterisk/sounds/custom/XXXXX.wav - Can not read file!". The error went away after CID number alias was erased. Is it possible this bug was only fixed for SIP extensions but not IAX ?

07/15/07 02:09:08 changed by p_lindheimer

  • status changed from reopened to closed.
  • version changed from 2.2beta2 to 2.3-branch.
  • resolution set to fixed.
  • engine_version changed.
  • svn_rev changed.

the issue is because of CID number aliasing (thanks for mentioning that). This will be fixed in the next core module update which will be out in a few days. Here is the patch if you want to patch your extensions.conf file temporarily:

Index: extensions.conf
===================================================================
--- extensions.conf     (revision 4378)
+++ extensions.conf     (working copy)
@@ -896,11 +896,11 @@
 [macro-systemrecording]
 exten => s,1,Goto(${ARG1},1)
 
-exten => dorecord,1,Record(/tmp/${CALLERID(number)}-ivrrecording:wav)
+exten => dorecord,1,Record(/tmp/${AMPUSER}-ivrrecording:wav)
 exten => dorecord,n,Wait(1)
 exten => dorecord,n,Goto(confmenu,1)
 
-exten => docheck,1,Playback(/tmp/${CALLERID(number)}-ivrrecording)
+exten => docheck,1,Playback(/tmp/${AMPUSER}-ivrrecording)
 exten => docheck,n,Wait(1)
 exten => docheck,n,Goto(confmenu,1)

07/15/07 02:12:10 changed by p_lindheimer

Donate



Support
Download
Develop
Forums
News
Documentation
Paid Support
About

Paid Ads