Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't handle more calls #4

Open
kavinchauhan opened this issue Apr 23, 2021 · 0 comments
Open

Can't handle more calls #4

kavinchauhan opened this issue Apr 23, 2021 · 0 comments

Comments

@kavinchauhan
Copy link

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":"80-28309@172.31.20.204","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":"64-28309@172.31.20.204","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":"97-28309@172.31.20.204","v":1}
{"level":30,"time":1619178936307,"msg":"ending call","pid":19942,"hostname":"ip-172-31-23-28","callid":"97-28309@172.31.20.204","v":1}
{"level":30,"time":1619178936396,"msg":"outdialing sip:service@172.31.23.28","pid":19942,"hostname":"ip-172-31-23-28","callid":"67-28309@172.31.20.204","v":1}
{"level":30,"time":1619178936398,"msg":"siprecCallee member id 4200","pid":19942,"hostname":"ip-172-31-23-28","callid":"70-28309@172.31.20.204","v":1}
{"level":30,"time":1619178936399,"msg":"siprecCallee member id 4203","pid":19942,"hostname":"ip-172-31-23-28","callid":"72-28309@172.31.20.204","v":1}
{"level":30,"time":1619178936399,"msg":"siprecCallee member id 4201","pid":19942,"hostname":"ip-172-31-23-28","callid":"74-28309@172.31.20.204","v":1}
{"level":30,"time":1619178936400,"msg":"siprecCallee member id 4202","pid":19942,"hostname":"ip-172-31-23-28","callid":"71-28309@172.31.20.204","v":1}
{"level":30,"time":1619178936400,"msg":"outdialing sip:service@172.31.23.28","pid":19942,"hostname":"ip-172-31-23-28","callid":"65-28309@172.31.20.204","v":1}
{"level":30,"time":1619178936401,"msg":"created conference: anon-f17c2358-be17-4a0d-96e2-55db70718e7e","pid":19942,"hostname":"ip-172-31-23-28","callid":"79-28309@172.31.20.204","v":1}
{"level":30,"time":1619178936402,"msg":"created conference: anon-88ff4f2f-f9b0-4e3c-ac34-3c4e03fd40bc","pid":19942,"hostname":"ip-172-31-23-28","callid":"76-28309@172.31.20.204","v":1}
{"level":30,"time":1619178936403,"msg":"created conference: anon-8ec0bfe5-433d-43c2-8058-fbaf58464722","pid":19942,"hostname":"ip-172-31-23-28","callid":"77-28309@172.31.20.204","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'
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant