drachtio-siprec-recording-client icon indicating copy to clipboard operation
drachtio-siprec-recording-client copied to clipboard

Can't handle more calls

Open kavinchauhan opened this issue 3 years ago • 0 comments

I have installed siprec-client and fresswitch with drachtio-mrf profile in it. I am doing stress testing but not able to handle many calls at sometime freeswitch not closing all channels properly and I can see many calls in "show calls" after all calls finish. Also, I get below error on node app.

{"level":30,"time":1619178936275,"msg":"created conference: anon-33db20f5-8367-4b75-80c5-df31152b9a74","pid":19942,"hostname":"ip-172-31-23-28","callid":"[email protected]","v":1}
{"level":30,"time":1619178936291,"msg":"response to conference relate cmd: {\"headers\":[{\"name\":\"Content-Type\",\"value\":\"api/response\"},{\"name\":\"Content-Length\",\"value\":26}],\"hPtr\":null,\"body\":\"+OK 4171->4147 nohear set\\n\"}","pid":19942,"hostname":"ip-172-31-23-28","callid":"[email protected]","v":1}
{"level":50,"time":1619178936307,"msg":"Error connecting call: Error: Connection timeout, Error: Connection timeout\n    at MediaServer.timeoutFn (/opt/drachtio-siprec-recording-client/node_modules/drachtio-fsmrf/lib/mediaserver.js:274:18)\n    at listOnTimeout (internal/timers.js:554:17)\n    at processTimers (internal/timers.js:497:7)","pid":19942,"hostname":"ip-172-31-23-28","callid":"[email protected]","v":1}
{"level":30,"time":1619178936307,"msg":"ending call","pid":19942,"hostname":"ip-172-31-23-28","callid":"[email protected]","v":1}
{"level":30,"time":1619178936396,"msg":"outdialing sip:[email protected]","pid":19942,"hostname":"ip-172-31-23-28","callid":"[email protected]","v":1}
{"level":30,"time":1619178936398,"msg":"siprecCallee member id 4200","pid":19942,"hostname":"ip-172-31-23-28","callid":"[email protected]","v":1}
{"level":30,"time":1619178936399,"msg":"siprecCallee member id 4203","pid":19942,"hostname":"ip-172-31-23-28","callid":"[email protected]","v":1}
{"level":30,"time":1619178936399,"msg":"siprecCallee member id 4201","pid":19942,"hostname":"ip-172-31-23-28","callid":"[email protected]","v":1}
{"level":30,"time":1619178936400,"msg":"siprecCallee member id 4202","pid":19942,"hostname":"ip-172-31-23-28","callid":"[email protected]","v":1}
{"level":30,"time":1619178936400,"msg":"outdialing sip:[email protected]","pid":19942,"hostname":"ip-172-31-23-28","callid":"[email protected]","v":1}
{"level":30,"time":1619178936401,"msg":"created conference: anon-f17c2358-be17-4a0d-96e2-55db70718e7e","pid":19942,"hostname":"ip-172-31-23-28","callid":"[email protected]","v":1}
{"level":30,"time":1619178936402,"msg":"created conference: anon-88ff4f2f-f9b0-4e3c-ac34-3c4e03fd40bc","pid":19942,"hostname":"ip-172-31-23-28","callid":"[email protected]","v":1}
{"level":30,"time":1619178936403,"msg":"created conference: anon-8ec0bfe5-433d-43c2-8058-fbaf58464722","pid":19942,"hostname":"ip-172-31-23-28","callid":"[email protected]","v":1}
received INVITE with unknown uuid: d221e1b0-cc35-491f-b2ba-7b0d53eb180f
/opt/drachtio-siprec-recording-client/node_modules/eventemitter2/lib/eventemitter2.js:394
        throw arguments[1]; // Unhandled 'error' event
        ^

Error: write EPIPE
    at afterWriteDispatched (internal/stream_base_commons.js:156:25)
    at writeGeneric (internal/stream_base_commons.js:147:3)
    at Socket._writeGeneric (net.js:785:11)
    at Socket._write (net.js:797:8)
    at writeOrBuffer (internal/streams/writable.js:358:12)
    at Socket.Writable.write (internal/streams/writable.js:303:10)
    at module.exports.Connection.send (/opt/drachtio-siprec-recording-client/node_modules/drachtio-modesl/lib/esl/Connection.js:204:21)
    at module.exports.Connection.sendRecv (/opt/drachtio-siprec-recording-client/node_modules/drachtio-modesl/lib/esl/Connection.js:232:10)
    at module.exports.Connection.events (/opt/drachtio-siprec-recording-client/node_modules/drachtio-modesl/lib/esl/Connection.js:417:10)
    at module.exports.Connection.subscribe (/opt/drachtio-siprec-recording-client/node_modules/drachtio-modesl/lib/esl/Connection.js:560:10) {
  errno: -32,
  code: 'EPIPE',
  syscall: 'write'
}

kavinchauhan avatar Apr 23 '21 12:04 kavinchauhan