bar top left
bar top right
left curve
right curve
Welcome, Guest

Can't edit system recordings
(1 viewing) (1) Guest
Go to bottom
Post Reply
Post New Topic
Page: 1
TOPIC: Can't edit system recordings
#56641
Can't edit system recordings 1 Year, 6 Months ago Karma: 0
Hello -

I have a basic Elastix 1.6.2-7 system running. I have created a custom system recording by uploading a WAV file. The recording plays correctly, but I cannot edit it. I am attempting to edit it by dialing the feature code that I linked it to.

Scenario:

1.) I dial the feature code and enter the password.
2.) The recording plays and I am asked "To listen to it press 1 or to re-record it press * followed by #".
3.) I press * and all I get is silence.

Below is a view from the CLI when attempting this process.

Code:


Connected to Asterisk 1.4.33.1 currently running on pbx (pid = 2479)
Verbosity is at least 3
    -- Executing [*2910@from-internal:1] Macro("SIP/1000-00000198", "user-callerid|") in new stack
    -- Executing [s@macro-user-callerid:1] Set("SIP/1000-00000198", "AMPUSER=1000") in new stack
    -- Executing [s@macro-user-callerid:2] GotoIf("SIP/1000-00000198", "0?report") in new stack
    -- Executing [s@macro-user-callerid:3] ExecIf("SIP/1000-00000198", "1|Set|REALCALLERIDNUM=1000") in new stack
    -- Executing [s@macro-user-callerid:4] Set("SIP/1000-00000198", "AMPUSER=1000") in new stack
    -- Executing [s@macro-user-callerid:5] Set("SIP/1000-00000198", "AMPUSERCIDNAME=Nick Smith") in new stack
    -- Executing [s@macro-user-callerid:6] GotoIf("SIP/1000-00000198", "0?report") in new stack
    -- Executing [s@macro-user-callerid:7] Set("SIP/1000-00000198", "AMPUSERCID=1000") in new stack
    -- Executing [s@macro-user-callerid:8] Set("SIP/1000-00000198", "CALLERID(all)="Nick Smith" <1000>") in new stack
    -- Executing [s@macro-user-callerid:9] ExecIf("SIP/1000-00000198", "0|Set|CHANNEL(language)=") in new stack
    -- Executing [s@macro-user-callerid:10] GotoIf("SIP/1000-00000198", "0?continue") in new stack
    -- Executing [s@macro-user-callerid:11] Set("SIP/1000-00000198", "__TTL=64") in new stack
    -- Executing [s@macro-user-callerid:12] GotoIf("SIP/1000-00000198", "1?continue") in new stack
    -- Goto (macro-user-callerid,s,19)
    -- Executing [s@macro-user-callerid:19] NoOp("SIP/1000-00000198", "Using CallerID "Nick Smith" <1000>") in new stack
    -- Executing [*2910@from-internal:2] Wait("SIP/1000-00000198", "2") in new stack
    -- Executing [*2910@from-internal:3] Macro("SIP/1000-00000198", "systemrecording|docheck|custom/OutOfOffice|5253") in new stack
    -- Executing [s@macro-systemrecording:1] Set("SIP/1000-00000198", "RECFILE=custom/OutOfOffice") in new stack
    -- Executing [s@macro-systemrecording:2] ExecIf("SIP/1000-00000198", "1|Authenticate|5253") in new stack
    -- <SIP/1000-00000198> Playing 'agent-pass' (language 'en')
    -- <SIP/1000-00000198> Playing 'auth-thankyou' (language 'en')
    -- Executing [s@macro-systemrecording:3] Goto("SIP/1000-00000198", "docheck|1") in new stack
    -- Goto (macro-systemrecording,docheck,1)
    -- Executing [docheck@macro-systemrecording:1] Playback("SIP/1000-00000198", "beep") in new stack
    -- <SIP/1000-00000198> Playing 'beep' (language 'en')
    -- Executing [docheck@macro-systemrecording:2] BackGround("SIP/1000-00000198", "custom/OutOfOffice|m|en|macro-systemrecording") in new stack
    -- <SIP/1000-00000198> Playing 'custom/OutOfOffice' (language 'en')
    -- Executing [docheck@macro-systemrecording:3] Wait("SIP/1000-00000198", "1") in new stack
    -- Executing [docheck@macro-systemrecording:4] Goto("SIP/1000-00000198", "confmenu|1") in new stack
    -- Goto (macro-systemrecording,confmenu,1)
    -- Executing [confmenu@macro-systemrecording:1] BackGround("SIP/1000-00000198", "to-listen-to-it&press-1&to-rerecord-it&press-star&astcc-followed-by-pound|m|en|macro-systemrecording") in new stack
    -- <SIP/1000-00000198> Playing 'to-listen-to-it' (language 'en')
    -- <SIP/1000-00000198> Playing 'press-1' (language 'en')
    -- <SIP/1000-00000198> Playing 'to-rerecord-it' (language 'en')
    -- <SIP/1000-00000198> Playing 'press-star' (language 'en')
    -- <SIP/1000-00000198> Playing 'astcc-followed-by-pound' (language 'en')
    -- Executing [confmenu@macro-systemrecording:2] Read("SIP/1000-00000198", "RECRESULT||1|||4") in new stack
    -- Accepting a maximum of 1 digits.
    -- User entered '*'
    -- Executing [confmenu@macro-systemrecording:3] GotoIf("SIP/1000-00000198", "1?dorecord|1") in new stack
    -- Goto (macro-systemrecording,dorecord,1)
    -- Executing [dorecord@macro-systemrecording:1] System("SIP/1000-00000198", "rm /var/lib/asterisk/sounds/custom/OutOfOffice.*") in new stack
pbx*CLI>



Any help would be greatly appreciated! =D
Enter code here   
Please note: although no board code and smiley buttons are shown, they are still usable.
nsmith
Fresh Boarder
Posts: 6
graphgraph
User Offline Click here to see the profile of this user
Reply Quote
 
#56643
Re:Can't edit system recordings 1 Year, 6 Months ago Karma: 155
I believe you heard, as you so rightly stated, Lady Alison saying :-

"To listen to it press 1 or to re-record it press * followed by #".

you chose to press * , my interpretation of what the lady said was that you should start speaking at that point in time (this would allow the system to so record your dulcet tones) , and that when you have delivered your message vocally that you should then press # to let the system know you were done. That you didn't hear anything does not surprise me. May I ask which part of the lady's advice did you misunderstand?

dicko
Enter code here   
Please note: although no board code and smiley buttons are shown, they are still usable.
dicko
Ethically, I no longer support PaloSanto, Sorry.
Platinum Boarder
Posts: 4101
graphgraph
User Offline Click here to see the profile of this user
Gender: Male Location: Not available Birthday: 01/21
There are other solutions!!
Reply Quote
 
#56647
Re:Can't edit system recordings 1 Year, 6 Months ago Karma: 0
Thanks for the quick reply!

It isn't that I misunderstood the Allison's instructions. When pressing * to start the new recording, there is no "beep" tone. Also, I have attempted doing the recording after pressing *, then pressing # and nothing happens.
Enter code here   
Please note: although no board code and smiley buttons are shown, they are still usable.
nsmith
Fresh Boarder
Posts: 6
graphgraph
User Offline Click here to see the profile of this user
Reply Quote
 
#56650
Re:Can't edit system recordings 1 Year, 6 Months ago Karma: 0
EDIT:

It just came to me to double check the permissions on the actual files and sure enough, the files that I uploaded were root:root; changing them to asterisk:asterisk has resolved this issue.
Enter code here   
Please note: although no board code and smiley buttons are shown, they are still usable.
nsmith
Fresh Boarder
Posts: 6
graphgraph
User Offline Click here to see the profile of this user
Reply Quote
 
#56652
Re:Can't edit system recordings 1 Year, 6 Months ago Karma: 155
If you had used the web interface to upload it, then it would have been owned by asterisk:asterisk unless you changed the apache setup , if you did it any other way then you have found your answer, whatever permissions you gve it gave asterisk read but not write permission. My apologies for my sharp-ish answer, but your post was imprecise. Any way, Welcome here nsmith.


regards

dicko

p.s.
I deleted your duplicate post.
Enter code here   
Please note: although no board code and smiley buttons are shown, they are still usable.
dicko
Ethically, I no longer support PaloSanto, Sorry.
Platinum Boarder
Posts: 4101
graphgraph
User Offline Click here to see the profile of this user
Gender: Male Location: Not available Birthday: 01/21
Last Edit: 2010/07/30 20:36 By dicko.
There are other solutions!!
Reply Quote
 
#56657
Re:Can't edit system recordings 1 Year, 6 Months ago Karma: 0
I actually did use the web interface to upload the WAV files, so I'm not sure what happened. As for my post, I'm not sure how it was imprecise; I gave as much detail about the process as I had. I didn't take your post as sharp-ish, but thank you. That is usually the reason I shy away from forums. It seems as though, in some forums, unless the user knows everything about everything, they receive a snide response. Again, thank you for the quick reply and my apologies for the dual post. Cheers! =D
Enter code here   
Please note: although no board code and smiley buttons are shown, they are still usable.
nsmith
Fresh Boarder
Posts: 6
graphgraph
User Offline Click here to see the profile of this user
Reply Quote
 
#56666
Re:Can't edit system recordings 1 Year, 6 Months ago Karma: 155
Perhaps not imprecise but incomplete, you posted

1.) I dial the feature code and enter the password.
2.) The recording plays and I am asked "To listen to it press 1 or to re-record it press * followed by #".
3.) I press * and all I get is silence.

Maybe had you added something like:

4.) I recorded the message and then pressed # and nothing happened.

Then that might have been considered more complete/precise. What you actually posted would be exactly the behavior one would expect. Hence my original reply, you posted, I answered, I try to be precise, not "snide".

If you have a web server that uploads files with root ownership then I think you have another and FAR more serious problem, you should really check that in the /var/log/httpd/ssl_* files immediately.

dicko
Enter code here   
Please note: although no board code and smiley buttons are shown, they are still usable.
dicko
Ethically, I no longer support PaloSanto, Sorry.
Platinum Boarder
Posts: 4101
graphgraph
User Offline Click here to see the profile of this user
Gender: Male Location: Not available Birthday: 01/21
Last Edit: 2010/07/31 12:35 By dicko.
There are other solutions!!
Reply Quote
 
Go to top
Post Reply
Post New Topic
Page: 1
Moderators: rafael, Bob, jgutierrez