kirm / sip.js

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

Cannot read property 'host' of undefined #148

Closed ben-rowe closed 4 years ago

ben-rowe commented 4 years ago

Running the basic example make-call.js from the example folder throws this error.

sip.js version 0.06

Any ideas?

*******/sip.js:1403
          if(hop.host === hostname) {
                 ^

TypeError: Cannot read property 'host' of undefined
    at ************sip.js:1403:18
    at Object.send (/************sip.js:1409:11)

Many Thanks Ben

ben-rowe commented 4 years ago

Ignore this user error, URI was incorrect.