Hi, How could I change the default permissions for voicemails? When I try to install the patch mentioned at http://www.voip-info.org/tiki-index.php?page=Asterisk+gui+vmail.cgi, I get the following response: patch < voicemail.patch patching file app_voicemail.c Hunk #1 FAILED at 39. Hunk #2 FAILED at 119. Hunk #3 FAILED at 296. Hunk #4 FAILED at 1248. Hunk #5 FAILED at 1273. Hunk #6 FAILED at 1296. Hunk #7 FAILED at 1398. Hunk #8 FAILED at 1567. Hunk #9 FAILED at 1676. Hunk #10 FAILED at 3451. 10 out of 10 hunks FAILED -- saving rejects to file app_voicemail.c.rej I'm afraid I don't have previous experience in patching so I don't know what's going on (Just trying to guess what It could be, too recent version of app_voicemail.c, wrong command parameters..) It would be very interesting open the permissions to user nobody. What I am doing at the moment is execute a cron job with chown -R for user nobody over the voicemail directory. Thanks, Victor. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20050704/da0585fe/attachment.htm
Giorgio Incantalupo
2005-Jul-04 09:12 UTC
[Asterisk-Users] voicemail (gui vmail.cgi) patch
HI, usually those errors arise when you try to use a patch with a different version. It happened to me when I tried to patch Asterisk 1.0.7 with a different version patch. Giorgio Incantalupo Victor Alvarez wrote:> Hi, > > How could I change the default permissions for voicemails? > > When I try to install the patch mentioned at > http://www.voip-info.org/tiki-index.php?page=Asterisk+gui+vmail.cgi, I > get the following response: > > *patch < voicemail.patch* > patching file app_voicemail.c > Hunk #1 FAILED at 39. > Hunk #2 FAILED at 119. > Hunk #3 FAILED at 296. > Hunk #4 FAILED at 1248. > Hunk #5 FAILED at 1273. > Hunk #6 FAILED at 1296. > Hunk #7 FAILED at 1398. > Hunk #8 FAILED at 1567. > Hunk #9 FAILED at 1676. > Hunk #10 FAILED at 3451. > 10 out of 10 hunks FAILED -- saving rejects to file app_voicemail.c.rej > I'm afraid I don't have previous experience in patching so I don't > know what's going on (Just trying to guess what It could > be, too recent version of app_voicemail.c, wrong command parameters..) > It would be very interesting open the permissions to user nobody. What > I am doing at the moment is execute a cron job with chown -R for user > nobody over the voicemail directory. > > Thanks, > Victor. > >------------------------------------------------------------------------ > >_______________________________________________ >Asterisk-Users mailing list >Asterisk-Users@lists.digium.com >http://lists.digium.com/mailman/listinfo/asterisk-users >To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users >
Grazie Giorgio. Then I should reformulate the question. Is there any new version of this patch (http://www.voip-info.org/img/wiki_up/voicemail.patch)? The one at the wiki is dated November 2004 and doesn't seem to be suitable for current version of voicemail.c. Is there any other way to do the same? (Give access for Apache's user to /voicemail/) Thanks, Victor. ------------------------------ Message: 21 Date: Mon, 04 Jul 2005 18:12:37 +0200 From: Giorgio Incantalupo <gincantalupo@fgasoftware.com> Subject: Re: [Asterisk-Users] voicemail (gui vmail.cgi) patch To: Asterisk Users Mailing List - Non-Commercial Discussion <asterisk-users@lists.digium.com> Message-ID: <42C95FF5.1070503@fgasoftware.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed HI, usually those errors arise when you try to use a patch with a different version. It happened to me when I tried to patch Asterisk 1.0.7 with a different version patch. Giorgio Incantalupo Victor Alvarez wrote:> Hi, > > How could I change the default permissions for voicemails? > > When I try to install the patch mentioned at > http://www.voip-info.org/tiki-index.php?page=Asterisk+gui+vmail.cgi, I > get the following response: > > *patch < voicemail.patch* > patching file app_voicemail.c > Hunk #1 FAILED at 39. > Hunk #2 FAILED at 119. > Hunk #3 FAILED at 296. > Hunk #4 FAILED at 1248. > Hunk #5 FAILED at 1273. > Hunk #6 FAILED at 1296. > Hunk #7 FAILED at 1398. > Hunk #8 FAILED at 1567. > Hunk #9 FAILED at 1676. > Hunk #10 FAILED at 3451. > 10 out of 10 hunks FAILED -- saving rejects to file app_voicemail.c.rej > I'm afraid I don't have previous experience in patching so I don't > know what's going on (Just trying to guess what It could > be, too recent version of app_voicemail.c, wrong command parameters..) > It would be very interesting open the permissions to user nobody. What > I am doing at the moment is execute a cron job with chown -R for user > nobody over the voicemail directory. > > Thanks, > Victor. > >-------------------------------------------------------------------------------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20050705/37baca83/attachment.htm