@babblevoice/babble-drachtio-callmanager 3.7.18 → 3.7.19

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 +7 -0
  2. package/package.json +1 -1
package/lib/call.js CHANGED
@@ -3,6 +3,7 @@ const { v4: uuidv4 } = require( "uuid" )
3
3
  const events = require( "events" )
4
4
  const dns = require( "node:dns" )
5
5
 
6
+ // @ts-ignore
6
7
  const projectrtp = require( "@babblevoice/projectrtp" ).projectrtp
7
8
 
8
9
  const sdpgen = require( "./sdp.js" )
@@ -2973,6 +2974,12 @@ class call {
2973
2974
 
2974
2975
  this.hangup_cause = Object.assign( { "src": "wire" }, hangupcodes.ATTENDED_TRANSFER )
2975
2976
  b_1.hangup( hangupcodes.ATTENDED_TRANSFER )
2977
+
2978
+ a_1._em.emit( "call.updated", a_1 )
2979
+ callmanager.options.em.emit( "call.updated", a_1 )
2980
+
2981
+ c_1._em.emit( "call.updated", c_1 )
2982
+ callmanager.options.em.emit( "call.updated", c_1 )
2976
2983
  }
2977
2984
 
2978
2985
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@babblevoice/babble-drachtio-callmanager",
3
- "version": "3.7.18",
3
+ "version": "3.7.19",
4
4
  "description": "Call processing to create a PBX",
5
5
  "main": "index.js",
6
6
  "scripts": {