kirm / sip.js

Session Initiation Protocol for node.js
MIT License
427 stars 171 forks source link

407 Proxy Authentication Required #128

Closed kelchy closed 6 years ago

kelchy commented 6 years ago

I need to challenge an incoming INVITE and upon sending a 407 Proxy Authentication Required, the client sends back ACK and an INVITE with authenticate header, call then proceed. all good.

however after a short while, sip.js will send another 407, client send back ack and so on and so forth. looks like sip.js did not consume the ACK properly?

kelchy commented 6 years ago

found the problem. state machine does not support cluster mode. if i run in single instance, it works. this would be a scaling issue.