@babblevoice/babble-drachtio-callmanager 2.2.2 → 2.2.3

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 +3 -1
  2. package/package.json +1 -1
package/lib/call.js CHANGED
@@ -2862,13 +2862,15 @@ class call {
2862
2862
  @private
2863
2863
  */
2864
2864
  c._req = req
2865
- c._req.on( "cancel", () => c._oncanceled.bind( c ) )
2865
+
2866
2866
  /**
2867
2867
  @member
2868
2868
  @private
2869
2869
  */
2870
2870
  c._res = res
2871
2871
 
2872
+ c._req.on( "cancel", () => c._oncanceled.bind( c ) )
2873
+
2872
2874
  await callstore.set( c )
2873
2875
  callmanager.options.em.emit( "call.new", c )
2874
2876
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@babblevoice/babble-drachtio-callmanager",
3
- "version": "2.2.2",
3
+ "version": "2.2.3",
4
4
  "description": "Call processing to create a PBX",
5
5
  "main": "index.js",
6
6
  "scripts": {