[asterisk-bugs] [Asterisk 0016617]: [patch] Announce to user when they have been muted/unmuted from the AMI

Asterisk Bug Tracker noreply at bugs.digium.com
Thu Feb 10 14:18:37 CST 2011


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=16617 
====================================================================== 
Reported By:                kobaz
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   16617
Category:                   Applications/app_meetme
Reproducibility:            N/A
Severity:                   feature
Priority:                   normal
Status:                     ready for testing
Asterisk Version:           SVN 
JIRA:                       SWP-738 
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases):  trunk 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2010-01-15 13:21 CST
Last Modified:              2011-02-10 14:18 CST
====================================================================== 
Summary:                    [patch] Announce to user when they have been
muted/unmuted from the AMI
Description: 
When a user does a *1, they hear 'you have been (un)muted'
When a mute or unmute command is sent over the ami, the user hears no mute
notification.

======================================================================
Relationships       ID      Summary
----------------------------------------------------------------------
has duplicate       0018778 Mute/Unmute lock/unlock messages are no...
====================================================================== 

---------------------------------------------------------------------- 
 (0131825) phonetech (reporter) - 2011-02-10 14:18
 https://issues.asterisk.org/view.php?id=16617#c131825 
---------------------------------------------------------------------- 
I am using Asterisk 1.8.2.3

I am getting the following error when trying to apply the patch:

patch -p0 app_meetme.c meetme.diff 

patching file app_meetme.c
Hunk https://issues.asterisk.org/view.php?id=1 succeeded at 482 (offset 5
lines).
Hunk https://issues.asterisk.org/view.php?id=2 succeeded at 489 (offset -7
lines).
Hunk https://issues.asterisk.org/view.php?id=3 succeeded at 769 (offset -24
lines).
Hunk https://issues.asterisk.org/view.php?id=4 succeeded at 985 (offset -24
lines).
Hunk https://issues.asterisk.org/view.php?id=5 succeeded at 1976 (offset -40
lines).
Hunk https://issues.asterisk.org/view.php?id=6 FAILED at 2272.
Hunk https://issues.asterisk.org/view.php?id=7 succeeded at 2398 (offset -51
lines).
Hunk https://issues.asterisk.org/view.php?id=8 succeeded at 4698 (offset -99
lines).
Hunk https://issues.asterisk.org/view.php?id=9 succeeded at 4741 (offset -99
lines).
1 out of 9 hunks FAILED -- saving rejects to file app_meetme.c.rej

Here are the contents of app_meetme.c.rej

***************
*** 2245,2251 ****
        }
        ast_format_cap_add(cap_slin, ast_format_set(&tmpfmt,
AST_FORMAT_SLINEAR, 0));

-       if (!(user = ao2_alloc(sizeof(*user), NULL))) {
                goto conf_run_cleanup;
        }

--- 2272,2278 ----
        }
        ast_format_cap_add(cap_slin, ast_format_set(&tmpfmt,
AST_FORMAT_SLINEAR, 0));

+       if (!(user = ao2_alloc(sizeof(*user),
ast_conf_user_ao2_destructor))) {
                goto conf_run_cleanup;
        } 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2011-02-10 14:18 phonetech      Note Added: 0131825                          
======================================================================




More information about the asterisk-bugs mailing list