Using the JsSIP library, upon "call"ing I get a ringing tone, and whatever is going on on the landline side of things. My dangerous assumption is that this is somehow related to early media that is connected up via the peer connection.
Using SIP.js I don't get the same "early media" - i.e. no ringing tone. Once the call is connected the audio works just fine.
I've stumbled across various pieces of information about this, i.e.:
- this pull request: https://github.com/onsip/SIP.js/pull/502
- this 'monkey patch': https://github.com/onsip/SIP.js/issues/211#issuecomment-132993517
Eric mentioned that "You need to do 100 rel and invite without sdp." - but to no avail.
Am I missing something - is there a particular kind of magic sauce of config that I have to use to get this to work?
I am quite keen to use SIP.js because of the pluggability of the authenticationFactory.
The other issue is that sometimes using the rel100 and invite without sdp options the call gets dropped from the Asterisk server - happened in this case. Not sure why :-(