[asterisk-bugs] [JIRA] (ASTERISK-28748) Recording failed when making many calls per second

Kouda (JIRA) noreply at issues.asterisk.org
Tue Feb 18 23:33:25 CST 2020


Kouda created ASTERISK-28748:
--------------------------------

             Summary: Recording failed when making many calls per second
                 Key: ASTERISK-28748
                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-28748
             Project: Asterisk
          Issue Type: Information Request
      Security Level: None
          Components: Applications/app_mixmonitor, Applications/app_mp3, Core/RTP, Resources/res_monitor, Sounds
    Affects Versions: 15.7.2
         Environment: OS: Amazon Linux 2 AMI
            Reporter: Kouda


I'm new to asterisk. 
I'm trying stress test on asterisk server and simultaneously record calls.It succeeds recording if call's frequency is less than once per second. But it fails when making calls more than it.

I'm using sipp command to make simultaneous calls.
Here is the log when I exert as 
sipp -sn uac -s 3456 xx.xxx.xxx.xxx -r 2 -m 1

-- Executing [3456 at default:1] Set("SIP/sipp-00000256", "CALLFILENAME=3456-20200219-105329") in new stack
    -- Executing [3456 at default:2] Monitor("SIP/sipp-00000256", "wav,3456-20200219-105329,m") in new stack
    -- Executing [3456 at default:3] Answer("SIP/sipp-00000256", "") in new stack
    -- Executing [3456 at default:4] MP3Player("SIP/sipp-00000256", "/var/lib/asterisk/sounds/en/loop1.mp3") in new stack
  == Spawn extension (default, 3456, 4) exited non-zero on 'SIP/sipp-00000256'


And this is the contents in extensions.conf

[general]
avpf=yes

[default]
exten = 3456,1,Set(CALLFILENAME=${EXTEN}-${STRFTIME(${EPOCH},Asia/Tokyo,%Y%m%d-%H%M%S)})
exten = 3456,n,Monitor(wav,${CALLFILENAME},m)
exten = 3456,n,MP3Player(/var/lib/asterisk/sounds/en/loop1.mp3)
exten = 3456,n,Hangup()

In sip.conf

[general]
externaddr=xx.xxx.xxx.xxx
context=default               
allowoverlap=no                
udpbindaddr=0.0.0.0             
transport=udp                  
srvlookup=yes                   
localnet=xxx.xx.x.x/255.255.0.0
qualify=yes
rtcachefriends=yes
directmedia=no

[sipp]
type=friend
username=sipp
host=dynamic
context=default

When making calls more than twice per second,there're some full length recording files but the other are 44 bytes file.

I'm using builtin uas.xml program for stress test.



--
This message was sent by Atlassian JIRA
(v6.2#6252)



More information about the asterisk-bugs mailing list