[asterisk-bugs] [JIRA] (ASTERISK-20496) Patch to app_voicemail.c for large vmblasts

Bob Roswell (JIRA) noreply at issues.asterisk.org
Fri Oct 19 12:49:18 CDT 2012


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

Bob Roswell updated ASTERISK-20496:
-----------------------------------

    Description: 
Sending Voice Mail Blast to large number (>150) of users crushes system performance.  Calls get dropped, go unanswered etc.  Load Average goes from 0.1 to over 20.

I found that adding a sleep(2) in the routine copy_message fixed my issue.

I added just before return 




Additional information:

1)  Calling VMBLAST from standard FreePBX implementation
2)  Should be patched even though there are workarounds.  All the API's should work.
3)  Found that I had to add a dummy mailbox.  Staggering the voicemails creates a new problem.  If the first person deletes the voicemail, later people in the chain do not get it since code inserts voicemail into first person's box, and then copies from there.

  was:
Sending Voice Mail Blast to large number (>150) of users crushes system performance.  Calls get dropped, go unanswered etc.  Load Average goes from 0.1 to over 20.

I found that adding a sleep(2) in the routine copy_message fixed my issue.

I added just before return 

    
> Patch to app_voicemail.c for large vmblasts
> -------------------------------------------
>
>                 Key: ASTERISK-20496
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-20496
>             Project: Asterisk
>          Issue Type: Improvement
>      Security Level: None
>          Components: Applications/app_voicemail
>    Affects Versions: 1.8.13.1
>         Environment: PIAF Installed Version   = 2.0.6.2 under *HARDWARE*                │
>                                                           │  FreePBX Version          = 2.10.1.2                                │
>                                                           │  Running Asterisk Version = 1.8.13.0                                │
>                                                           │  Asterisk Source Version  = 1.8.13.0 *MODIFIED*                     │
>                                                           │  Dahdi Source Version     = 2.6.1+2.6.1                             │
>                                                           │  Libpri Source Version    = 1.4.12                                  │
>                                                           │  IP Address               = 192.168.243.48 on eth0                  │
>                                                           │  Operating System         = CentOS release 6.2 (Final)              │
>                                                           │  Kernel Version           = 2.6.32-220.17.1.el6.x86_64 - 64 Bit   
>            Reporter: Bob Roswell
>            Assignee: Rusty Newton
>            Severity: Minor
>
> Sending Voice Mail Blast to large number (>150) of users crushes system performance.  Calls get dropped, go unanswered etc.  Load Average goes from 0.1 to over 20.
> I found that adding a sleep(2) in the routine copy_message fixed my issue.
> I added just before return 
> Additional information:
> 1)  Calling VMBLAST from standard FreePBX implementation
> 2)  Should be patched even though there are workarounds.  All the API's should work.
> 3)  Found that I had to add a dummy mailbox.  Staggering the voicemails creates a new problem.  If the first person deletes the voicemail, later people in the chain do not get it since code inserts voicemail into first person's box, and then copies from there.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira



More information about the asterisk-bugs mailing list