@babblevoice/babble-drachtio-callmanager 3.10.1 → 3.10.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/lib/call.js +10 -0
  2. package/package.json +1 -1
package/lib/call.js CHANGED
@@ -4294,6 +4294,16 @@ class call {
4294
4294
  newcall._onring()
4295
4295
  } else if( 183 === res.status ) {
4296
4296
  earlypromise = newcall._onearly()
4297
+ /* Early media: the far end is progressing (e.g. a carrier sending
4298
+ 183 Session Progress that answers only after the ring timeout
4299
+ would fire). _onearly clears the ring timer (_timers.newuac);
4300
+ also clear the settle watchdog so it doesn't tear the call down
4301
+ with a REQUEST_TIMEOUT before the (late) answer arrives. The SIP
4302
+ transaction layer remains the backstop if it never answers. */
4303
+ if( settlewatchdog ) {
4304
+ clearTimeout( settlewatchdog )
4305
+ settlewatchdog = undefined
4306
+ }
4297
4307
  }
4298
4308
 
4299
4309
  if( newcall.canceled ) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@babblevoice/babble-drachtio-callmanager",
3
- "version": "3.10.1",
3
+ "version": "3.10.2",
4
4
  "description": "Call processing to create a PBX",
5
5
  "main": "index.js",
6
6
  "scripts": {