@babblevoice/babble-drachtio-callmanager 3.8.0 → 3.8.1

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
@@ -1973,6 +1973,16 @@ class call {
1973
1973
 
1974
1974
  if( options.early ) {
1975
1975
  this.state.early = true
1976
+
1977
+ /* The call is now progressing with early media. Cancel the ring (uac)
1978
+ timeout: a far end that delivers early media (e.g. a carrier sending
1979
+ 183 Session Progress) and answers only after the ring timeout would
1980
+ otherwise be torn down with a REQUEST_TIMEOUT (487) just before it
1981
+ answers. Once the dialog is established the non-early answer path
1982
+ clears this timer via #setdialog. */
1983
+ clearTimeout( this._timers.newuac )
1984
+ delete this._timers.newuac
1985
+
1976
1986
  this._em.emit( "call.early", this )
1977
1987
  callmanager.options.em.emit( "call.early", this )
1978
1988
  } else {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@babblevoice/babble-drachtio-callmanager",
3
- "version": "3.8.0",
3
+ "version": "3.8.1",
4
4
  "description": "Call processing to create a PBX",
5
5
  "main": "index.js",
6
6
  "scripts": {