[asterisk-bugs] [JIRA] (ASTERISK-22304) 'Bad Magic Number' with bridge Application.

Fabian Andrey Garzón Niño (JIRA) noreply at issues.asterisk.org
Thu Aug 15 18:15:03 CDT 2013


Fabian Andrey Garzón Niño created ASTERISK-22304:
----------------------------------------------------

             Summary: 'Bad Magic Number' with bridge Application.
                 Key: ASTERISK-22304
                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-22304
             Project: Asterisk
          Issue Type: Bug
      Security Level: None
          Components: Bridges/bridge_simple
    Affects Versions: 11.5.0, 11.4.0, 11.3.0
         Environment: VMWare Virtual Machine  with 4GB RAM and 4 Vcp, the environment is running over an hp server with 16 GB RAM and an Intel Xeon E5520 QuadCore Processor.
The OS is an Centos 6.4 AND Asterisk 11.5 Versión
            Reporter: Fabian Andrey Garzón Niño


We are trying to use the Asterisk Bridge application but when we have more than 150 bridges, Asterisk shows the 'Bad Magic Number' error.
when the 'Bad Magic Number' error uccurs the hardware performance is normal (CPU and RAM memory) without substantial increase.
we recompiled Asterisk following the Reference Count Debugging Document and we will attach the debug information.

Operating System : CentOS 6.4 Kernel 2.6.32-358.el6.i686 
Asterisk : Asterisk 11.5.0

this is the Dialplan for the case:

Global Variables
CONFBRIDGEVAL=4000
CONFBRIDGESMF=1
BRIDGELASTCHANNEL=string

Dial-plan
;;BRIDGE
exten => _X.,1,NoOp(${GLOBAL(CONFBRIDGESMF)})
exten => _X.,2,NoOp(${GLOBAL(BRIDGELASTCHANNEL)})
exten => _X.,n,GotoIf($[${GLOBAL(CONFBRIDGESMF)} = 0]?confbridge1:confbridge2)
exten => _X.,n(confbridge1),Set(GLOBAL(BRIDGELASTCHANNEL)=${CHANNEL})
exten => _X.,n,Set(GLOBAL(CONFBRIDGESMF)=1)
exten => _X.,n(play),Playback(tt-monkeys)
exten => _X.,n,Wait(10)
exten => _X.,n,Goto(play)
exten => _X.,n(confbridge2),Set(GLOBAL(CONFBRIDGESMF)=0)
exten => _X.,n,Bridge(${GLOBAL(BRIDGELASTCHANNEL)})
exten => _X.,n,Hangup

Steps required to reproduce the issue :
using the dialplan above, create more than 150 bridges.

Thanks in advance!

--
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