Open MayamaTakeshi opened 5 months ago
I checked tcp and there is no problem. This code:
t1 = sip.transport.create({address: "127.0.0.1", port: 6060, type: 'tcp'})
t2 = sip.transport.create({address: "127.0.0.1", port: 6060, type: 'tcp'})
fails as expected:
allocate_tcp_tpfactory ipaddr=127.0.0.1 port=6060
allocate_tcp_tpfactory ipaddr=127.0.0.1 port=6060
status=120098
Error: Unable to start TCP transport
at Object.create (/home/takeshi/src/git/MayamaTakeshi/sip-lab/index.js:42:38)
at test (/home/takeshi/src/git/MayamaTakeshi/sip-lab/t:20:24)
at Object.<anonymous> (/home/takeshi/src/git/MayamaTakeshi/sip-lab/t:405:1)
at Module._compile (node:internal/modules/cjs/loader:1376:14)
This code:
resulted in:
Need to check if this also happens with tcp.