[asterisk-bugs] [JIRA] (ASTERISK-21826) Bad queue_log entry when removed member from queue via CLI

Oscar Esteve (JIRA) noreply at issues.asterisk.org
Tue May 28 15:44:06 CDT 2013


     [ https://issues.asterisk.org/jira/browse/ASTERISK-21826?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Oscar Esteve updated ASTERISK-21826:
------------------------------------

    Attachment: fix_membername.diff

Changed the call of find_member_by_queuename_and_interface method before remove member action, if call it after remove it, isn't possible find the member, was removed ¡¡
                
> Bad queue_log entry when removed member from queue via CLI
> ----------------------------------------------------------
>
>                 Key: ASTERISK-21826
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-21826
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Applications/app_queue
>    Affects Versions: SVN
>         Environment: Asterisk SVN-trunk-r389827 currently running on debian
>            Reporter: Oscar Esteve
>         Attachments: fix_membername.diff
>
>
> If log_membername_as_agent is set to yes at queues.conf to report the queuemember name instead the member interface, when added a member with CLI:
> *CLI> queue add member SIP/oscar to markq penalty 1 as oscar
> Added interface 'SIP/oscar' to queue 'markq'
> queue_log entry:
> 1369682091|CLI|markq|oscar|ADDMEMBER|
> And when removed it:
> *CLI> queue remove member SIP/oscar from markq
> Removed interface SIP/oscar from queue 'markq'
> queue_log entry:
> 1369682167|CLI|markq|SIP/oscar|REMOVEMEMBER|
> note the queuemember field is really the interface not the queuename.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.asterisk.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira



More information about the asterisk-bugs mailing list